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

Felix Yan felixonmars at archlinux.org
Wed Sep 7 08:31:14 UTC 2016


    Date: Wednesday, September 7, 2016 @ 08:31:12
  Author: felixonmars
Revision: 275798

upgpkg: python-urllib3 1.17-1

Modified:
  python-urllib3/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-07 07:25:04 UTC (rev 275797)
+++ PKGBUILD	2016-09-07 08:31:12 UTC (rev 275798)
@@ -6,15 +6,15 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.16
+pkgver=1.17
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post support"
 arch=("any")
 url="https://github.com/shazow/urllib3"
 license=("MIT")
-makedepends=('python-setuptools' 'python2-setuptools' 'python2-sphinx' 'git'
-             'python-ndg-httpsclient' 'python2-ndg-httpsclient' 'python-pyasn1'
-             'python2-pyasn1' 'python-pyopenssl' 'python2-pyopenssl')
+makedepends=('python-setuptools' 'python2-setuptools' 'python2-sphinx' 'python-ndg-httpsclient'
+             'python2-ndg-httpsclient' 'python-pyasn1' 'python2-pyasn1' 'python-pyopenssl'
+             'python2-pyopenssl' 'python-pysocks' 'python2-pysocks' 'git')
 checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock'
               'python-tornado' 'python2-tornado' 'python-coverage' 'python2-coverage')
 source=("git+https://github.com/shazow/urllib3.git#tag=$pkgver")
@@ -48,6 +48,7 @@
 
 package_python-urllib3() {
   depends=('python')
+  optdepends=('python-pysocks: SOCKS support')
 
   cd urllib3
   python setup.py install --root="$pkgdir"
@@ -56,6 +57,7 @@
 
 package_python2-urllib3() {
   depends=('python2')
+  optdepends=('python2-pysocks: SOCKS support')
 
   cd urllib3-py2
   python2 setup.py install --root="$pkgdir"



More information about the arch-commits mailing list