mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python-urllib3: update to 1.24
This commit is contained in:
parent
d6710a534e
commit
950f9aca25
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-urllib3'
|
# Template file for 'python-urllib3'
|
||||||
pkgname=python-urllib3
|
pkgname=python-urllib3
|
||||||
version=1.23
|
version=1.24
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="urllib3-${version}"
|
wrksrc="urllib3-${version}"
|
||||||
|
@ -13,7 +13,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://urllib3.readthedocs.io/"
|
homepage="https://urllib3.readthedocs.io/"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="${PYPI_SITE}/u/urllib3/urllib3-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/u/urllib3/urllib3-${version}.tar.gz"
|
||||||
checksum=a68ac5e15e76e7e5dd2b8f94007233e01effe3e50e8daddf69acfd81cb686baf
|
checksum=41c3db2fc01e5b907288010dec72f9d0a74e37d6994e6eb56849f59fea2265ae
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# replace bundled copy of six
|
# replace bundled copy of six
|
||||||
|
@ -21,7 +21,7 @@ post_install() {
|
||||||
rm -f ${DESTDIR}/usr/lib/python${pyver}/site-packages/urllib3/packages/six.py
|
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
|
ln -sf ../../six.py ${DESTDIR}/usr/lib/python${pyver}/site-packages/urllib3/packages/six.py
|
||||||
done
|
done
|
||||||
vlicense LICENSE.txt LICENSE
|
vlicense LICENSE.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-urllib3_package() {
|
python3-urllib3_package() {
|
||||||
|
@ -31,6 +31,6 @@ python3-urllib3_package() {
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
vlicense LICENSE.txt LICENSE
|
vlicense LICENSE.txt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue