python-ndg_httpsclient: update to 0.5.0. (#13870)

This commit is contained in:
maxice8 2018-04-26 14:22:26 -03:00 committed by Alessio Sergi
parent d589a38c78
commit d430b99d55

View File

@ -1,6 +1,6 @@
# Template file for 'python-ndg_httpsclient' # Template file for 'python-ndg_httpsclient'
pkgname=python-ndg_httpsclient pkgname=python-ndg_httpsclient
version=0.4.4 version=0.5.0
revision=1 revision=1
noarch=yes noarch=yes
wrksrc="ndg_httpsclient-${version}" wrksrc="ndg_httpsclient-${version}"
@ -10,10 +10,10 @@ hostmakedepends="python-setuptools python3-setuptools"
depends="python-openssl python-pyasn1" depends="python-openssl python-pyasn1"
short_desc="HTTPS support for httplib and urllib2 (Python2)" short_desc="HTTPS support for httplib and urllib2 (Python2)"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>" maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
license="BSD-3-Clause"
homepage="https://github.com/cedadev/ndg_httpsclient" homepage="https://github.com/cedadev/ndg_httpsclient"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/n/ndg_httpsclient/ndg_httpsclient-${version}.tar.gz" distfiles="${PYPI_SITE}/n/ndg_httpsclient/ndg_httpsclient-${version}.tar.gz"
checksum=fba4d4798dcac2965874f24afb6631b4326baa4bd02505744d34f690c354856a checksum=c009f5430790936b3a97eaf9f968516664d97e146ab2bda991f0caadb7cc088b
alternatives="ndg_httpclient:ndg_httpclient:/usr/bin/ndg_httpclient2" alternatives="ndg_httpclient:ndg_httpclient:/usr/bin/ndg_httpclient2"
post_install() { post_install() {
@ -27,8 +27,8 @@ python3-ndg_httpsclient_package() {
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
alternatives="ndg_httpclient:ndg_httpclient:/usr/bin/ndg_httpclient3" alternatives="ndg_httpclient:ndg_httpclient:/usr/bin/ndg_httpclient3"
pkg_install() { pkg_install() {
vmove usr/bin/*3 vmove "usr/bin/*3"
vmove usr/lib/python3* vmove "usr/lib/python3*"
vlicense ndg/httpsclient/LICENSE vlicense ndg/httpsclient/LICENSE
} }
} }