27 lines
975 B
Bash
27 lines
975 B
Bash
# Template file for 'python3-httplib2'
|
|
pkgname=python3-httplib2
|
|
version=0.14.0
|
|
revision=4
|
|
create_wrksrc=yes
|
|
build_wrksrc="httplib2-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3 ca-certificates"
|
|
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
|
|
https://raw.githubusercontent.com/httplib2/httplib2/master/LICENSE>LICENSE.txt"
|
|
checksum="34537dcdd5e0f2386d29e0e2c6d4a1703a3b982d34c198a5102e6e5d6194b107
|
|
589eec38f72df2be203711d3b8cbece9b908c5e7ff00bc3cab7f63bae9e366b4"
|
|
|
|
post_install() {
|
|
# use system ca certificates
|
|
rm -rf ${DESTDIR}/${py3_sitelib}/httplib2/cacerts.txt
|
|
ln -sf /etc/ssl/cert.pem ${DESTDIR}/${py3_sitelib}/httplib2/cacerts.txt
|
|
|
|
vlicense ../LICENSE.txt
|
|
}
|