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:
Sharlatan Hellseher 2024-02-17 22:13:24 +00:00
parent e355848578
commit 1a2c374c2c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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")