mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
gnu: python-xyzservices: Simplify package.
* gnu/packages/python-xyz.scm (python-xyzservices) [build-system]: Swap to pyproject-build-system. [arguments] <#:test-flags>: Skip tests requiring request module, as seen in project's GitHub Actions. <#:phases>: Use standard 'check phase. Change-Id: I9092e282bebc8539e9ceed5ec87559d64513a486
This commit is contained in:
parent
e355848578
commit
1a2c374c2c
1 changed files with 3 additions and 7 deletions
|
@ -28276,14 +28276,10 @@ (define-public python-xyzservices
|
|||
(uri (pypi-uri "xyzservices" version))
|
||||
(sha256
|
||||
(base32 "1paxv4i0dws85md7csv7pf80jl3xh792mx8rxnsrk61ks3ivbsyg"))))
|
||||
(build-system python-build-system)
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "-vv")))))))
|
||||
(list
|
||||
#:test-flags #~(list "-m" "not request")))
|
||||
(native-inputs
|
||||
(list python-pytest python-mercantile python-requests))
|
||||
(home-page "https://github.com/geopandas/xyzservices")
|
||||
|
|
Loading…
Reference in a new issue