summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm104
1 files changed, 48 insertions, 56 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0fd1276fa5..966693104a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3208,7 +3208,7 @@ configuration file.")
(define-public python-pytooling
(package
(name "python-pytooling")
- (version "8.5.0")
+ (version "8.7.0")
(source
(origin
(method git-fetch)
@@ -3217,7 +3217,7 @@ configuration file.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1r4c7wyvqhpxdkfw9akff4ki4azbvamzs9mkb61005wx4qr3a1rr"))))
+ (base32 "084zd009f280rhkry0vnzlrx21qv6djf3wda1l859z7iv592lwmq"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -3370,7 +3370,7 @@ point types:
(define-public python-glymur
(package
(name "python-glymur")
- (version "0.13.6")
+ (version "0.14.3")
(source
(origin
(method git-fetch) ; no tests data in PyPi package
@@ -3379,7 +3379,7 @@ point types:
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "06v6g0fwzmy2imhrvy0q4zrhrlrp24yhs098vi13r92ga63c72xl"))))
+ (base32 "0266gj8a2p8jkbgb34lgk8dwin7ib2g38vdh04b2p6yhqx8w3xg8"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -3410,15 +3410,14 @@ point types:
(list python-pytest
python-pytest-xdist
python-scikit-image
- python-setuptools
- python-wheel))
+ python-setuptools-next))
(inputs
(list openjpeg ; glymur/lib/openjp2.py
libtiff)) ; glymur/lib/tiff.py
(propagated-inputs
(list python-lxml
python-numpy
- python-packaging))
+ python-pillow ))
(home-page "https://github.com/quintusdias/glymur")
(synopsis "Python interface to OpenJPEG and LibTIFF")
(description
@@ -6522,44 +6521,41 @@ defined.")
(define-public python-extension-helpers
(package
(name "python-extension-helpers")
- (version "1.2.0")
+ (version "1.4.0")
(source
(origin
(method git-fetch) ; no tests in the PyPI tarball
(uri (git-reference
- (url "https://github.com/astropy/extension-helpers")
- (commit (string-append "v" version))))
+ (url "https://github.com/astropy/extension-helpers")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1cfzh3ijjp18as2qnmm1nnw6a3daqd7a2q17i0c6h1wq2jbawxxa"))))
+ (base32 "0ljvfv9p7jay4j31awx1h714xhyn5hbfgyhn4nm71xrkz9la113j"))))
(build-system pyproject-build-system)
(arguments
(list
- ;; It tries to install it via pip: E ModuleNotFoundError: No module named
- ;; 'helpers_test_package_fd9cc3a9_11fa_4a1a_b80e_c5b043949604'
- #:test-flags #~(list "-k" "not test_only_pyproject and not test_no_setup_py")
+ #:test-flags
+ #~(list "--pyargs" "extension_helpers"
+ "-k" (string-join
+ ;; XXX: Tests try to check various compilation options and
+ ;; fail with some incomparability or trying to download
+ ;; missing modules.
+ (list "not test_only_pyproject"
+ "test_no_setup_py"
+ "test_limited_api")
+ " and not "))
#:phases
#~(modify-phases %standard-phases
;; LookupError: setuptools-scm was unable to detect version for
;; /tmp/guix-build-python-extension-helpers-1.2.0.drv-0/source.
(add-before 'build 'set-version
(lambda _
- (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
- (replace 'check
- (lambda* (#:key tests? test-flags #:allow-other-keys)
- (when tests?
- (setenv "HOME" "/tmp")
- (with-directory-excursion "/tmp"
- (apply invoke "pytest" "-v" test-flags))))))))
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
(native-inputs
(list python-pytest
- python-pytest-astropy
- python-pytest-cov
- python-setuptools-scm
- python-tomli
- python-setuptools
- python-wheel
- python-pip))
+ python-setuptools-scm))
+ (propagated-inputs
+ (list python-setuptools-next))
(home-page "https://extension-helpers.readthedocs.io")
(synopsis "Astropy ecosystem utilities for building and installing packages")
(description
@@ -10746,29 +10742,8 @@ methods is arguably lacking. This package provides drop-in wrappers
objects.")
(license license:expat)))
-(define-public python-colormath
- (package
- (name "python-colormath")
- (version "3.0.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "colormath" version))
- (sha256
- (base32
- "05qjycgxp3p2f9n6lmic68sxmsyvgnnlyl4z9w7dl9s56jphaiix"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-networkx python-numpy))
- (home-page "https://github.com/gtaylor/python-colormath")
- (synopsis "Color math and conversion library")
- (description
- "This is a Python library for color math and conversions.")
- (license license:bsd-3)))
-
(define-public python-colormath2
(package
- (inherit python-colormath)
(name "python-colormath2")
(version "3.0.3")
(source
@@ -10779,8 +10754,12 @@ objects.")
(base32 "1yigkhvjgbl9nrlijn4iwcs6k7i5y58drix1331cd1hb9wzn35z7"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-networkx python-numpy))
- (native-inputs (list python-setuptools python-wheel))
- (home-page "https://github.com/bkmgit/python-colormath2")))
+ (native-inputs (list python-pytest python-setuptools-next))
+ (home-page "https://github.com/bkmgit/python-colormath2")
+ (synopsis "Color math and conversion library")
+ (description
+ "This is a Python library for color math and conversions.")
+ (license license:bsd-3)))
(define-public python-spectra
(package
@@ -32664,7 +32643,17 @@ an upload option to send your work back to the platform.")
(sha256
(base32
"1x9myq3rlbw6wh946ncch8px7wyabhzacy2fjji13nmvrivs50vx"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? test-flags #:allow-other-keys)
+ (when tests?
+ (apply invoke "python" "-m" "unittest" test-flags)))))))
+ (native-inputs
+ (list python-setuptools-next))
(home-page "https://github.com/ppannuto/python-titlecase")
(synopsis "Capitalize strings similar to book titles")
(description
@@ -39263,8 +39252,10 @@ Communication.")
(sha256
(base32
"0xfn8d1by2w7pjiji887qljk1avn4fylbnz1mj28gysm5g0zvy43"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments '(#:tests? #f)) ;there are no tests
+ (native-inputs
+ (list python-setuptools-next))
(propagated-inputs (list python-colorama python-termcolor))
(home-page "https://github.com/AbhijithAJ/clrprint")
(synopsis "Print colorful output in the terminal")
@@ -39310,9 +39301,10 @@ files.")
(sha256
(base32
"1ckn8n37i7b65h0i385ycn0w8sg9na0iabz0kmhxxc1wj0hddkw9"))))
- (build-system python-build-system)
- (native-inputs (list python-wheel))
- (home-page "https://github.com/hmillerbakewell/musical-scale")
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ;no tests
+ (native-inputs (list python-setuptools-next))
+ (home-page "https://github.com/hmillerbakewell/musical-scales")
(synopsis "Retrieve a scale based on a given mode and starting note")
(description
"Retrieve a scale based on a given mode and starting note.