void-packages/srcpkgs/python3-httplib2/template

25 lines
920 B
Bash

# Template file for 'python3-httplib2'
pkgname=python3-httplib2
version=0.22.0
revision=1
build_style=python3-module
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=d7a10bc5ef5ab08322488bde8c726eeee5c8618723fdb399597ec58f3d82df81
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
}