[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62389] [PATCH 02/12] gnu: python-twisted: Update to 22.10.0.
From: |
conses |
Subject: |
[bug#62389] [PATCH 02/12] gnu: python-twisted: Update to 22.10.0. |
Date: |
Wed, 22 Mar 2023 18:30:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
* gnu/packages/python-xyz.scm (python-twisted): Update to 22.10.0.
[arguments]: Disable tests and add phases.
[inputs]: Add python's tk output as a dependency.
[native-inputs]: Add Python dependencies.
---
gnu/packages/python-xyz.scm | 31 +++++++++++++++++++------------
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e394341805..bba9c0126f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17337,30 +17337,37 @@ (define-public python-fastimport
(define-public python-twisted
(package
(name "python-twisted")
- (version "19.7.0")
+ (version "22.10.0")
(source (origin
(method url-fetch)
- (uri (pypi-uri "Twisted" version ".tar.bz2"))
+ (uri (pypi-uri "Twisted" version ".tar.gz"))
(sha256
(base32
- "17d3hnxv9qndagzz63mdpyk99xj63p9gq586vjn0rxk8cl197nym"))))
+ "0cad5n7h8nd0nyl865sn8l4ja0mkwbx9n41cnkklcpsgm50bvb1j"))))
(build-system python-build-system)
(arguments
- '(#:tests? #f ; FIXME: some tests fail
- #:phases
- (modify-phases %standard-phases
- ;; Remove scripts, because they depend on [conch]
- (add-after 'unpack 'remove-entrypoint
- (lambda _
- (substitute* "src/twisted/python/_setup.py"
- (("\".+ = twisted\\.conch\\.scripts\\..+\",") "")))))))
+ (list
+ #:tests? #f ; FIXME: some tests fail
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'adjust-for-older-attrs
+ (lambda _
+ (substitute* (find-files "." "\\.py$")
+ (("from attrs\\b")
+ "from attr")))))))
+ (inputs (list (list python "tk")))
+ (native-inputs (list python-wheel))
(propagated-inputs
(list python-zope-interface
python-pyhamcrest
python-incremental
python-hyperlink
python-constantly
- python-automat))
+ python-automat
+ python-typing-extensions
+ python-bcrypt
+ python-cryptography-next
+ python-pyasn1))
(home-page "https://twistedmatrix.com/")
(synopsis "Asynchronous networking framework written in Python")
(description
--
2.39.1
--
Best regards,
conses
- [bug#62389] [PATCH 00/12] gnu: synapse: Update to 1.67.0, conses, 2023/03/22
- [bug#62389] [PATCH 01/12] gnu: Add python-matrix-common., conses, 2023/03/22
- [bug#62389] [PATCH 02/12] gnu: python-twisted: Update to 22.10.0.,
conses <=
- [bug#62389] [PATCH 03/12] gnu: python-pyopenssl: Move to python-cryptography-next., conses, 2023/03/22
- [bug#62389] [PATCH 06/12] gnu: python-josepy: Move to python-cryptography-next., conses, 2023/03/22
- [bug#62389] [PATCH 05/12] gnu: python-treq: Update to 20.9.0., conses, 2023/03/22
- [bug#62389] [PATCH 04/12] gnu: python-urllib3: Move to python-cryptography-next., conses, 2023/03/22
- [bug#62389] [PATCH 07/12] gnu: python-secretstorage: Move to python-cryptography-next., conses, 2023/03/22
- [bug#62389] [PATCH 11/12] gnu: Add python-txredisapi., conses, 2023/03/22
- [bug#62389] [PATCH 10/12] gnu: python-incremental: Update to 21.3.0., conses, 2023/03/22
- [bug#62389] [PATCH 08/12] gnu: python-acme: Move to python-cryptography-next., conses, 2023/03/22
- [bug#62389] [PATCH 09/12] gnu: python-pysaml2: Move to python-cryptography-next., conses, 2023/03/22
- [bug#62389] [PATCH 12/12] gnu: synapse: Update to 1.67.0., conses, 2023/03/22