diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2020-04-01 22:21:16 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2020-04-02 14:57:30 +0800 |
| commit | 658b1b67587c4698f6a4c182e9afea7cb5fba2ee (patch) | |
| tree | 94f402f8080841dc3a6c7f4a701d7aeb21a6f6b2 /lang/python/python-gmpy2/Makefile | |
| parent | c37b15e1c49cf27de8f34f43e93a7a5c184be9e0 (diff) | |
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>
Diffstat (limited to 'lang/python/python-gmpy2/Makefile')
| -rw-r--r-- | lang/python/python-gmpy2/Makefile | 18 |
1 files changed, 1 insertions, 17 deletions
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 <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)) |
