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
|
2021-08-11 22:07:26 +00:00
|
|
|
PKG_VERSION:=7.44.0
|
2020-09-09 12:11:56 +00:00
|
|
|
PKG_RELEASE:=1
|
2019-02-28 10:25:53 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
PYPI_NAME:=$(PKG_NAME)
|
2021-08-11 22:07:26 +00:00
|
|
|
PKG_HASH:=2ce9905626d8ceafcbadee666e2f45397e29c7618ddcdc63fc22d85e5046c6d6
|
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))
|