guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 0b136925b61c96631f77b2acabe68f9fa82ad65b
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Nov 8 15:08:40 2025 +0100

    gnu: python-interlap: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-interlap):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:test-backend, #:test-flags>: Set them.
    [native-inputs]: Add python-setuptools.
    [description]: Improve style.
    
    Change-Id: I652d4793f240ae1b628a2cc9808841c1b6c8fcd4
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8edccf3574..f157ac34d4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28994,16 +28994,25 @@ converters and more, those based on the library 
itself.")
   (package
     (name "python-interlap")
     (version "0.2.7")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "interlap" version))
-              (sha256
-               (base32
-                "1jbfh00bkrf0i5psa6n75rlgmqp5389xixa9j29w8rxhah6g7r1i"))))
-    (build-system python-build-system)
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/brentp/interlap";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0kmw72ilhsfx7piikl92b1s0rnax49qc7idjxsbwhvpklyjiylfm"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-backend #~'custom
+      #:test-flags #~(list "interlap.py")))
+    (native-inputs (list python-setuptools))
     (home-page "https://brentp.github.io/interlap";)
     (synopsis "Fast, simple interval overlap testing")
-    (description "InterLap does fast interval overlap testing with a simple 
Python data
+    (description
+     "InterLap does fast interval overlap testing with a simple Python data
 structure.")
     (license license:expat)))
 

Reply via email to