python-urllib3: update to 1.24

This commit is contained in:
Alessio Sergi 2018-10-27 20:07:54 +02:00
parent d6710a534e
commit 950f9aca25

View file

@ -1,6 +1,6 @@
# Template file for 'python-urllib3'
pkgname=python-urllib3
version=1.23
version=1.24
revision=1
noarch=yes
wrksrc="urllib3-${version}"
@ -13,7 +13,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://urllib3.readthedocs.io/"
license="MIT"
distfiles="${PYPI_SITE}/u/urllib3/urllib3-${version}.tar.gz"
checksum=a68ac5e15e76e7e5dd2b8f94007233e01effe3e50e8daddf69acfd81cb686baf
checksum=41c3db2fc01e5b907288010dec72f9d0a74e37d6994e6eb56849f59fea2265ae
post_install() {
# replace bundled copy of six
@ -21,7 +21,7 @@ post_install() {
rm -f ${DESTDIR}/usr/lib/python${pyver}/site-packages/urllib3/packages/six.py
ln -sf ../../six.py ${DESTDIR}/usr/lib/python${pyver}/site-packages/urllib3/packages/six.py
done
vlicense LICENSE.txt LICENSE
vlicense LICENSE.txt
}
python3-urllib3_package() {
@ -31,6 +31,6 @@ python3-urllib3_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt LICENSE
vlicense LICENSE.txt
}
}