gnu: python-txacme: Update to 0.9.3-0.ac18f92, fix build.

* gnu/packages/python-xyz.scm (python-txacme): Update to 0.9.3-0.ac18f92.
[source]: Switch to git-fetch and use the latest commit from trunk
branch.
[arguments] <test-backend>: Use 'custom.
<test-flags>: Provide option to run tests with twisted.
[native-inputs]: Remove python-fixtures, python-hypothesis, python-mock,
python-service-identity, python-testrepository, python-testscenarios,
and python-testtools; add python-setuptools.

Change-Id: Ifd7feb33bbca051e61f9eddf7b6e1a5026ec5568
This commit is contained in:
Sharlatan Hellseher 2025-09-23 09:59:32 +01:00
parent ba549e727b
commit 9c86a5c9dd
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -33524,16 +33524,30 @@ with the Twisted web framework.")
(license license:expat))))
(define-public python-txacme
;; 0.9.3 tag was placed in 2020 and there a lot of changes providing
;; compatibility wit twisted, use the latest commit from trunk branch.
;;
;;See: <https://github.com/twisted/txacme/issues/165>.
(let ((commit "ac18f92f6dde971a6b38f2ecfae44665815db583")
(revision "0"))
(package
(name "python-txacme")
(version "0.9.2")
(version (git-version "0.9.3" revision commit))
(source
(origin
(method url-fetch)
(uri (pypi-uri "txacme" version))
(method git-fetch) ;no fresh release in PyPI
(uri (git-reference
(url "https://github.com/twisted/txacme")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1cplx4llq7i508w6fgwjdv9di7rsz9k9irfmzdfbiz6q6a0ykf1d"))))
(build-system python-build-system)
(base32 "0mgdfxldv8qflbn75ywslbarnd4i3l7c4krs4aibl2dpryclsjzs"))))
(build-system pyproject-build-system)
(arguments
(list #:test-backend #~'custom
#:test-flags #~(list "-m" "twisted.trial" "txacme")))
(native-inputs
(list python-setuptools))
(propagated-inputs
(list python-acme
python-attrs
@ -33543,14 +33557,6 @@ with the Twisted web framework.")
python-treq
python-twisted
python-txsni))
(native-inputs
(list python-fixtures
python-hypothesis
python-mock
python-service-identity
python-testrepository
python-testscenarios
python-testtools))
(home-page "https://github.com/twisted/txacme")
(synopsis "Twisted implexmentation of the ACME protocol")
(description
@ -33561,7 +33567,7 @@ Certificate Authority.
txacme is an implementation of the protocol for Twisted, the event-driven
networking engine for Python.")
(license license:expat)))
(license license:expat))))
(define-public python-pysaml2
(package