python3-httplib2: update to 0.21.0

This commit is contained in:
dkwo 2022-11-11 16:30:42 -05:00 committed by Andrew J. Hesford
parent 8799a7509e
commit 438c45a9bb
1 changed files with 10 additions and 10 deletions

View File

@ -1,26 +1,26 @@
# Template file for 'python3-httplib2' # Template file for 'python3-httplib2'
pkgname=python3-httplib2 pkgname=python3-httplib2
version=0.18.1 version=0.21.0
revision=5 revision=1
create_wrksrc=yes
build_wrksrc="httplib2-${version}"
build_style=python3-module build_style=python3-module
# https://github.com/httplib2/httplib2/issues/221
make_check_args="-k not(test_client_cert_password_verified)"
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools"
depends="python3 ca-certificates" 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)" short_desc="Comprehensive HTTP client library (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT" license="MIT"
homepage="https://github.com/httplib2/httplib2" homepage="https://github.com/httplib2/httplib2"
changelog="https://raw.githubusercontent.com/httplib2/httplib2/master/CHANGELOG" changelog="https://raw.githubusercontent.com/httplib2/httplib2/master/CHANGELOG"
distfiles="${PYPI_SITE}/h/httplib2/httplib2-${version}.tar.gz distfiles="${PYPI_SITE}/h/httplib2/httplib2-${version}.tar.gz"
https://raw.githubusercontent.com/httplib2/httplib2/master/LICENSE>LICENSE.txt" checksum=fc144f091c7286b82bec71bdbd9b27323ba709cc612568d3000893bfd9cb4b34
checksum="8af66c1c52c7ffe1aa5dc4bcd7c769885254b0756e6e69f953c7f0ab49a70ba3
589eec38f72df2be203711d3b8cbece9b908c5e7ff00bc3cab7f63bae9e366b4"
post_install() { post_install() {
# use system ca certificates # use system ca certificates
rm -rf ${DESTDIR}/${py3_sitelib}/httplib2/cacerts.txt rm -rf ${DESTDIR}/${py3_sitelib}/httplib2/cacerts.txt
ln -sf /etc/ssl/certs.pem ${DESTDIR}/${py3_sitelib}/httplib2/cacerts.txt ln -sf /etc/ssl/certs.pem ${DESTDIR}/${py3_sitelib}/httplib2/cacerts.txt
vlicense ../LICENSE.txt vlicense LICENSE
} }