2017-06-13 13:33:10 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=pycurl
|
2020-02-05 07:37:39 +00:00
|
|
|
PKG_VERSION:=7.43.0.5
|
2020-04-21 17:27:50 +00:00
|
|
|
PKG_RELEASE:=2
|
2019-02-28 10:25:53 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
PYPI_NAME:=$(PKG_NAME)
|
2020-02-05 07:37:39 +00:00
|
|
|
PKG_HASH:=ec7dd291545842295b7b56c12c90ffad2976cc7070c98d7b1517b7b6cd5994b3
|
2019-02-28 10:25:53 +00:00
|
|
|
|
2017-06-13 13:33:10 +00:00
|
|
|
PKG_MAINTAINER:=Waldemar Konik <informatyk74@interia.pl>
|
|
|
|
PKG_LICENSE:=LGPL-2.1
|
2019-02-28 10:25:53 +00:00
|
|
|
PKG_LICENSE_FILES:=COPYING-LGPL
|
2017-06-13 13:33:10 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
include ../pypi.mk
|
2017-06-13 13:33:10 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2019-02-28 10:25:53 +00:00
|
|
|
include ../python3-package.mk
|
2017-06-13 13:33:10 +00:00
|
|
|
|
2020-04-21 17:27:50 +00:00
|
|
|
define Package/python3-curl
|
2017-06-13 13:33:10 +00:00
|
|
|
CATEGORY:=Languages
|
|
|
|
SECTION:=lang
|
|
|
|
SUBMENU:=Python
|
|
|
|
TITLE:=Python module interface to the cURL library
|
|
|
|
URL:=http://pycurl.io/
|
2020-04-21 17:27:50 +00:00
|
|
|
DEPENDS:=+libcurl +python3
|
2017-06-13 13:33:10 +00:00
|
|
|
endef
|
|
|
|
|
2019-02-28 10:25:53 +00:00
|
|
|
define Package/python3-curl/description
|
2020-04-01 14:21:16 +00:00
|
|
|
PycURL is a Python interface to libcurl, the multiprotocol file transfer library.
|
2017-06-13 13:33:10 +00:00
|
|
|
endef
|
|
|
|
|
2019-06-26 18:08:11 +00:00
|
|
|
PYTHON3_PKG_SETUP_ARGS:=
|
|
|
|
|
2019-05-14 05:47:09 +00:00
|
|
|
ifdef CONFIG_LIBCURL_OPENSSL
|
2019-06-26 18:08:11 +00:00
|
|
|
PYTHON3_PKG_SETUP_ARGS+=--with-openssl
|
2019-05-14 05:47:09 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_LIBCURL_GNUTLS
|
2019-06-26 18:08:11 +00:00
|
|
|
PYTHON3_PKG_SETUP_ARGS+=--with-gnutls
|
2019-05-14 05:47:09 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_LIBCURL_MBEDTLS
|
2019-06-26 18:08:11 +00:00
|
|
|
PYTHON3_PKG_SETUP_ARGS+=--with-mbedtls
|
2019-05-14 05:47:09 +00:00
|
|
|
endif
|
2019-02-28 10:25:53 +00:00
|
|
|
|
2019-06-28 14:00:06 +00:00
|
|
|
ifdef CONFIG_LIBCURL_WOLFSSL
|
|
|
|
PYTHON3_PKG_SETUP_ARGS+=--with-wolfssl
|
|
|
|
endif
|
|
|
|
|
2019-02-28 10:25:53 +00:00
|
|
|
$(eval $(call Py3Package,python3-curl))
|
|
|
|
$(eval $(call BuildPackage,python3-curl))
|
|
|
|
$(eval $(call BuildPackage,python3-curl-src))
|