diff --git a/srcpkgs/python-urllib3/template b/srcpkgs/python-urllib3/template index 008dfcb21ff..381e27f0e1c 100644 --- a/srcpkgs/python-urllib3/template +++ b/srcpkgs/python-urllib3/template @@ -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 " 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