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

@@ -20,7 +20,6 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk
define Package/python-service-identity/Default
@@ -31,18 +30,6 @@ define Package/python-service-identity/Default
URL:=https://service-identity.readthedocs.io/
endef
define Package/python-service-identity
$(call Package/python-service-identity/Default)
DEPENDS:= \
+PACKAGE_python-service-identity:python-light \
+PACKAGE_python-service-identity:python-attrs \
+PACKAGE_python-service-identity:python-cryptography \
+PACKAGE_python-service-identity:python-ipaddress \
+PACKAGE_python-service-identity:python-pyasn1 \
+PACKAGE_python-service-identity:python-pyasn1-modules
VARIANT:=python
endef
define Package/python3-service-identity
$(call Package/python-service-identity/Default)
DEPENDS:= \
@@ -54,21 +41,13 @@ $(call Package/python-service-identity/Default)
VARIANT:=python3
endef
define Package/python-service-identity/description
define Package/python3-service-identity/description
service_identity aspires to give you all the tools you need for
verifying whether a certificate is valid for the intended purposes.
endef
define Package/python3-service-identity/description
$(call Package/python-service-identity/description)
.
(Variant for Python3)
endef
$(eval $(call PyPackage,python-service-identity))
$(eval $(call BuildPackage,python-service-identity))
$(eval $(call BuildPackage,python-service-identity-src))
$(eval $(call Py3Package,python3-service-identity))
$(eval $(call BuildPackage,python3-service-identity))
$(eval $(call BuildPackage,python3-service-identity-src))