guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/12: gnu: python-xyzservices: Simplify package.


From: guix-commits
Subject: 06/12: gnu: python-xyzservices: Simplify package.
Date: Sun, 18 Feb 2024 07:23:16 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 1a2c374c2cca5694ec2a38f01e33b9bce7218d44
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Feb 17 22:13:24 2024 +0000

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]