mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-owslib: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-owslib): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Enable them. <#:test-flags>: Disable problematic tests. <#:phases>: Restore 'sanity-check phase. Add phase 'cleanup-build-directory. [native-inputs]: Add python-dateutil, python-pyproj, python-pyyaml, python-pytest, python-pytest-cov, python-pytz, python-requests, python-setuptools, and python-wheel. Change-Id: I3707ca064a63ff24a4fcfd9d37ea4b7178491ce1 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
c1746bbf44
commit
fed8c888d7
1 changed files with 38 additions and 8 deletions
|
@ -32841,16 +32841,46 @@ your process.")
|
||||||
(version "0.19.2")
|
(version "0.19.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "OWSLib" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/geopython/OWSLib")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0v8vg0naa9rywvd31cpq65ljbdclpsrx09788v4xj7lg10np8nk0"))))
|
(base32 "0nl1j6wk2rly72zydzi86mdb7svl5mwfkdknmm2kw7clg5f8p9ix"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; TODO: package dependencies required for tests.
|
(list
|
||||||
'(#:tests? #f
|
#:test-flags
|
||||||
#:phases (modify-phases %standard-phases
|
#~(list
|
||||||
(delete 'sanity-check))))
|
;; XXX: Those tests require network access.
|
||||||
|
"-k" (string-join
|
||||||
|
(list "not test_ows_interfaces_wcs"
|
||||||
|
"test_wfs_110_remotemd_parse_all"
|
||||||
|
"test_wfs_110_remotemd_parse_single"
|
||||||
|
"test_wfs_200_remotemd_parse_all"
|
||||||
|
"test_wfs_200_remotemd_parse_single"
|
||||||
|
"test_wms_130_remotemd_parse_all"
|
||||||
|
"test_wms_130_remotemd_parse_single"
|
||||||
|
"test_wmts_example_informatievlaanderen")
|
||||||
|
" and not ")
|
||||||
|
;; XXX: Not collected properly.
|
||||||
|
"--ignore-glob=tests/doctests/*")
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-before 'check 'cleanup-build-directory
|
||||||
|
(lambda _
|
||||||
|
(delete-file-recursively "build"))))))
|
||||||
|
(native-inputs
|
||||||
|
(list python-dateutil
|
||||||
|
python-pyproj
|
||||||
|
python-pyyaml
|
||||||
|
python-pytest
|
||||||
|
python-pytest-cov
|
||||||
|
python-pytz
|
||||||
|
python-requests
|
||||||
|
python-setuptools
|
||||||
|
python-wheel))
|
||||||
(synopsis "Interface for Open Geospatial Consortium web service")
|
(synopsis "Interface for Open Geospatial Consortium web service")
|
||||||
(description
|
(description
|
||||||
"OWSLib is a Python package for client programming with Open Geospatial
|
"OWSLib is a Python package for client programming with Open Geospatial
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue