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

@@ -18,13 +18,8 @@ PKG_CPE_ID:=cpe:/a:pycryptodome:pycryptodome
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk
PYTHON_PKG_SETUP_ARGS:=
PYTHON_PKG_SETUP_VARS:= \
CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
PYTHON3_PKG_SETUP_ARGS:=
PYTHON3_PKG_SETUP_VARS:= \
CONFIG_BIG_ENDIAN="$(CONFIG_BIG_ENDIAN)"
@@ -38,13 +33,6 @@ define Package/python-cryptodome/Default
DEPENDS:=+libgmp
endef
define Package/python-cryptodome
$(call Package/python-cryptodome/Default)
DEPENDS+=+PACKAGE_python-cryptodome:python
VARIANT:=python
CONFLICTS:=python-crypto
endef
define Package/python3-cryptodome
$(call Package/python-cryptodome/Default)
DEPENDS+=+PACKAGE_python3-cryptodome:python3
@@ -52,21 +40,13 @@ $(call Package/python-cryptodome/Default)
CONFLICTS:=python3-crypto
endef
define Package/python-cryptodome/description
define Package/python3-cryptodome/description
PyCryptodome is a self-contained Python package of low-level
cryptographic primitives.
endef
define Package/python3-cryptodome/description
$(call Package/python-cryptodome/description)
.
(Variant for Python3)
endef
$(eval $(call PyPackage,python-cryptodome))
$(eval $(call BuildPackage,python-cryptodome))
$(eval $(call BuildPackage,python-cryptodome-src))
$(eval $(call Py3Package,python3-cryptodome))
$(eval $(call BuildPackage,python3-cryptodome))
$(eval $(call BuildPackage,python3-cryptodome-src))