void-packages/srcpkgs/python3-curl/template

34 lines
1.3 KiB
Bash

# Template file for 'python3-curl'
pkgname=python3-curl
version=7.45.3
revision=1
build_style=python3-module
# hanging/failing tests
make_check_args="--ignore tests/multi_socket_select_test.py
--deselect tests/multi_callback_test.py::MultiCallbackTest::test_multi_socket_action
--deselect tests/option_constants_test.py::OptionConstantsTest::test_krb4level
--deselect tests/option_constants_test.py::OptionConstantsTest::test_krblevel
--deselect tests/option_constants_test.py::OptionConstantsTest::test_socks5_gssapi_nec_setopt
--deselect tests/setup_test.py::SetupTest::test_libcurl_ssl_gnutls
--deselect tests/setup_test.py::SetupTest::test_libcurl_ssl_nss
--deselect tests/setup_test.py::SetupTest::test_libcurl_ssl_openssl"
hostmakedepends="python3-setuptools"
makedepends="openssl-devel libcurl-devel python3-devel"
depends="python3"
checkdepends="python3-pytest python3-bottle python3-flaky"
short_desc="Python3 interface to cURL library"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="LGPL-2.1-or-later, MIT"
homepage="http://pycurl.io/"
changelog="https://raw.githubusercontent.com/pycurl/pycurl/master/ChangeLog"
distfiles="${PYPI_SITE}/p/pycurl/pycurl-${version}.tar.gz"
checksum=8c2471af9079ad798e1645ec0b0d3d4223db687379d17dd36a70637449f81d6b
pre_build() {
vsed -i "/setup_args\['data_files'\] = /d" setup.py
}
post_install() {
vlicense COPYING-MIT
}