python-twisted: Update to 21.2.0, redo patches

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To
2021-06-12 06:18:50 +08:00
parent 8c0777e3bb
commit 4b6e05d1fd
3 changed files with 39 additions and 52 deletions

View File

@@ -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