python-httplib2: update to 0.12.1.
This commit is contained in:
parent
d15900e562
commit
55bf7586fa
1 changed files with 9 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'python-httplib2'
|
||||
pkgname=python-httplib2
|
||||
version=0.12.0
|
||||
version=0.12.1
|
||||
revision=1
|
||||
archs=noarch
|
||||
wrksrc="httplib2-${version}"
|
||||
|
@ -10,10 +10,12 @@ hostmakedepends="python-setuptools python3-setuptools"
|
|||
depends="python ca-certificates"
|
||||
short_desc="Comprehensive HTTP client library (Python2)"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
homepage="https://github.com/httplib2/httplib2"
|
||||
license="MIT"
|
||||
distfiles="${PYPI_SITE}/h/httplib2/httplib2-${version}.tar.gz"
|
||||
checksum=f61fb838a94ce3b349aa32c92fd8430f7e3511afdb18bf9640d647e30c90a6d6
|
||||
homepage="https://github.com/httplib2/httplib2"
|
||||
distfiles="${PYPI_SITE}/h/httplib2/httplib2-${version}.tar.gz
|
||||
https://raw.githubusercontent.com/httplib2/httplib2/master/LICENSE>LICENSE.txt"
|
||||
checksum="4ba6b8fd77d0038769bf3c33c9a96a6f752bc4cdf739701fdcaf210121f399d4
|
||||
589eec38f72df2be203711d3b8cbece9b908c5e7ff00bc3cab7f63bae9e366b4"
|
||||
|
||||
post_install() {
|
||||
# use system ca certificates
|
||||
|
@ -21,6 +23,8 @@ post_install() {
|
|||
rm -rf ${DESTDIR}/${py_sitelib}/httplib2/cacerts.txt
|
||||
ln -sf /etc/ssl/cert.pem ${DESTDIR}/${py_sitelib}/httplib2/cacerts.txt
|
||||
done
|
||||
|
||||
vlicense ../LICENSE.txt
|
||||
}
|
||||
|
||||
python3-httplib2_package() {
|
||||
|
@ -30,5 +34,6 @@ python3-httplib2_package() {
|
|||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense ../LICENSE.txt
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue