summaryrefslogtreecommitdiff
path: root/lang/python/python-curl/Makefile
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-05-10 12:11:07 +0800
committerGitHub <noreply@github.com>2023-05-10 12:11:07 +0800
commit8a36b03870fd2f6b75b8890ce912660e00ccade8 (patch)
tree5e03f31c967408fe8ce0e7e3d470f4d5eb0a3863 /lang/python/python-curl/Makefile
parent83dd66fd34792c692a477c2ed8430f81802d8f22 (diff)
parentb1b008f42ff0a6da96b801e2eaf68be4e2f2b5bb (diff)
Merge pull request #20801 from jefferyto/python-pyproject
python: Add proper support for pyproject.toml-based builds, update Python packages for new build process
Diffstat (limited to 'lang/python/python-curl/Makefile')
-rw-r--r--lang/python/python-curl/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/lang/python/python-curl/Makefile b/lang/python/python-curl/Makefile
index 4f46dc5fc..b239efd3a 100644
--- a/lang/python/python-curl/Makefile
+++ b/lang/python/python-curl/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=pycurl
PKG_VERSION:=7.45.2
-PKG_RELEASE:=1
+PKG_RELEASE:=3
PYPI_NAME:=$(PKG_NAME)
PKG_HASH:=5730590be0271364a5bddd9e245c9cc0fb710c4cbacbdd95264a3122d23224ca
@@ -32,22 +32,20 @@ define Package/python3-curl/description
PycURL is a Python interface to libcurl, the multiprotocol file transfer library.
endef
-PYTHON3_PKG_SETUP_ARGS:=
-
ifdef CONFIG_LIBCURL_OPENSSL
- PYTHON3_PKG_SETUP_ARGS+=--with-openssl
+ PYTHON3_PKG_BUILD_VARS:=PYCURL_SSL_LIBRARY=openssl
endif
ifdef CONFIG_LIBCURL_GNUTLS
- PYTHON3_PKG_SETUP_ARGS+=--with-gnutls
+ PYTHON3_PKG_BUILD_VARS:=PYCURL_SSL_LIBRARY=gnutls
endif
ifdef CONFIG_LIBCURL_MBEDTLS
- PYTHON3_PKG_SETUP_ARGS+=--with-mbedtls
+ PYTHON3_PKG_BUILD_VARS:=PYCURL_SSL_LIBRARY=mbedtls
endif
ifdef CONFIG_LIBCURL_WOLFSSL
- PYTHON3_PKG_SETUP_ARGS+=--with-wolfssl
+ PYTHON3_PKG_BUILD_VARS:=PYCURL_SSL_LIBRARY=wolfssl
endif
$(eval $(call Py3Package,python3-curl))