twisted: Update to 18.9.0
authorRosen Penev <redacted>
Fri, 16 Nov 2018 02:52:13 +0000 (18:52 -0800)
committerRosen Penev <redacted>
Sat, 17 Nov 2018 18:53:06 +0000 (10:53 -0800)
Signed-off-by: Rosen Penev <redacted>
lang/python/twisted/Makefile
lang/python/twisted/patches/001-omit-tkconch.patch
lang/python/twisted/patches/002-omit-tests.patch

index 5df2f662f041424750c507a27f9e7f51bd580d02..3b5608d3b76f812ef9df17c7d5ed734a5d6d84a3 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=twisted
-PKG_VERSION:=18.4.0
-PKG_RELEASE:=2
+PKG_VERSION:=18.9.0
+PKG_RELEASE:=1
 
 PKG_SOURCE:=Twisted-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/T/Twisted
-PKG_HASH:=a4cc164a781859c74de47f17f0e85f4bce8a3321a9d0892c015c8f80c4158ad9
+PKG_HASH:=294be2c6bf84ae776df2fc98e7af7d6537e1c5e60a46d33c3ce2a197677da395
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-twisted-$(PKG_VERSION)
 PKG_BUILD_DEPENDS:=libtirpc
@@ -39,6 +39,7 @@ $(call Package/twisted/Default)
   TITLE:=Python networking engine
   DEPENDS:= \
       +PACKAGE_twisted:python-light \
+      +PACKAGE_twisted:python-attrs \
       +PACKAGE_twisted:python-automat \
       +PACKAGE_twisted:python-constantly \
       +PACKAGE_twisted:python-incremental \
index 2e5e401a2e7e7ac841f4e44f6cba16f0d01d80ba..1ec4baf0fdb63275fb68caa21b091b264dc65b17 100644 (file)
@@ -1,6 +1,6 @@
 --- a/src/twisted/python/_setup.py
 +++ b/src/twisted/python/_setup.py
-@@ -143,7 +143,6 @@ _CONSOLE_SCRIPTS = [
+@@ -144,7 +144,6 @@ _CONSOLE_SCRIPTS = [
      "conch = twisted.conch.scripts.conch:run",
      "mailmail = twisted.mail.scripts.mailmail:run",
      "pyhtmlizer = twisted.scripts.htmlizer:run",
index 7e8109807771e7bad45f537ca9ab8a2d9875427b..33ba77a0f8266d5f103662177440727a6bc2f55c 100644 (file)
@@ -1,18 +1,23 @@
 --- a/src/twisted/python/_setup.py
 +++ b/src/twisted/python/_setup.py
-@@ -169,11 +169,6 @@ class ConditionalExtension(Extension, ob
+@@ -169,11 +169,6 @@ class ConditionalExtension(Extension, object):
  # The C extensions used for Twisted.
  _EXTENSIONS = [
-     ConditionalExtension(
+-    ConditionalExtension(
 -        "twisted.test.raiser",
 -        sources=["src/twisted/test/raiser.c"],
 -        condition=lambda _: _isCPython),
 -
--    ConditionalExtension(
+     ConditionalExtension(
          "twisted.internet.iocpreactor.iocpsupport",
          sources=[
-             "src/twisted/internet/iocpreactor/iocpsupport/iocpsupport.c",
-@@ -240,7 +235,7 @@ def getSetupArgs(extensions=_EXTENSIONS)
+@@ -238,12 +233,11 @@ def getSetupArgs(extensions=_EXTENSIONS):
+         "incremental >= 16.10.1",
+         "Automat >= 0.3.0",
+         "hyperlink >= 17.1.1",
+-        "PyHamcrest >= 1.9.0",
+         "attrs >= 17.4.0",
      ]
  
      arguments.update(dict(
          use_incremental=True,
          setup_requires=["incremental >= 16.10.1"],
          install_requires=requirements,
-@@ -249,6 +244,7 @@ def getSetupArgs(extensions=_EXTENSIONS)
-         },
+@@ -253,7 +247,7 @@ def getSetupArgs(extensions=_EXTENSIONS):
          cmdclass=command_classes,
          include_package_data=True,
-+        exclude_package_data={'':['test/*']},
+         exclude_package_data={
+-            "": ["*.c", "*.h", "*.pxi", "*.pyx", "build.bat"],
++            "": ["*.c", "*.h", "*.pxi", "*.pyx", "build.bat", "test/*"],
+         },
          zip_safe=False,
          extras_require=_EXTRAS_REQUIRE,
-         package_dir={"": "src"},
git clone https://git.99rst.org/PROJECT