python-urllib3: update to 1.19.1

This commit is contained in:
Alessio Sergi 2016-11-17 18:16:46 +01:00
parent 6c08b490e2
commit 1dfc136ddf
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'python-urllib3'
pkgname=python-urllib3
version=1.19
version=1.19.1
revision=1
noarch=yes
wrksrc="urllib3-${version}"
@ -13,11 +13,11 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://urllib3.readthedocs.io/"
license="MIT"
distfiles="${PYPI_SITE}/u/urllib3/urllib3-${version}.tar.gz"
checksum=87f362d061184191d07ced0b947d8526f3e1884f21b0fe97fab313dedcb895be
checksum=53bc34c8ee268c3bd83ecf5e9c80fa783f3148484579bd4e20f4a7c1bb2dd6a0
post_install() {
# replace bundled copy of six
for pyver in $python_versions; do
for pyver in $py2_ver $py3_ver; do
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