diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-03 14:53:30 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-03 21:53:31 +0100 |
| commit | d0e88e8b1abe07a1acd2ca6c4cd9c182e2d4345d (patch) | |
| tree | 17ed4411decb943ca19cfbacf93136f5e6fa5b0c | |
| parent | 3304dc562f008bb799dc7454ec4471e8c6b4776c (diff) | |
gnu: python-logzero: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-logzero):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Remove them.
[native-inputs]: Add python-setuptools. Remove python-pytest-runner.
Change-Id: I9eb63f1791ccb45c5d9617db4a77eb0132b51e92
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/python-xyz.scm | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ffc5d22e51..900dc4a964 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2146,21 +2146,15 @@ responsible, low-boilerplate logging of method calls.") (version "1.7.0") (source (origin - (method url-fetch) - (uri (pypi-uri "logzero" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/metachris/logzero") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "10nh186vk6hpnpfycym44gja4fja0jyzw7q8dwimfd1rmv9xswvz")))) - (build-system python-build-system) - (native-inputs - (list python-pytest python-pytest-runner)) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "pytest"))))))) + (base32 "1i9c0kynyjws5c24ga0sbidyfww3w5fy98gs67xsyfz4nr7w84b3")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools)) (home-page "https://github.com/metachris/logzero") (synopsis "Robust and effective logging for Python") (description |
