summaryrefslogtreecommitdiff
path: root/lang/python/python-twisted
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2020-04-01 22:21:16 +0800
committerJeffery To <jeffery.to@gmail.com>2020-04-02 14:57:30 +0800
commit658b1b67587c4698f6a4c182e9afea7cb5fba2ee (patch)
tree94f402f8080841dc3a6c7f4a701d7aeb21a6f6b2 /lang/python/python-twisted
parentc37b15e1c49cf27de8f34f43e93a7a5c184be9e0 (diff)
python-libraries: Remove Python 2 variants
The Python 2 variants will be added to the abandoned packages feed. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-twisted')
-rw-r--r--lang/python/python-twisted/Makefile30
1 files changed, 1 insertions, 29 deletions
diff --git a/lang/python/python-twisted/Makefile b/lang/python/python-twisted/Makefile
index e91743d7c..ee72d39a0 100644
--- a/lang/python/python-twisted/Makefile
+++ b/lang/python/python-twisted/Makefile
@@ -24,7 +24,6 @@ PKG_CPE_ID:=cpe:/a:twistedmatrix:twisted
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
include ../python3-package.mk
define Package/python-twisted/Default
@@ -35,20 +34,6 @@ define Package/python-twisted/Default
URL:=https://twistedmatrix.com/
endef
-define Package/python-twisted
-$(call Package/python-twisted/Default)
- DEPENDS:= \
- +PACKAGE_python-twisted:python-light \
- +PACKAGE_python-twisted:python-attrs \
- +PACKAGE_python-twisted:python-automat \
- +PACKAGE_python-twisted:python-constantly \
- +PACKAGE_python-twisted:python-incremental \
- +PACKAGE_python-twisted:python-hyperlink \
- +PACKAGE_python-twisted:python-setuptools \
- +PACKAGE_python-twisted:python-zope-interface
- VARIANT:=python
-endef
-
define Package/python3-twisted
$(call Package/python-twisted/Default)
DEPENDS:= \
@@ -63,23 +48,14 @@ $(call Package/python-twisted/Default)
VARIANT:=python3
endef
-define Package/python-twisted/description
+define Package/python3-twisted/description
Twisted is a networking engine written in Python, supporting numerous
protocols. It contains a web server, numerous chat clients, chat servers,
mail servers, and more.
-endef
-
-define Package/python3-twisted/description
-$(call Package/python-twisted/description)
.
(Variant for Python3)
endef
-define PyPackage/python-twisted/filespec
-+|$(PYTHON_PKG_DIR)
--|$(PYTHON_PKG_DIR)/twisted/conch/scripts/tkconch.py
-endef
-
define Py3Package/python3-twisted/filespec
+|$(PYTHON3_PKG_DIR)
-|$(PYTHON3_PKG_DIR)/twisted/conch/scripts/tkconch.py
@@ -93,10 +69,6 @@ define Py3Package/python3-twisted/install
done
endef
-$(eval $(call PyPackage,python-twisted))
-$(eval $(call BuildPackage,python-twisted))
-$(eval $(call BuildPackage,python-twisted-src))
-
$(eval $(call Py3Package,python3-twisted))
$(eval $(call BuildPackage,python3-twisted))
$(eval $(call BuildPackage,python3-twisted-src))