mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
912920236a
commit
f38912514e
1 changed files with 6 additions and 18 deletions
|
@ -19197,29 +19197,17 @@ systems, as a command line tool, and as a Python library.")
|
||||||
(define-public python-entrypoints
|
(define-public python-entrypoints
|
||||||
(package
|
(package
|
||||||
(name "python-entrypoints")
|
(name "python-entrypoints")
|
||||||
(version "0.3")
|
(version "0.4")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "entrypoints" version))
|
(uri (pypi-uri "entrypoints" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1m5crkagmbvlgdwqv7nan64pbcjvy0c6idb7rpmik2i1m7dfs1mp"))))
|
||||||
"0lc4si3xb7hza424414rdqdc3vng3kcrph8jbvjqb32spqddf3f7"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
(native-inputs
|
||||||
;; The package does not come with a setup.py file, so we have to generate
|
(list python-flit-core
|
||||||
;; one ourselves.
|
python-pytest))
|
||||||
(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))))))))
|
|
||||||
(home-page "https://github.com/takluyver/entrypoints")
|
(home-page "https://github.com/takluyver/entrypoints")
|
||||||
(synopsis "Discover and load entry points from installed Python packages")
|
(synopsis "Discover and load entry points from installed Python packages")
|
||||||
(description "Entry points are a way for Python packages to advertise
|
(description "Entry points are a way for Python packages to advertise
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue