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.scm30
1 files changed, 13 insertions, 17 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm
index 66f6828377..9166620f28 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -168,7 +168,6 @@ to access its data, so it can be used as a drop-in replacement.")
python-coverage
python-coveralls
python-hypothesis
- python-pyannotate
python-pytest
python-pytest-cov
python-setuptools
@@ -394,8 +393,7 @@ library.")
(build-system pyproject-build-system)
(propagated-inputs (list python-importlib-metadata))
(native-inputs
- (list python-pyannotate
- python-pytest
+ (list python-pytest
python-setuptools-scm
python-setuptools
python-wheel))
@@ -561,29 +559,26 @@ Python.")
(define-public python-lzo
(package
(name "python-lzo")
- (version "1.14")
+ (version "1.15")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-lzo" version))
(sha256
- (base32 "0315nq6r39n51n8qqamb7xv0ib0qrh76q7g3a1977172mbndijw3"))))
- (build-system python-build-system)
+ (base32 "0jbv6853p8flk65ks0nw37f6f5v0ryi6nhppv5fm3863ql0alym5"))))
+ (build-system pyproject-build-system)
(arguments
(list
- #:test-target "check"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-setuppy
- (lambda _
+ (lambda* (#:key inputs #:allow-other-keys)
(substitute* "setup.py"
(("include_dirs.append\\(.*\\)")
- (string-append "include_dirs.append('"
- #$(this-package-input "lzo")
- "/include/lzo"
- "')"))))))))
- (inputs
- (list lzo))
+ (format #f "include_dirs.append(~s)"
+ (search-input-directory inputs "include/lzo")))))))))
+ (native-inputs (list python-pytest python-setuptools python-wheel))
+ (inputs (list lzo))
(home-page "https://github.com/jd-boyd/python-lzo")
(synopsis "Python bindings for the LZO data compression library")
(description
@@ -639,9 +634,10 @@ the LZ4 frame format.")
(method url-fetch)
(uri (pypi-uri "lzstring" version))
(sha256
- (base32
- "18ly9pppy2yspxzw7k1b23wk77k7m44rz2g0271bqgqrk3jn3yhs"))))
- (build-system python-build-system)
+ (base32 "18ly9pppy2yspxzw7k1b23wk77k7m44rz2g0271bqgqrk3jn3yhs"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-setuptools python-wheel))
(propagated-inputs
(list python-future))
(home-page "https://github.com/gkovacs/lz-string-python")