From b538e705b4dee6209c49afbdf3e64ca565666a67 Mon Sep 17 00:00:00 2001 From: David Beauchamp Date: Mon, 29 Nov 2021 14:54:06 -0500 Subject: [PATCH] extra/python-urllib3 to 1.26.7-2 --- extra/python-urllib3/PKGBUILD | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/extra/python-urllib3/PKGBUILD b/extra/python-urllib3/PKGBUILD index e7c25ced6..e0aebf7fa 100644 --- a/extra/python-urllib3/PKGBUILD +++ b/extra/python-urllib3/PKGBUILD @@ -8,16 +8,16 @@ # - don't build docs on v5, can't build new furo pkgbase=python-urllib3 -pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc) +pkgname=(python-urllib3 python-urllib3-doc) pkgver=1.26.7 -pkgrel=1 +pkgrel=2 pkgdesc="HTTP library with thread-safe connection pooling and file post support" arch=("any") url="https://github.com/urllib3/urllib3" license=("MIT") -makedepends=('python-setuptools' 'python2-setuptools' 'python-sphinx' 'python-ndg-httpsclient' - 'python2-ndg-httpsclient' 'python-pyasn1' 'python2-pyasn1' 'python-pyopenssl' - 'python2-pyopenssl' 'python-pysocks' 'python2-pysocks' 'python-mock' 'python2-mock' +makedepends=('python-setuptools' 'python-sphinx' 'python-ndg-httpsclient' + 'python-pyasn1' 'python-pyopenssl' + 'python-pysocks' 'python-mock' 'python-brotli' 'python-sphinx-furo') checkdepends=('python-pytest-runner' 'python-tornado' 'python-nose' 'python-psutil' 'python-trustme' 'python-gcp-devrel-py-tools' 'python-flaky' 'python-dateutil') @@ -35,9 +35,6 @@ build() { cd "$srcdir"/urllib3-$pkgver python setup.py build - cd "$srcdir"/urllib3-$pkgver-py2 - python2 setup.py build - cd "$srcdir"/urllib3-$pkgver/docs [[ $CARCH != "arm" ]] && make html || : } @@ -60,16 +57,6 @@ package_python-urllib3() { install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt } -package_python2-urllib3() { - depends=('python2') - optdepends=('python2-pysocks: SOCKS support' - 'python2-pyopenssl: security support') - - cd urllib3-$pkgver-py2 - python2 setup.py install --root="$pkgdir" - install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt -} - package_python-urllib3-doc() { pkgdesc="urllib3 Documentation"