mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 00:51:19 +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:
@@ -17,7 +17,6 @@ PKG_LICENSE_FILES:=COPYING-LGPL
|
||||
|
||||
include ../pypi.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include ../python-package.mk
|
||||
include ../python3-package.mk
|
||||
|
||||
define Package/python-curl/Default
|
||||
@@ -29,16 +28,6 @@ define Package/python-curl/Default
|
||||
DEPENDS:=+libcurl
|
||||
endef
|
||||
|
||||
define Package/python-curl
|
||||
$(call Package/python-curl/Default)
|
||||
DEPENDS+=+PACKAGE_python-curl:python
|
||||
VARIANT:=python
|
||||
endef
|
||||
|
||||
define Package/python-curl/description
|
||||
PycURL is a Python interface to libcurl, the multiprotocol file transfer library.
|
||||
endef
|
||||
|
||||
define Package/python3-curl
|
||||
$(call Package/python-curl/Default)
|
||||
DEPENDS+=+PACKAGE_python3-curl:python3
|
||||
@@ -46,38 +35,29 @@ $(call Package/python-curl/Default)
|
||||
endef
|
||||
|
||||
define Package/python3-curl/description
|
||||
$(call Package/python-curl/description)
|
||||
PycURL is a Python interface to libcurl, the multiprotocol file transfer library.
|
||||
.
|
||||
(Variant for Python3)
|
||||
endef
|
||||
|
||||
PYTHON_PKG_SETUP_ARGS:=
|
||||
PYTHON3_PKG_SETUP_ARGS:=
|
||||
|
||||
ifdef CONFIG_LIBCURL_OPENSSL
|
||||
PYTHON_PKG_SETUP_ARGS+=--with-openssl
|
||||
PYTHON3_PKG_SETUP_ARGS+=--with-openssl
|
||||
endif
|
||||
|
||||
ifdef CONFIG_LIBCURL_GNUTLS
|
||||
PYTHON_PKG_SETUP_ARGS+=--with-gnutls
|
||||
PYTHON3_PKG_SETUP_ARGS+=--with-gnutls
|
||||
endif
|
||||
|
||||
ifdef CONFIG_LIBCURL_MBEDTLS
|
||||
PYTHON_PKG_SETUP_ARGS+=--with-mbedtls
|
||||
PYTHON3_PKG_SETUP_ARGS+=--with-mbedtls
|
||||
endif
|
||||
|
||||
ifdef CONFIG_LIBCURL_WOLFSSL
|
||||
PYTHON_PKG_SETUP_ARGS+=--with-wolfssl
|
||||
PYTHON3_PKG_SETUP_ARGS+=--with-wolfssl
|
||||
endif
|
||||
|
||||
$(eval $(call PyPackage,python-curl))
|
||||
$(eval $(call BuildPackage,python-curl))
|
||||
$(eval $(call BuildPackage,python-curl-src))
|
||||
|
||||
$(eval $(call Py3Package,python3-curl))
|
||||
$(eval $(call BuildPackage,python3-curl))
|
||||
$(eval $(call BuildPackage,python3-curl-src))
|
||||
|
||||
Reference in New Issue
Block a user