From 1a2c374c2cca5694ec2a38f01e33b9bce7218d44 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 17 Feb 2024 22:13:24 +0000 Subject: [PATCH] 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 --- gnu/packages/python-xyz.scm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c83442c906..d93bbfe6ea 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28276,14 +28276,10 @@ translating between quadkey and tile coordinates.") (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")