diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-22 12:10:20 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-22 21:33:51 +0100 |
commit | 7ad53f737a56ec34a97e753da23491fab8b34662 (patch) | |
tree | e5882593494010b791bba79224d7805fb4eb61d8 | |
parent | e7ed7acf7cbcb4ca7523daf5fa9f213e1bb49a62 (diff) | |
download | guix-7ad53f737a56ec34a97e753da23491fab8b34662.tar.gz guix-7ad53f737a56ec34a97e753da23491fab8b34662.zip |
gnu: python-invoke: Update to 2.2.0.
* gnu/packages/python-xyz.scm (python-invoke): Update to 2.2.0.
[arguments] <phases>: Remove 'delete-python2-code as "vendor/yaml2" no
longer exists.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: Ia2ddbbae377aeac1273fdb64cf6296d70d644ecd
-rw-r--r-- | gnu/packages/python-xyz.scm | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7c5f0e2102..0efb835cef 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26171,29 +26171,33 @@ manipulation and interaction with formal grammars.") (define-public python-invoke (package (name "python-invoke") - (version "1.6.0") + (version "2.2.0") (source (origin (method url-fetch) (uri (pypi-uri "invoke" version)) (sha256 - (base32 "1lsql9daabfr31c7syva5myc5bka45k57ygs9fliv63qrwp1wk9p")))) - (build-system python-build-system) + (base32 "1mbbixban0238bwkadgynw60n0jrq1ja5wl4zv3mka7i388bnv7f")))) + ;; TODO: invoke/vendor contains: + ;; - fluidity -> https://github.com/nsi-iff/fluidity (14y old) + ;; - lexicon -> https://github.com/bitprophet/lexicon (2y old) + ;; - yaml -> https://github.com/yaml/pyyaml (2y old) + (build-system pyproject-build-system) (arguments (list ;; XXX: Requires many dependencies that are not yet in Guix. #:tests? #f #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'delete-python2-code - (lambda _ - (delete-file-recursively "invoke/vendor/yaml2"))) (add-after 'unpack 'fix-bash-path (lambda _ (let ((bash #$(this-package-input "bash-minimal"))) (substitute* "invoke/config.py" (("shell = \"/bin/bash\"") (string-append "shell = \"" bash "/bin/bash\""))))))))) + (native-inputs + (list python-setuptools + python-wheel)) (inputs (list bash-minimal)) (home-page "https://www.pyinvoke.org/") |