summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-08-09 17:45:35 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:00 +0100
commitf38912514e7ee643e7e90b0841f55f944d610dfa (patch)
treeab0fc388e24e9b0b66d0c1214ccdf518107210d3
parent912920236a6dad69b77772057cd65626284ce658 (diff)
gnu: python-entrypoints: Update to 0.4.
* gnu/packages/python-xyz.scm (python-entrypoints): Update to 0.4. [build-system]: Use pyproject. [arguments] <tests?>: Enable them. <phases>: Remove 'create-setup.py. [native-inputs]: Add python-flit-core and python-pytest. Change-Id: I676bd2c637a0f26f9b0c1f0143536f59b687bfc6
-rw-r--r--gnu/packages/python-xyz.scm24
1 files changed, 6 insertions, 18 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fe1c407c0e..8f93f8302c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19197,29 +19197,17 @@ systems, as a command line tool, and as a Python library.")
(define-public python-entrypoints
(package
(name "python-entrypoints")
- (version "0.3")
+ (version "0.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "entrypoints" version))
(sha256
- (base32
- "0lc4si3xb7hza424414rdqdc3vng3kcrph8jbvjqb32spqddf3f7"))))
- (build-system python-build-system)
- ;; The package does not come with a setup.py file, so we have to generate
- ;; one ourselves.
- (arguments
- `(#:tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'create-setup.py
- (lambda _
- (call-with-output-file "setup.py"
- (lambda (port)
- (format port "\
-from setuptools import setup
-setup(name='entrypoints', version='~a', py_modules=['entrypoints'])
-" ,version))))))))
+ (base32 "1m5crkagmbvlgdwqv7nan64pbcjvy0c6idb7rpmik2i1m7dfs1mp"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-flit-core
+ python-pytest))
(home-page "https://github.com/takluyver/entrypoints")
(synopsis "Discover and load entry points from installed Python packages")
(description "Entry points are a way for Python packages to advertise