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>
This commit is contained in:
Jeffery To
2020-04-01 22:21:16 +08:00
parent c37b15e1c4
commit 658b1b6758
78 changed files with 89 additions and 1501 deletions

View File

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