diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-30 15:34:09 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-04 21:49:54 +0000 |
| commit | c8c9421c647378a285d9dda876e8774cbb283540 (patch) | |
| tree | c86d2f080a941d8576f5a2cdbe5a2cc60fac4de3 /gnu/packages/python-web.scm | |
| parent | 305d8c4489ce766ac3c2db9886f0564937e79a97 (diff) | |
gnu: python-purl: Update to 1.6.
* gnu/packages/python-web.scm (python-purl): Update to 1.6.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Set them.
[native-inputs]: Add python-pytest, python-setuptools.
Change-Id: I5940a31514a0d573146990ef00b9b79b56e6529b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 12061ac00b7..bae930d1124 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6397,22 +6397,25 @@ WebSocket usage in Python programs.") (define-public python-purl (package (name "python-purl") - (version "1.5") + (version "1.6") (source - (origin - (method url-fetch) - (uri (pypi-uri "purl" version)) - (sha256 - (base32 - "15ibnz1xrh5msmn04j0nr00sz4n7jwx6cwd6zlx99kkz3vpin53m")))) - (build-system python-build-system) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/codeinthehole/purl") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "01zngf0s0qfsrsk0skn57frbzyscwv8467pfjk6hxdfgdx2wkg95")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags #~(list "--pyargs" "./tests"))) + (native-inputs (list python-pytest python-setuptools)) (propagated-inputs (list python-six)) - (home-page - "https://github.com/codeinthehole/purl") - (synopsis - "Python package for URL manipulation") - (description - "Purl is a Python package for handling URLs.") + (home-page "https://github.com/codeinthehole/purl") + (synopsis "Python package for URL manipulation") + (description "Purl is a Python package for handling URLs.") (license license:expat))) (define-public python-apiron |
