mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: poetry: Update to 1.0.5.
* gnu/packages/python-xyz.scm (poetry): Update to 1.0.5. [propagated-inputs] Add python-clikit, python-importlib-metadata, python-keyring, and python-pexpect. Remove python-msgpack and python-glob2. [home-page] Update URL. [arguments] Remove 'patch-setup-py' phase, and adjust required versions of keyring, pyrsistent and importlib-metadata. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
c298118860
commit
97b1366d49
1 changed files with 15 additions and 11 deletions
|
@ -65,7 +65,7 @@
|
||||||
;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
|
;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com>
|
||||||
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
|
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
|
||||||
;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
|
;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
|
||||||
;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
|
;;; Copyright © 2019, 2020 Tanguy Le Carrour <tanguy@bioneland.org>
|
||||||
;;; Copyright © 2019 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
|
;;; Copyright © 2019 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
|
||||||
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
||||||
;;; Copyright © 2020 sirgazil <sirgazil@zoho.com>
|
;;; Copyright © 2020 sirgazil <sirgazil@zoho.com>
|
||||||
|
@ -11249,34 +11249,38 @@ database, file, dict stores. Cachy supports python versions 2.7+ and 3.2+.")
|
||||||
(define-public poetry
|
(define-public poetry
|
||||||
(package
|
(package
|
||||||
(name "poetry")
|
(name "poetry")
|
||||||
(version "0.12.17")
|
(version "1.0.5")
|
||||||
;; Poetry can only be built from source with poetry.
|
;; Poetry can only be built from source with Poetry.
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "poetry" version))
|
(uri (pypi-uri "poetry" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0gxwcd65qjmzqzppf53x51sic1rbcd9py6cdzx3aprppipimslvf"))))
|
"02h387k0xssvv78yy82pcpknpq4w5ym2in1zl8cg9r5wljl5w6cf"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;; Pypi does not have tests.
|
`(#:tests? #f ;; Pypi does not have tests.
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'build
|
(add-before 'build 'patch-setup-py
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Bug in poetry https://github.com/sdispater/poetry/issues/866.
|
(substitute* "setup.py"
|
||||||
(invoke "sed" "-i" "-e" "s/from distutils.core/from setuptools/"
|
;; poetry won't update version as 21.0.0 relies on python > 3.6
|
||||||
"setup.py")
|
(("keyring>=20.0.1,<21.0.0") "keyring>=21.0.0,<22.0.0")
|
||||||
|
(("pyrsistent>=0.14.2,<0.15.0") "pyrsistent>=0.14.2,<0.16.0")
|
||||||
|
(("importlib-metadata>=1.1.3,<1.2.0") "importlib-metadata>=1.1.3,<1.5.0"))
|
||||||
#t)))))
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-cachecontrol" ,python-cachecontrol)
|
`(("python-cachecontrol" ,python-cachecontrol)
|
||||||
("python-cachy" ,python-cachy)
|
("python-cachy" ,python-cachy)
|
||||||
("python-cleo" ,python-cleo)
|
("python-cleo" ,python-cleo)
|
||||||
("python-glob2" ,python-glob2)
|
("python-clikit" ,python-clikit)
|
||||||
("python-html5lib" ,python-html5lib)
|
("python-html5lib" ,python-html5lib)
|
||||||
|
("python-importlib-metadata" ,python-importlib-metadata) ;; python < 3.8
|
||||||
("python-jsonschema" ,python-jsonschema)
|
("python-jsonschema" ,python-jsonschema)
|
||||||
("python-msgpack" ,python-msgpack)
|
("python-keyring" ,python-keyring)
|
||||||
|
("python-pexpect" ,python-pexpect)
|
||||||
("python-pkginfo" ,python-pkginfo)
|
("python-pkginfo" ,python-pkginfo)
|
||||||
("python-pyparsing" ,python-pyparsing)
|
("python-pyparsing" ,python-pyparsing)
|
||||||
("python-pyrsistent" ,python-pyrsistent)
|
("python-pyrsistent" ,python-pyrsistent)
|
||||||
|
@ -11285,7 +11289,7 @@ database, file, dict stores. Cachy supports python versions 2.7+ and 3.2+.")
|
||||||
("python-shellingham" ,python-shellingham)
|
("python-shellingham" ,python-shellingham)
|
||||||
("python-tomlkit" ,python-tomlkit)
|
("python-tomlkit" ,python-tomlkit)
|
||||||
("python-virtualenv" ,python-virtualenv)))
|
("python-virtualenv" ,python-virtualenv)))
|
||||||
(home-page "https://poetry.eustace.io/")
|
(home-page "https://python-poetry.org")
|
||||||
(synopsis "Python dependency management and packaging made easy")
|
(synopsis "Python dependency management and packaging made easy")
|
||||||
(description "Poetry is a tool for dependency management and packaging
|
(description "Poetry is a tool for dependency management and packaging
|
||||||
in Python. It allows you to declare the libraries your project depends on and
|
in Python. It allows you to declare the libraries your project depends on and
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue