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

@@ -21,10 +21,8 @@ PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk
PYTHON_PKG_SETUP_ARGS:=--nompfr
PYTHON3_PKG_SETUP_ARGS:=--nompfr
define Package/python-gmpy2/Default
@@ -36,19 +34,13 @@ define Package/python-gmpy2/Default
DEPENDS:=+libgmp
endef
define Package/python-gmpy2
$(call Package/python-gmpy2/Default)
DEPENDS+=+PACKAGE_python-gmpy2:python-light
VARIANT:=python
endef
define Package/python3-gmpy2
$(call Package/python-gmpy2/Default)
DEPENDS+=+PACKAGE_python3-gmpy2:python3-light
VARIANT:=python3
endef
define Package/python-gmpy2/description
define Package/python3-gmpy2/description
gmpy2 is a C-coded Python extension module that supports multiple-precision
arithmetic. gmpy2 is the successor to the original gmpy module. The gmpy module
only supported the GMP multiple-precision library. gmpy2 adds support for the
@@ -56,18 +48,10 @@ MPFR (correctly rounded real floating-point arithmetic) and MPC (correctly
rounded complex floating-point arithmetic) libraries. gmpy2 also updates the
API and naming conventions to be more consistent and support the additional
functionality.
endef
define Package/python3-gmpy2/description
$(call Package/python-gmpy2/description)
.
(Variant for Python3)
endef
$(eval $(call PyPackage,python-gmpy2))
$(eval $(call BuildPackage,python-gmpy2))
$(eval $(call BuildPackage,python-gmpy2-src))
$(eval $(call Py3Package,python3-gmpy2))
$(eval $(call BuildPackage,python3-gmpy2))
$(eval $(call BuildPackage,python3-gmpy2-src))