[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#37704] [PATCH 9/9] gnu: Add python-poetry.
From: |
Tanguy Le Carrour |
Subject: |
[bug#37704] [PATCH 9/9] gnu: Add python-poetry. |
Date: |
Fri, 11 Oct 2019 18:42:06 +0200 |
User-agent: |
NeoMutt/20180716 |
>From d05ec73fc4c59048fee4daebb765811cb879c353 Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <address@hidden>
Date: Wed, 9 Oct 2019 10:41:23 +0200
Subject: [PATCH 9/9] gnu: Add python-poetry.
---
gnu/packages/python-xyz.scm | 44 +++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5240f4d894..a277d39d83 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10640,6 +10640,50 @@ command line interfaces.")
"Cachy provides a simple yet effective caching library.")
(license license:expat)))
+(define-public python-poetry
+ (package
+ (name "python-poetry")
+ (version "0.12.17")
+ ;; Poetry can only be built from source with poetry.
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "poetry" version))
+ (sha256
+ (base32
+ "0gxwcd65qjmzqzppf53x51sic1rbcd9py6cdzx3aprppipimslvf"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ;; Pypi does not have tests.
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda _
+ ;; Bug in poetry https://github.com/sdispater/poetry/issues/866.
+ (invoke "sed" "-i" "-e" "s/from distutils.core/from setuptools/"
"setup.py")
+ #t)))))
+ (propagated-inputs
+ `(("python-cachecontrol" ,python-cachecontrol)
+ ("python-cachy" ,python-cachy)
+ ("python-cleo" ,python-cleo)
+ ("python-glob2" ,python-glob2)
+ ("python-html5lib" ,python-html5lib)
+ ("python-jsonschema" ,python-jsonschema)
+ ("python-msgpack" ,python-msgpack)
+ ("python-pathlib2" ,python-pathlib2)
+ ("python-pkginfo" ,python-pkginfo)
+ ("python-pyparsing" ,python-pyparsing)
+ ("python-pyrsistent" ,python-pyrsistent)
+ ("python-requests" ,python-requests)
+ ("python-requests-toolbelt" ,python-requests-toolbelt)
+ ("python-shellingham" ,python-shellingham)
+ ("python-tomlkit" ,python-tomlkit)
+ ("python-virtualenv" ,python-virtualenv)))
+ (home-page "https://poetry.eustace.io/")
+ (synopsis "Python dependency management and packaging made easy")
+ (description "Python dependency management and packaging made easy.")
+ (license license:expat)))
+
(define-public python-lazy-object-proxy
(package
(name "python-lazy-object-proxy")
--
2.23.0
- [bug#37704] [PATCH 0/9] gnu: Add python-poetry., Tanguy Le Carrour, 2019/10/11
- [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8., Tanguy Le Carrour, 2019/10/11
- [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit., Tanguy Le Carrour, 2019/10/11
- [bug#37704] [PATCH 3/9] gnu: Add python-shellingham., Tanguy Le Carrour, 2019/10/11
- [bug#37704] [PATCH 4/9] gnu: Add python-memcached., Tanguy Le Carrour, 2019/10/11
- [bug#37704] [PATCH 5/9] gnu: Add python-clikit., Tanguy Le Carrour, 2019/10/11
- [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python., Tanguy Le Carrour, 2019/10/11
- [bug#37704] [PATCH 7/9] gnu: Add python-cachy., Tanguy Le Carrour, 2019/10/11
- [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5., Tanguy Le Carrour, 2019/10/11
- [bug#37704] [PATCH 9/9] gnu: Add python-poetry.,
Tanguy Le Carrour <=
- [bug#37704] Updating commit messages, Tanguy Le Carrour, 2019/10/14
- [bug#37704] [PATCH 1/9] gnu: python-cleo: Update to 0.6.8., Tanguy Le Carrour, 2019/10/14
- [bug#37704] [PATCH 2/9] gnu: Add python-tomlkit., Tanguy Le Carrour, 2019/10/14
- [bug#37704] [PATCH 3/9] gnu: Add python-shellingham., Tanguy Le Carrour, 2019/10/14
- [bug#37704] [PATCH 4/9] gnu: Add python-memcached., Tanguy Le Carrour, 2019/10/14
- [bug#37704] [PATCH 6/9] gnu: Add python-msgpack-python., Tanguy Le Carrour, 2019/10/14
- [bug#37704] [PATCH 5/9] gnu: Add python-clikit., Tanguy Le Carrour, 2019/10/14
- [bug#37704] [PATCH 7/9] gnu: Add python-cachy., Tanguy Le Carrour, 2019/10/14
- [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5., Tanguy Le Carrour, 2019/10/14
- [bug#37704] [PATCH 9/9] gnu: Add python-poetry., Tanguy Le Carrour, 2019/10/14