summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-10 01:13:45 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-11 21:34:58 +0000
commit8e0282ffb1a0937fd92c8ffd31d665c700069585 (patch)
treed7e2572cf424863eef6de9fc6b5eadc4722fc85f /gnu/packages/python-xyz.scm
parent3273ce35e764db38d2c646ace377e69c15aa1f9c (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm31
1 files changed, 21 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8d1e03a1385..b9dd3600f0b 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