guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 8e0282ffb1a0937fd92c8ffd31d665c700069585
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Nov 10 01:13:45 2025 +0100

    gnu: python-fastentrypoints: Update to 0.12-0.a3a26f3.
    
    * gnu/packages/python-xyz.scm (python-fastentrypoints): Update to 
0.12-0.a3a26f3.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:tests?, #:test-backend, #:test-flags>: Set them.
    [native-inputs]: Add python-setuptools.
    [synopsis]: Improve style.
    
    Change-Id: I706cfdf597bb41faddd0cf3b577fee146c17a2da
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++----------
 1 file changed, 21 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8d1e03a138..b9dd3600f0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29400,19 +29400,30 @@ package are included automatically.")
 (define-public python-fastentrypoints
   (package
     (name "python-fastentrypoints")
-    (version "0.12")
+    (home-page "https://github.com/ninjaaron/fast-entry_points";)
+    (properties '((commit . "a3a26f320c7ae2191fde71b79d4f4bf325d162f3")
+                  (revision . "0")))
+    (version (git-version "0.12"
+                          (assoc-ref properties 'revision)
+                          (assoc-ref properties 'commit)))
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "fastentrypoints" version))
+       (method git-fetch)
+       (uri (git-reference
+              (url home-page)
+              (commit (assoc-ref properties 'commit))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "02s1j8i2dzbpbwgq2a3fiqwm3cnmhii2qzc0k42l0rdxd4a4ya7z"))))
-    (build-system python-build-system)
-    (home-page
-     "https://github.com/ninjaaron/fast-entry_points";)
-    (synopsis
-     "Makes entry_points specified in setup.py load more quickly")
+        (base32 "0d4xx9zz2xrdxgap8lbrc1mvslvdvddxk3s27zqv918iykkm70d0"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; XXX: Testing is non-standard and hardly configurable.
+      #:tests? #f
+      #:test-backend #~'custom
+      #:test-flags #~(list "test/runtest.py")))
+    (native-inputs (list python-setuptools))
+    (synopsis "Makes entry_points specified in setup.py load more quickly")
     (description
      "Using entry_points in your setup.py makes scripts that start really
 slowly because it imports pkg_resources.  This package allows such setup

Reply via email to