From 4b6e05d1fdd886133c982247f616115ef401e38c Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Sat, 12 Jun 2021 06:18:50 +0800 Subject: python-twisted: Update to 21.2.0, redo patches Signed-off-by: Jeffery To --- lang/python/python-twisted/Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'lang/python/python-twisted/Makefile') 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 -- cgit