[arch-commits] Commit in python-urllib3/trunk (PKGBUILD)

Jelle van der Waa jelle at gemini.archlinux.org
Mon Nov 29 19:03:15 UTC 2021


    Date: Monday, November 29, 2021 @ 19:03:15
  Author: jelle
Revision: 429464

upgpkg: python-urllib3 1.26.7-2

Modified:
  python-urllib3/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++------------------
 1 file changed, 5 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-29 18:59:08 UTC (rev 429463)
+++ PKGBUILD	2021-11-29 19:03:15 UTC (rev 429464)
@@ -4,16 +4,16 @@
 # Contributor: BorgHunter <borghunter at gmail dot com>
 
 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')
@@ -31,9 +31,6 @@
   cd "$srcdir"/urllib3-$pkgver
   python setup.py build
 
-  cd "$srcdir"/urllib3-$pkgver-py2
-  python2 setup.py build
-
   cd "$srcdir"/urllib3-$pkgver/docs
   make html
 }
@@ -56,16 +53,6 @@
   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"
 



More information about the arch-commits mailing list