diff options
author | Marius Bakke <mbakke@fastmail.com> | 2020-03-15 13:34:20 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2020-03-15 15:09:07 +0100 |
commit | e3da9b2e554cf283509c9dfbb89dbb9090c44f48 (patch) | |
tree | 346819b6624c9b0ede6531866ad946576b5b5844 | |
parent | 0731f943e354a7a62e0dee7d85f47503cab62a94 (diff) | |
download | guix-e3da9b2e554cf283509c9dfbb89dbb9090c44f48.tar.gz guix-e3da9b2e554cf283509c9dfbb89dbb9090c44f48.zip |
gnu: Update python-natsort to 7.0.1, python2-natsort to 6.2.1.
* gnu/packages/python-xyz.scm (python-natsort): Update to 7.0.1.
(python2-natsort): Update to 6.2.1.
-rw-r--r-- | gnu/packages/python-xyz.scm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 461f574c74..da7bbdcf77 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11621,13 +11621,13 @@ Python to manipulate OpenDocument 1.2 files.") (define-public python-natsort (package (name "python-natsort") - (version "5.4.1") + (version "7.0.1") (source (origin (method url-fetch) (uri (pypi-uri "natsort" version)) (sha256 (base32 - "0i732amg6yzkx4g4c9j09jmqq39q377x9cl2nbkm5hax2c2v0wxf")))) + "1ksqfai72dbcfbwx43pxl658j59mx2rvqypjy1fk0ax2qd6lccx6")))) (build-system python-build-system) (arguments `(#:modules ((guix build utils) @@ -11672,9 +11672,17 @@ command @command{natsort} that exposes this functionality in the command line.") (license license:expat) (properties `((python2-variant . ,(delay python2-natsort)))))) +;; Natsort 6.x are the last versions with support for Python 2. (define-public python2-natsort (let ((base (package-with-python2 (strip-python2-variant python-natsort)))) (package (inherit base) + (version "6.2.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "natsort" version)) + (sha256 + (base32 + "1mc9hbh6fv76xyz13frm7dgi05cf74f9j5wvcyjiy5234gylz565")))) (native-inputs `(("python2-pathlib" ,python2-pathlib) ,@(package-native-inputs base)))))) |