diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-26 10:24:33 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-29 00:29:49 +0000 |
| commit | 6ff03751e4bd02ec1facf80aeaf0f666520e052f (patch) | |
| tree | e03adeb56185bcd825d7b32163b587008c9a2dba /gnu/packages/python-xyz.scm | |
| parent | 73f91d3e69640870d2ad146470fb056c13075e1e (diff) | |
gnu: python-rfc6555: Update to 0.1.0.
* gnu/packages/python-xyz.scm (python-rfc6555): Update to 0.1.0.
[build-system]: Switch to pyproject-build-system.
[arguments]: Replace <#:phases> by <#:test-flags>.
[native-inputs]: Add python-setuptools.
Change-Id: Id1244155bffb5996c4c275cb99266bc320948857
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 58 |
1 files changed, 25 insertions, 33 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index efa42e9e402..0ce85ba6678 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25445,39 +25445,31 @@ in pure Python.") ;; The latest commit contains fixes for building with both python3 and python2. (define-public python-rfc6555 - (let ((commit "1a181b432312731f6742a5eb558dae4761d32361") - (revision "1")) - (package - (name "python-rfc6555") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/sethmlarson/rfc6555") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1bxl17j9vs69cshcqnlwamr03hnykxqnwz3mdgi6x3s2k4q18npp")))) - (build-system python-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (if tests? - ;; Other tests require network access. - (invoke "pytest" "tests/test_ipv6.py") - #t)))))) - (native-inputs - (list python-pytest)) - (home-page "https://pypi.org/project/rfc6555/") - (synopsis "Python implementation of RFC 6555") - (description - "Python implementation of the Happy Eyeballs Algorithm described in RFC - 6555. Provided with a single file and dead-simple API to allow easy vendoring - and integration into other projects.") - (license license:asl2.0)))) + (package + (name "python-rfc6555") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sethmlarson/rfc6555") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0cynzrs3l6ywmkpcpx9m36604dav64sk3rk1s12hj49qqyx20v1f")))) + (build-system pyproject-build-system) + (arguments + (list + ;; Other tests require network access. + #:test-flags #~(list "tests/test_ipv6.py"))) + (native-inputs (list python-pytest python-setuptools)) + (home-page "https://pypi.org/project/rfc6555/") + (synopsis "Python implementation of RFC 6555") + (description + "Python implementation of the Happy Eyeballs Algorithm described in RFC +6555. Provided with a single file and dead-simple API to allow easy vendoring +and integration into other projects.") + (license license:asl2.0))) (define-public python-sacn (package |
