summaryrefslogtreecommitdiff
path: root/gnu/packages/python-compression.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-compression.scm')
-rw-r--r--gnu/packages/python-compression.scm23
1 files changed, 15 insertions, 8 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm
index 0f2bc78c12..70abc7bad1 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -211,31 +211,38 @@ install: libbitshuffle.so
(define-public python-zipp
(package
(name "python-zipp")
- (version "0.5.1")
+ (version "1.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "zipp" version))
(sha256
(base32
- "1hsv4zwy1pwnbrr63wjjkpwrmnk36ngbkkqw01bj5hcwh1z3m56a"))))
+ "0v3qayhqv7vyzydpydwcp51bqciw8p2ajddw68x5k8zppc0vx3yk"))))
(build-system python-build-system)
(propagated-inputs
- `(("python-contextlib2" ,python-contextlib2)
- ("python-pathlib2" ,python-pathlib2)
- ("python-rst.linker" ,python-rst.linker)))
+ `(("python-more-itertools" ,python-more-itertools)))
(native-inputs
- `(("python-setuptools-scm" ,python-setuptools-scm)
- ("python-sphinx" ,python-sphinx)
- ("python-unittest2" ,python-unittest2)))
+ `(("python-setuptools-scm" ,python-setuptools-scm)))
(home-page "https://github.com/jaraco/zipp")
(synopsis
"Backport of pathlib-compatible object wrapper for zip files")
(description
"This package provides a @code{pathlib}-compatible @code{Zipfile} object
wrapper. It provides a backport of the @code{Path} object.")
+ (properties `((python2-variant . ,(delay python2-zipp))))
(license license:expat)))
+(define-public python2-zipp
+ (let ((base (package-with-python2 (strip-python2-variant python-zipp))))
+ (package/inherit
+ base
+ (native-inputs
+ `(("python-contextlib2" ,python2-contextlib2)
+ ("python-pathlib2" ,python2-pathlib2)
+ ("python-unittest2" ,python2-unittest2)
+ ,@(package-native-inputs base))))))
+
(define-public python-zstandard
(package
(name "python-zstandard")