summaryrefslogtreecommitdiff
path: root/lang/python/python-twisted/Makefile
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2021-06-12 06:18:50 +0800
committerJeffery To <jeffery.to@gmail.com>2021-06-12 06:18:50 +0800
commit4b6e05d1fdd886133c982247f616115ef401e38c (patch)
tree3daa142068689b16a60da5833bbee02bc4e157f4 /lang/python/python-twisted/Makefile
parent8c0777e3bbb0c8c74a3490fc8221cd8ad0cf8348 (diff)
python-twisted: Update to 21.2.0, redo patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-twisted/Makefile')
-rw-r--r--lang/python/python-twisted/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/lang/python/python-twisted/Makefile b/lang/python/python-twisted/Makefile
index 935f34b36..b1bdb3ec2 100644
--- a/lang/python/python-twisted/Makefile
+++ b/lang/python/python-twisted/Makefile
@@ -8,12 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-twisted
-PKG_VERSION:=20.3.0
-PKG_RELEASE:=3
+PKG_VERSION:=21.2.0
+PKG_RELEASE:=1
PYPI_NAME:=Twisted
-PYPI_SOURCE_EXT:=tar.bz2
-PKG_HASH:=d72c55b5d56e176563b91d11952d13b01af8725c623e498db5507b6614fc1e10
+PKG_HASH:=77544a8945cf69b98d2946689bbe0c75de7d145cdf11f391dd487eae8fc95a12
PKG_BUILD_DEPENDS:=libtirpc
@@ -33,13 +32,14 @@ define Package/python3-twisted
TITLE:=Asynchronous networking framework
URL:=https://twistedmatrix.com/
DEPENDS:= \
- +python3-light \
+ +python3 \
+python3-attrs \
+python3-automat \
+python3-constantly \
+python3-incremental \
+python3-hyperlink \
- +python3-setuptools \
+ +python3-pkg-resources \
+ +python3-typing-extensions \
+python3-zope-interface
endef
@@ -49,6 +49,10 @@ protocols. It contains a web server, numerous chat clients, chat servers,
mail servers, and more.
endef
+define Build/Configure
+ $(SED) 's/^version = attr: twisted.__version__$$$$/version = $(PKG_VERSION)/' $(PKG_BUILD_DIR)/setup.cfg
+endef
+
define Py3Package/python3-twisted/filespec
+|$(PYTHON3_PKG_DIR)
-|$(PYTHON3_PKG_DIR)/twisted/conch/scripts/tkconch.py