python-urllib3: update to 1.26.3.
This commit is contained in:
parent
8774c00b19
commit
9846aa52aa
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'python-urllib3'
|
||||
pkgname=python-urllib3
|
||||
version=1.26.2
|
||||
version=1.26.3
|
||||
revision=1
|
||||
wrksrc="urllib3-${version}"
|
||||
build_style=python-module
|
||||
|
@ -11,14 +11,14 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|||
license="MIT"
|
||||
homepage="https://urllib3.readthedocs.io/"
|
||||
distfiles="${PYPI_SITE}/u/urllib3/urllib3-${version}.tar.gz"
|
||||
checksum=19188f96923873c92ccb987120ec4acaa12f0461fa9ce5d3d0772bc965a39e08
|
||||
checksum=de3eedaad74a2683334e282005cd8d7f22f4d55fa690a2a1020a416cb0a47e73
|
||||
|
||||
post_install() {
|
||||
# replace bundled copy of six
|
||||
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
|
||||
for sitelib in ${py3_sitelib} ${py2_sitelib}; do
|
||||
rm ${DESTDIR}/${sitelib}/urllib3/packages/six.py
|
||||
ln -sf ../../six.py ${DESTDIR}/${sitelib}/urllib3/packages/six.py
|
||||
done
|
||||
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue