diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-21 01:18:32 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:43 +0100 |
| commit | 660440e4a90eaaf123977f820a1fdbb2ba78c76d (patch) | |
| tree | 492602a2a0217eff117b8d9bf4fd87f06deefb5f /gnu/packages/python-xyz.scm | |
| parent | 42adcbd8d541c0232956b6b011737638e599511c (diff) | |
gnu: python-serpent: Fix tests.
* gnu/packages/python-xyz.scm (python-serpent):
[source]: Switch to git-fetch.
[arguments]: Set <#:test-backend> and <#:test-flags>.
[native-inputs]: Remove python-wheel.
Change-Id: I2ca9aaaf98b0759b069bc72e0e1b08260fa6dc58
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 21d78262f4..2b4d211cee 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5131,13 +5131,18 @@ version identifier.") (version "1.41") (source (origin - (method url-fetch) - (uri (pypi-uri "serpent" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/irmen/Serpent") + (commit (string-append "serpent-" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "15bhxpihxvbphsvp4wyh2kwfz7xasmki9zwcsj3l6r66wdgh61q4")))) + (base32 "081bm13pdxp3rxis24j2mjka06fzi4kap51wmnf21q69fsikbza8")))) (build-system pyproject-build-system) + (arguments (list #:test-backend #~'unittest + #:test-flags #~(list "discover" "-s" "tests"))) (native-inputs - (list python-attrs python-pytz python-setuptools python-wheel)) + (list python-attrs python-pytz python-setuptools)) (home-page "https://github.com/irmen/Serpent") (synopsis "Serializer for literal Python expressions") (description |
