27 lines
1.0 KiB
Bash
27 lines
1.0 KiB
Bash
# Template file for 'python3-httplib2'
|
|
pkgname=python3-httplib2
|
|
version=0.21.0
|
|
revision=2
|
|
build_style=python3-module
|
|
# https://github.com/httplib2/httplib2/issues/221
|
|
make_check_args="-k not(test_client_cert_password_verified)"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3 ca-certificates python3-parsing"
|
|
checkdepends="python3-pytest python3-pytest-cov python3-pytest-timeout
|
|
python3-cryptography python3-flake8 python3-six python3-future"
|
|
short_desc="Comprehensive HTTP client library (Python3)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/httplib2/httplib2"
|
|
changelog="https://raw.githubusercontent.com/httplib2/httplib2/master/CHANGELOG"
|
|
distfiles="${PYPI_SITE}/h/httplib2/httplib2-${version}.tar.gz"
|
|
checksum=fc144f091c7286b82bec71bdbd9b27323ba709cc612568d3000893bfd9cb4b34
|
|
|
|
post_install() {
|
|
# use system ca certificates
|
|
rm -rf ${DESTDIR}/${py3_sitelib}/httplib2/cacerts.txt
|
|
ln -sf /etc/ssl/certs.pem ${DESTDIR}/${py3_sitelib}/httplib2/cacerts.txt
|
|
|
|
vlicense LICENSE
|
|
}
|