From 658b1b67587c4698f6a4c182e9afea7cb5fba2ee Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Wed, 1 Apr 2020 22:21:16 +0800 Subject: python-libraries: Remove Python 2 variants The Python 2 variants will be added to the abandoned packages feed. Signed-off-by: Jeffery To --- lang/python/python-gmpy2/Makefile | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'lang/python/python-gmpy2') diff --git a/lang/python/python-gmpy2/Makefile b/lang/python/python-gmpy2/Makefile index 81f602c7c..c12e341c7 100644 --- a/lang/python/python-gmpy2/Makefile +++ b/lang/python/python-gmpy2/Makefile @@ -21,10 +21,8 @@ PKG_MAINTAINER:=Jeffery To 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)) -- cgit