mirror of
https://github.com/openwrt/packages.git
synced 2025-12-20 01:21:21 +00:00
python-libraries: Update build options
This updates the build options for these packages to work with the pyproject.toml-based build process, and removes PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=pycurl
|
||||
PKG_VERSION:=7.45.2
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PYPI_NAME:=$(PKG_NAME)
|
||||
PKG_HASH:=5730590be0271364a5bddd9e245c9cc0fb710c4cbacbdd95264a3122d23224ca
|
||||
@@ -15,8 +15,6 @@ PKG_MAINTAINER:=Waldemar Konik <informatyk74@interia.pl>
|
||||
PKG_LICENSE:=LGPL-2.1
|
||||
PKG_LICENSE_FILES:=COPYING-LGPL
|
||||
|
||||
PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1
|
||||
|
||||
include ../pypi.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include ../python3-package.mk
|
||||
@@ -37,19 +35,19 @@ 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))
|
||||
|
||||
Reference in New Issue
Block a user