gnu: python-apipkg: Update to 3.0.2.

* gnu/packages/python-xyz.scm (python-apipkg): Update to 3.0.2.
  [build-system]: Use pyproject.
  [native-inputs]: Remove python-pytest and python-setuptools-scm; add
  python-hatch-vcs and python-hatchling.

Change-Id: I87fe8543f29506b6a453984de6191b97503e97c5
This commit is contained in:
Sharlatan Hellseher 2025-07-14 16:27:33 +01:00
parent 8e8b222ab1
commit a36fa389f1
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -20288,21 +20288,23 @@ to your log entries.")
(define-public python-apipkg
(package
(name "python-apipkg")
(version "1.5")
(source (origin
(method url-fetch)
(uri (pypi-uri "apipkg" version))
(sha256
(base32
"1xhak74yj3lqflvpijg15rnkklrigvsp5q7s4as4h6a157d8q8ip"))))
(build-system python-build-system)
(version "3.0.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "apipkg" version))
(sha256
(base32 "03ay7j57mfh4sa8vh9qwid1ggwdc0lasyw3ycsmgv5r6z2j63an7"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f)) ;no tests in PyPI archvie
(native-inputs
(list python-pytest python-setuptools-scm))
(list python-hatch-vcs
python-hatchling))
(home-page "https://github.com/pytest-dev/apipkg")
(synopsis "Namespace control and lazy-import mechanism")
(description "With apipkg you can control the exported namespace of a Python
package and greatly reduce the number of imports for your users. It is a small
pure Python module that works on virtually all Python versions.")
(home-page "https://github.com/pytest-dev/apipkg")
(license license:expat)))
(define-public python-execnet