[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/09: gnu: Add poetry.
From: |
guix-commits |
Subject: |
09/09: gnu: Add poetry. |
Date: |
Tue, 29 Oct 2019 03:40:22 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit 617bb67b4eb2a2de7a440c77853de85e9c4c09eb
Author: Tanguy Le Carrour <address@hidden>
Date: Mon Oct 28 15:41:37 2019 +0100
gnu: Add poetry.
* gnu/packages/python-xyz.scm (poetry): New public variable.
Signed-off-by: Mathieu Othacehe <address@hidden>
---
gnu/packages/python-xyz.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0927601..98e2d7e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10757,6 +10757,53 @@ powerful API: thread-safety; decorator syntax; support
for memcached, redis,
database, file, dict stores. Cachy supports python versions 2.7+ and 3.2+.")
(license license:expat)))
+(define-public poetry
+ (package
+ (name "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 "Poetry is a tool for dependency management and packaging
+in Python. It allows you to declare the libraries your project depends on and
+it will manage (install/update) them for you.")
+ (license license:expat)))
+
(define-public python-lazy-object-proxy
(package
(name "python-lazy-object-proxy")
- branch master updated (36f5f23 -> 617bb67), guix-commits, 2019/10/29
- 09/09: gnu: Add poetry.,
guix-commits <=
- 08/09: gnu: python-cachecontrol: Update to 0.12.5., guix-commits, 2019/10/29
- 07/09: gnu: Add python-cachy., guix-commits, 2019/10/29
- 06/09: gnu: Add python-msgpack-python., guix-commits, 2019/10/29
- 05/09: gnu: Add python-clikit., guix-commits, 2019/10/29
- 04/09: gnu: Add python-memcached., guix-commits, 2019/10/29
- 03/09: gnu: Add python-shellingham., guix-commits, 2019/10/29
- 01/09: gnu: python-cleo: Update to 0.6.8., guix-commits, 2019/10/29
- 02/09: gnu: Add python-tomlkit., guix-commits, 2019/10/29