mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 09:01:22 +00:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user