mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-glymur: Update to 0.13.6.
* gnu/packages/python-xyz.scm (python-glymur): Update to 0.13.6. [phases]: Remove 'disable-failing-tests and move the logic to <#:tests-flags>. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: Ied56e22d938b7cc61969892b680c9e72d1cfce1e
This commit is contained in:
parent
1e2534fe39
commit
6ec8ad1551
1 changed files with 10 additions and 11 deletions
|
@ -2279,7 +2279,7 @@ Python library and command line interface.")
|
||||||
(define-public python-glymur
|
(define-public python-glymur
|
||||||
(package
|
(package
|
||||||
(name "python-glymur")
|
(name "python-glymur")
|
||||||
(version "0.13.5")
|
(version "0.13.6")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch) ; no tests data in PyPi package
|
(method git-fetch) ; no tests data in PyPi package
|
||||||
|
@ -2288,12 +2288,15 @@ Python library and command line interface.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1n2n7bj5w29w5y2gcl4hxhqf85n0j2crkln9i0mprq3xw8finxpx"))))
|
(base32 "06v6g0fwzmy2imhrvy0q4zrhrlrp24yhs098vi13r92ga63c72xl"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:test-flags
|
#:test-flags
|
||||||
#~(list "-n" "auto")
|
#~(list "--numprocesses" "auto"
|
||||||
|
;; Failing test due to inability of ctypes.util.find_library()
|
||||||
|
;; to determine library path, which is patched above.
|
||||||
|
"--ignore=tests/test_config.py")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-library-locations
|
(add-after 'unpack 'patch-library-locations
|
||||||
|
@ -2311,17 +2314,13 @@ Python library and command line interface.")
|
||||||
(search-input-file inputs "/lib/libtiff.so") "\"\n"
|
(search-input-file inputs "/lib/libtiff.so") "\"\n"
|
||||||
" elif libname == \"c\":\n"
|
" elif libname == \"c\":\n"
|
||||||
" path = \""
|
" path = \""
|
||||||
(search-input-file inputs "/lib/libc.so.6") "\"\n")))))
|
(search-input-file inputs "/lib/libc.so.6") "\"\n"))))))))
|
||||||
(add-before 'check 'disable-failing-tests
|
|
||||||
(lambda _
|
|
||||||
;; Failing test due to inability of
|
|
||||||
;; ctypes.util.find_library() to determine library path,
|
|
||||||
;; which is patched above.
|
|
||||||
(delete-file "tests/test_config.py"))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest
|
(list python-pytest
|
||||||
python-pytest-xdist
|
python-pytest-xdist
|
||||||
python-scikit-image))
|
python-scikit-image
|
||||||
|
python-setuptools
|
||||||
|
python-wheel))
|
||||||
(inputs
|
(inputs
|
||||||
(list openjpeg ; glymur/lib/openjp2.py
|
(list openjpeg ; glymur/lib/openjp2.py
|
||||||
libtiff)) ; glymur/lib/tiff.py
|
libtiff)) ; glymur/lib/tiff.py
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue