From: Stephen Paul Weber <singpolyma@singpolyma.net>
To: 51675@debbugs.gnu.org
Cc: Stephen Paul Weber <singpolyma@singpolyma.net>
Subject: [bug#51675] [PATCH v2 2/5] gnu: python-twisted: Update to 21.7.0
Date: Sat, 13 Nov 2021 20:50:28 -0500 [thread overview]
Message-ID: <20211114015031.11010-2-singpolyma@singpolyma.net> (raw)
In-Reply-To: <20211114015031.11010-1-singpolyma@singpolyma.net>
* gnu/packages/python-xyz.scm (python-twisted): Update to 21.7.0.
[propagated-inputs]: Add python-typing-extensions, python-attrs, and
python-service-identity.
[source]: No longer need to manually specify ".tar.bz2".
[arguments]: New build phase to add back the _PY3 compat variable, used by some
libraries even though it is a private symbol.
---
gnu/packages/python-xyz.scm | 27 ++++++++++++++++++---------
1 file changed, 18 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 639945c278..68d397d012 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15105,23 +15105,32 @@ format.")
(define-public python-twisted
(package
(name "python-twisted")
- (version "19.7.0")
+ (version "21.7.0")
(source (origin
(method url-fetch)
- (uri (pypi-uri "Twisted" version ".tar.bz2"))
+ (uri (pypi-uri "Twisted" version))
(sha256
(base32
- "17d3hnxv9qndagzz63mdpyk99xj63p9gq586vjn0rxk8cl197nym"))))
+ "01lh225d7lfnmfx4f4kxwl3963gjc9yg8jfkn1w769v34ia55mic"))))
(build-system python-build-system)
(arguments
- '(#:tests? #f)) ; FIXME: some tests fail
+ '(#:tests? #f ; FIXME: some tests fail
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'add-py3-var
+ (lambda _
+ (substitute* "src/twisted/python/compat.py"
+ (("_PY37PLUS = True")
+ "_PY37PLUS = True\n _PY3 = True")))))))
(propagated-inputs
- `(("python-zope-interface" ,python-zope-interface)
- ("python-pyhamcrest" ,python-pyhamcrest)
- ("python-incremental" ,python-incremental)
- ("python-hyperlink" ,python-hyperlink)
+ `(("python-attrs" ,python-attrs)
+ ("python-automat" ,python-automat)
("python-constantly" ,python-constantly)
- ("python-automat" ,python-automat)))
+ ("python-hyperlink" ,python-hyperlink)
+ ("python-incremental" ,python-incremental)
+ ("python-pyhamcrest" ,python-pyhamcrest)
+ ("python-service-identity" ,python-service-identity)
+ ("python-typing-extensions" ,python-typing-extensions)
+ ("python-zope-interface" ,python-zope-interface)))
(home-page "https://twistedmatrix.com/")
(synopsis "Asynchronous networking framework written in Python")
(description
--
2.30.2
next prev parent reply other threads:[~2021-11-14 1:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-08 2:42 [bug#51675] Add python-wokkel, Jabber/XMPP module for Twisted Stephen Paul Weber
2021-11-08 2:45 ` [bug#51675] [PATCH 1/5] gnu: python-incremental: Update to 21.3.0 Stephen Paul Weber
2021-11-08 2:45 ` [bug#51675] [PATCH 2/5] gnu: python-twisted: Update to 21.7.0 Stephen Paul Weber
2021-11-12 17:53 ` Vinicius Monego
2021-11-08 2:45 ` [bug#51675] [PATCH 3/5] gnu: Add python-pydoctor Stephen Paul Weber
2021-11-12 18:02 ` Vinicius Monego
2021-11-08 2:45 ` [bug#51675] [PATCH 4/5] gnu: Add python-towncrier Stephen Paul Weber
2021-11-12 18:06 ` Vinicius Monego
2021-11-08 2:45 ` [bug#51675] [PATCH 5/5] gnu: Add python-wokkel Stephen Paul Weber
2021-11-12 18:14 ` Vinicius Monego
2021-11-12 18:21 ` [bug#51675] [PATCH 1/5] gnu: python-incremental: Update to 21.3.0 Vinicius Monego
2021-11-14 1:50 ` [bug#51675] [PATCH v2 " Stephen Paul Weber
2021-11-14 1:50 ` Stephen Paul Weber [this message]
2021-11-14 1:50 ` [bug#51675] [PATCH v2 3/5] gnu: Add python-pydoctor Stephen Paul Weber
2021-11-14 1:50 ` [bug#51675] [PATCH v2 4/5] gnu: Add python-towncrier Stephen Paul Weber
2021-11-14 1:50 ` [bug#51675] [PATCH v2 5/5] gnu: Add python-wokkel Stephen Paul Weber
2022-01-14 0:48 ` [bug#51675] Add python-wokkel, Jabber/XMPP module for Twisted Stephen Paul Weber
2022-04-25 1:45 ` Vinicius Monego
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211114015031.11010-2-singpolyma@singpolyma.net \
--to=singpolyma@singpolyma.net \
--cc=51675@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).