mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
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>
This commit is contained in:
parent
73f91d3e69
commit
6ff03751e4
1 changed files with 25 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue