summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-23 09:59:32 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:57 +0100
commit8f54f8f003502472d6ee3365d0aaa28eed9f7373 (patch)
treeac987531a274d6e7fda447c6f8287051d45db608 /gnu/packages/python-xyz.scm
parent3de27678f761afcb6b5b28e432491a2a9266eb76 (diff)
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm70
1 files changed, 38 insertions, 32 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8e0704eadd..73488f2fe4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -33500,44 +33500,50 @@ with the Twisted web framework.")
(license license:expat))))
(define-public python-txacme
- (package
- (name "python-txacme")
- (version "0.9.2")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "txacme" version))
- (sha256
- (base32 "1cplx4llq7i508w6fgwjdv9di7rsz9k9irfmzdfbiz6q6a0ykf1d"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-acme
- python-attrs
- python-eliot
- python-josepy
- python-pem
- 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
- "ACME is Automatic Certificate Management Environment, a protocol that
+ ;; 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 (git-version "0.9.3" revision commit))
+ (source
+ (origin
+ (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 "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
+ python-eliot
+ python-josepy
+ python-pem
+ python-treq
+ python-twisted
+ python-txsni))
+ (home-page "https://github.com/twisted/txacme")
+ (synopsis "Twisted implexmentation of the ACME protocol")
+ (description
+ "ACME is Automatic Certificate Management Environment, a protocol that
allows clients and certificate authorities to automate verification and
certificate issuance. The ACME protocol is used by the free Let's Encrypt
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