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

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 22:10:14
  Author: felixonmars
Revision: 405083

upgpkg: python-urllib3 1.26.2-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-28 21:17:58 UTC (rev 405082)
+++ PKGBUILD2020-12-28 22:10:14 UTC (rev 405083)
@@ -5,7 +5,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.26.1
+pkgver=1.26.2
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -19,7 +19,7 @@
   'python-gcp-devrel-py-tools' 'python-flaky' 'python-dateutil')
 
source=("https://github.com/urllib3/urllib3/archive/$pkgver/$pkgbase-$pkgver.tar.gz;
 
urllib3-use-brotli-new.patch::https://github.com/urllib3/urllib3/pull/2099.patch)
-sha512sums=('875c2f7bfab530cc504235c729c9e93ad0059505336a0b9e38f88fe5c94e60744c4a26f25de07d4a382f92103f34a08860d7a1cb60845a34123c6b4f640d3604'
+sha512sums=('1a7848fad70c0057cce13a4c43e5ad27cfc85802ee96c7caf3f8c131b109679a8124f8cd276b6b6dcf408485bdde2a267b523b0095d4b7a54a119c99fe156471'
 
'16bc19caf4b0d80ccb7aae7ee0cf4a7b6fef754d6d7b9e3bc0da9197afffa4f587f197c7fdffa56c14d40da806633cd409b5d8136ca4d1acef414afaf42d1e0f')
 
 prepare() {


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 21:50:20
  Author: felixonmars
Revision: 405003

upgpkg: python-urllib3 1.26.1-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-24 17:54:07 UTC (rev 405002)
+++ PKGBUILD2020-12-24 21:50:20 UTC (rev 405003)
@@ -5,7 +5,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.26.0
+pkgver=1.26.1
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -19,7 +19,7 @@
   'python-gcp-devrel-py-tools' 'python-flaky' 'python-dateutil')
 
source=("https://github.com/urllib3/urllib3/archive/$pkgver/$pkgbase-$pkgver.tar.gz;
 
urllib3-use-brotli-new.patch::https://github.com/urllib3/urllib3/pull/2099.patch)
-sha512sums=('7ec93121d346d1629c4fa61ae6fa46139dd000501de642225b03badca8e0fd750f75a71624f50e93510b9fe478b801e8c56f52c2e356fb3e09a57ab1fb1e'
+sha512sums=('875c2f7bfab530cc504235c729c9e93ad0059505336a0b9e38f88fe5c94e60744c4a26f25de07d4a382f92103f34a08860d7a1cb60845a34123c6b4f640d3604'
 
'16bc19caf4b0d80ccb7aae7ee0cf4a7b6fef754d6d7b9e3bc0da9197afffa4f587f197c7fdffa56c14d40da806633cd409b5d8136ca4d1acef414afaf42d1e0f')
 
 prepare() {


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

2020-12-23 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 00:22:16
  Author: felixonmars
Revision: 404955

upgpkg: python-urllib3 1.26.0-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-12-23 21:08:14 UTC (rev 404954)
+++ PKGBUILD2020-12-24 00:22:16 UTC (rev 404955)
@@ -5,7 +5,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.25.11
+pkgver=1.26.0
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -19,7 +19,7 @@
   'python-gcp-devrel-py-tools' 'python-flaky' 'python-dateutil')
 
source=("https://github.com/urllib3/urllib3/archive/$pkgver/$pkgbase-$pkgver.tar.gz;
 
urllib3-use-brotli-new.patch::https://github.com/urllib3/urllib3/pull/2099.patch)
-sha512sums=('95abcbdee8ecaf1dfb86da6c59e1eccce0524264f2b5ce5afb0f14fa577d5c5f255c022b5d51e127825d91f521f50fa2df8bca13b81b535ae3e6760a43be0cf6'
+sha512sums=('7ec93121d346d1629c4fa61ae6fa46139dd000501de642225b03badca8e0fd750f75a71624f50e93510b9fe478b801e8c56f52c2e356fb3e09a57ab1fb1e'
 
'16bc19caf4b0d80ccb7aae7ee0cf4a7b6fef754d6d7b9e3bc0da9197afffa4f587f197c7fdffa56c14d40da806633cd409b5d8136ca4d1acef414afaf42d1e0f')
 
 prepare() {
@@ -40,8 +40,8 @@
 
 check() {
   cd urllib3-$pkgver
-  # TODO: investigate 
test/test_retry.py::TestRetry::test_respect_retry_after_header_sleep
-  python setup.py pytest --addopts "--deselect 
test/test_retry.py::TestRetry::test_respect_retry_after_header_sleep"
+  # TODO: investigate test_respect_retry_after_header_sleep
+  python setup.py pytest --addopts "--deselect 
test/test_retry.py::TestRetry::test_respect_retry_after_header_sleep --deselect 
test/test_retry_deprecated.py::TestRetry::test_respect_retry_after_header_sleep"
 }
 
 package_python-urllib3() {


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

2020-12-22 Thread Felix Yan via arch-commits
Date: Tuesday, December 22, 2020 @ 23:32:31
  Author: felixonmars
Revision: 404864

upgpkg: python-urllib3 1.25.11-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |   23 ---
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-22 22:32:30 UTC (rev 404863)
+++ PKGBUILD2020-12-22 23:32:31 UTC (rev 404864)
@@ -5,25 +5,25 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.25.10
-pkgrel=4
+pkgver=1.25.11
+pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
-url="https://github.com/shazow/urllib3;
+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'
- 'python-brotli')
+ 'python-brotli' 'python-sphinx-furo')
 checkdepends=('python-pytest-runner' 'python-tornado' 'python-nose' 
'python-psutil' 'python-trustme'
-  'python-gcp-devrel-py-tools' 'python-pytest-timeout' 
'python-flaky')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;
-
urllib3-use-brotli.patch::https://github.com/urllib3/urllib3/pull/1620.patch)
-sha512sums=('7927e58de8ef24474179297e6ef7700bb3026a13d578e5bb01e32c6c4b6b5e70cc35980a815e3bcd976678e344250222d38fb86abe0f956e5023deb0f80bc1a1'
-
'86f1dc1c8391a8dc9e9de5ff5243abe10579e363083b496aa3740def20e90969fcb470cbc50c1e0062317b235a697dba5f474d0fe635f94497aeac9abd07a414')
+  'python-gcp-devrel-py-tools' 'python-flaky' 'python-dateutil')
+source=("https://github.com/urllib3/urllib3/archive/$pkgver/$pkgbase-$pkgver.tar.gz;
+
urllib3-use-brotli-new.patch::https://github.com/urllib3/urllib3/pull/2099.patch)
+sha512sums=('95abcbdee8ecaf1dfb86da6c59e1eccce0524264f2b5ce5afb0f14fa577d5c5f255c022b5d51e127825d91f521f50fa2df8bca13b81b535ae3e6760a43be0cf6'
+
'16bc19caf4b0d80ccb7aae7ee0cf4a7b6fef754d6d7b9e3bc0da9197afffa4f587f197c7fdffa56c14d40da806633cd409b5d8136ca4d1acef414afaf42d1e0f')
 
 prepare() {
-  patch -d urllib3-$pkgver -p1 -i ../urllib3-use-brotli.patch
+  patch -d urllib3-$pkgver -p1 -i ../urllib3-use-brotli-new.patch || :
   cp -a urllib3-$pkgver{,-py2}
 }
 
@@ -40,7 +40,8 @@
 
 check() {
   cd urllib3-$pkgver
-  python setup.py pytest
+  # TODO: investigate 
test/test_retry.py::TestRetry::test_respect_retry_after_header_sleep
+  python setup.py pytest --addopts "--deselect 
test/test_retry.py::TestRetry::test_respect_retry_after_header_sleep"
 }
 
 package_python-urllib3() {


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

2020-11-10 Thread Felix Yan via arch-commits
Date: Wednesday, November 11, 2020 @ 06:58:01
  Author: felixonmars
Revision: 400249

upgpkg: python-urllib3 1.25.10-4: Python 3.9 rebuild

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-11 06:57:04 UTC (rev 400248)
+++ PKGBUILD2020-11-11 06:58:01 UTC (rev 400249)
@@ -6,7 +6,7 @@
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
 pkgver=1.25.10
-pkgrel=3
+pkgrel=4
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;


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

2020-11-09 Thread Evangelos Foutras via arch-commits
Date: Tuesday, November 10, 2020 @ 05:00:07
  Author: foutrelis
Revision: 400024

Re-enable docs

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-10 04:59:29 UTC (rev 400023)
+++ PKGBUILD2020-11-10 05:00:07 UTC (rev 400024)
@@ -35,7 +35,7 @@
   python2 setup.py build
 
   cd "$srcdir"/urllib3-$pkgver/docs
-  #make html
+  make html
 }
 
 check() {
@@ -69,6 +69,6 @@
 
   cd urllib3-$pkgver/docs
   install -d "$pkgdir"/usr/share/doc
-  #cp -r _build/html "$pkgdir"/usr/share/doc/python-urllib3
+  cp -r _build/html "$pkgdir"/usr/share/doc/python-urllib3
   install -Dm644 ../LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
 }


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

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 14:49:20
  Author: felixonmars
Revision: 399735

upgpkg: python-urllib3 1.25.10-3: Python 3.9 rebuild

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-09 14:47:23 UTC (rev 399734)
+++ PKGBUILD2020-11-09 14:49:20 UTC (rev 399735)
@@ -6,7 +6,7 @@
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
 pkgver=1.25.10
-pkgrel=2
+pkgrel=3
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;


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

2020-11-09 Thread Evangelos Foutras via arch-commits
Date: Monday, November 9, 2020 @ 14:47:23
  Author: foutrelis
Revision: 399734

Disable docs for Python 3.9 rebuild

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-09 14:18:09 UTC (rev 399733)
+++ PKGBUILD2020-11-09 14:47:23 UTC (rev 399734)
@@ -35,7 +35,7 @@
   python2 setup.py build
 
   cd "$srcdir"/urllib3-$pkgver/docs
-  make html
+  #make html
 }
 
 check() {
@@ -69,6 +69,6 @@
 
   cd urllib3-$pkgver/docs
   install -d "$pkgdir"/usr/share/doc
-  cp -r _build/html "$pkgdir"/usr/share/doc/python-urllib3
+  #cp -r _build/html "$pkgdir"/usr/share/doc/python-urllib3
   install -Dm644 ../LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
 }


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

2020-10-28 Thread Jelle van der Waa via arch-commits
Date: Wednesday, October 28, 2020 @ 22:04:26
  Author: jelle
Revision: 398975

Replace legacy python2-sphinx usage with python-sphinx

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-28 19:48:28 UTC (rev 398974)
+++ PKGBUILD2020-10-28 22:04:26 UTC (rev 398975)
@@ -6,12 +6,12 @@
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
 pkgver=1.25.10
-pkgrel=1
+pkgrel=2
 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' 
'python-ndg-httpsclient'
+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'
  'python-brotli')
@@ -34,9 +34,8 @@
   cd "$srcdir"/urllib3-$pkgver-py2
   python2 setup.py build
 
-  # Build with Python 2 since autodoc produces errors on Python 3
   cd "$srcdir"/urllib3-$pkgver/docs
-  make SPHINXBUILD=sphinx-build2 html
+  make html
 }
 
 check() {


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

2020-07-22 Thread Felix Yan via arch-commits
Date: Wednesday, July 22, 2020 @ 18:42:00
  Author: felixonmars
Revision: 392362

upgpkg: python-urllib3 1.25.10-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-07-22 18:34:22 UTC (rev 392361)
+++ PKGBUILD2020-07-22 18:42:00 UTC (rev 392362)
@@ -5,7 +5,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.25.9
+pkgver=1.25.10
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -19,7 +19,7 @@
   'python-gcp-devrel-py-tools' 'python-pytest-timeout' 
'python-flaky')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;
 
urllib3-use-brotli.patch::https://github.com/urllib3/urllib3/pull/1620.patch)
-sha512sums=('1d71915c0af062d85df8941f37dbefec88a85430f6f28682f74e1b6e18cbea6b49505baddaa707053c429525c91ff6fced03f81b3c1e738409d1ec19a6322bca'
+sha512sums=('7927e58de8ef24474179297e6ef7700bb3026a13d578e5bb01e32c6c4b6b5e70cc35980a815e3bcd976678e344250222d38fb86abe0f956e5023deb0f80bc1a1'
 
'86f1dc1c8391a8dc9e9de5ff5243abe10579e363083b496aa3740def20e90969fcb470cbc50c1e0062317b235a697dba5f474d0fe635f94497aeac9abd07a414')
 
 prepare() {


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

2020-04-17 Thread Felix Yan via arch-commits
Date: Friday, April 17, 2020 @ 19:32:20
  Author: felixonmars
Revision: 380472

upgpkg: python-urllib3 1.25.9-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-17 19:31:44 UTC (rev 380471)
+++ PKGBUILD2020-04-17 19:32:20 UTC (rev 380472)
@@ -5,8 +5,8 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.25.8
-pkgrel=2
+pkgver=1.25.9
+pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;
@@ -19,7 +19,7 @@
   'python-gcp-devrel-py-tools' 'python-pytest-timeout' 
'python-flaky')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;
 
urllib3-use-brotli.patch::https://github.com/urllib3/urllib3/pull/1620.patch)
-sha512sums=('813f8a6d0f848444a7807d9ea46a93b576220ca50d364af2107ca46ff572f828e35c1a076bc477a269f33bf95e430a89d22d8e4de1dc8d8628ae687fa3551d6b'
+sha512sums=('1d71915c0af062d85df8941f37dbefec88a85430f6f28682f74e1b6e18cbea6b49505baddaa707053c429525c91ff6fced03f81b3c1e738409d1ec19a6322bca'
 
'86f1dc1c8391a8dc9e9de5ff5243abe10579e363083b496aa3740def20e90969fcb470cbc50c1e0062317b235a697dba5f474d0fe635f94497aeac9abd07a414')
 
 prepare() {


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

2020-02-25 Thread Felix Yan via arch-commits
Date: Tuesday, February 25, 2020 @ 11:25:16
  Author: felixonmars
Revision: 376184

upgpkg: python-urllib3 1.25.8-2

use brotli

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |   16 +---
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-25 11:15:19 UTC (rev 376183)
+++ PKGBUILD2020-02-25 11:25:16 UTC (rev 376184)
@@ -6,7 +6,7 @@
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
 pkgver=1.25.8
-pkgrel=1
+pkgrel=2
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;
@@ -14,13 +14,16 @@
 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' 
'python-mock' 'python2-mock'
- 'python-brotlipy' 'python2-brotlipy')
+ 'python-brotli')
 checkdepends=('python-pytest-runner' 'python-tornado' 'python-nose' 
'python-psutil' 'python-trustme'
-  'python-gcp-devrel-py-tools')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
-sha512sums=('813f8a6d0f848444a7807d9ea46a93b576220ca50d364af2107ca46ff572f828e35c1a076bc477a269f33bf95e430a89d22d8e4de1dc8d8628ae687fa3551d6b')
+  'python-gcp-devrel-py-tools' 'python-pytest-timeout' 
'python-flaky')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;
+
urllib3-use-brotli.patch::https://github.com/urllib3/urllib3/pull/1620.patch)
+sha512sums=('813f8a6d0f848444a7807d9ea46a93b576220ca50d364af2107ca46ff572f828e35c1a076bc477a269f33bf95e430a89d22d8e4de1dc8d8628ae687fa3551d6b'
+
'86f1dc1c8391a8dc9e9de5ff5243abe10579e363083b496aa3740def20e90969fcb470cbc50c1e0062317b235a697dba5f474d0fe635f94497aeac9abd07a414')
 
 prepare() {
+  patch -d urllib3-$pkgver -p1 -i ../urllib3-use-brotli.patch
   cp -a urllib3-$pkgver{,-py2}
 }
 
@@ -44,7 +47,7 @@
 package_python-urllib3() {
   depends=('python')
   optdepends=('python-pysocks: SOCKS support'
-  'python-brotlipy: Brotli support'
+  'python-brotli: Brotli support'
   'python-pyopenssl: security support')
 
   cd urllib3-$pkgver
@@ -55,7 +58,6 @@
 package_python2-urllib3() {
   depends=('python2')
   optdepends=('python2-pysocks: SOCKS support'
-  'python2-brotlipy: Brotli support'
   'python2-pyopenssl: security support')
 
   cd urllib3-$pkgver-py2


[arch-commits] Commit in python-urllib3/trunk (PKGBUILD https-test-fix.patch)

2020-01-21 Thread Felix Yan via arch-commits
Date: Wednesday, January 22, 2020 @ 06:59:12
  Author: felixonmars
Revision: 373771

upgpkg: python-urllib3 1.25.8-1

Modified:
  python-urllib3/trunk/PKGBUILD
Deleted:
  python-urllib3/trunk/https-test-fix.patch

--+
 PKGBUILD |   13 +++--
 https-test-fix.patch |   11 ---
 2 files changed, 3 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-21 20:13:20 UTC (rev 373770)
+++ PKGBUILD2020-01-22 06:59:12 UTC (rev 373771)
@@ -5,7 +5,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.25.7
+pkgver=1.25.8
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -17,17 +17,10 @@
  'python-brotlipy' 'python2-brotlipy')
 checkdepends=('python-pytest-runner' 'python-tornado' 'python-nose' 
'python-psutil' 'python-trustme'
   'python-gcp-devrel-py-tools')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;
-https-test-fix.patch
-tornado-6.patch::https://github.com/urllib3/urllib3/pull/1747.patch)
-sha512sums=('bbf55a1d46fe799b98c311bdb47628c14719d5b3ae00fb27515da774d8f7c043ff79a9684f12b133101574527531d4a79134fe67e28dad518d429e55f82e0c59'
-
'e2b6f1910680c4da9fb8afb1a5f15d2aea001b832c6b904feaca635643d61cd2afb97dc535c91d242e3d3aad75c7a44c65573a286df1cbcf361379fd32c4574c'
-
'65cde58ac3a2ce7eea94ec44693ef131e136e4f98b33b7fc78425aad14b5c89009db67d273de25d4789ddef5001d6ef7f7e8dd447436dee5377c4735dcb59cfd')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
+sha512sums=('813f8a6d0f848444a7807d9ea46a93b576220ca50d364af2107ca46ff572f828e35c1a076bc477a269f33bf95e430a89d22d8e4de1dc8d8628ae687fa3551d6b')
 
 prepare() {
-  #sed -i 's/pytest/tool:pytest/' urllib3-$pkgver/setup.cfg
-  patch -d urllib3-$pkgver -p1 -i ../tornado-6.patch
-  patch -d urllib3-$pkgver -p1 -i ../https-test-fix.patch
   cp -a urllib3-$pkgver{,-py2}
 }
 

Deleted: https-test-fix.patch
===
--- https-test-fix.patch2020-01-21 20:13:20 UTC (rev 373770)
+++ https-test-fix.patch2020-01-22 06:59:12 UTC (rev 373771)
@@ -1,11 +0,0 @@
-diff --git a/test/with_dummyserver/test_https.py 
b/test/with_dummyserver/test_https.py
-index b322c75c..a54e70e6 100644
 a/test/with_dummyserver/test_https.py
-+++ b/test/with_dummyserver/test_https.py
-@@ -155,6 +155,7 @@ class TestHTTPS(HTTPSDummyServerTestCase):
- # Python 3.7.4+
- or "WSAECONNRESET" in str(e)  # Windows
- or "EPIPE" in str(e)  # macOS
-+or "ECONNRESET" in str(e)
- ):
- raise
\ No newline at end of file


[arch-commits] Commit in python-urllib3/trunk (PKGBUILD https-test-fix.patch)

2019-11-15 Thread Felix Yan via arch-commits
Date: Friday, November 15, 2019 @ 18:17:29
  Author: felixonmars
Revision: 368934

upgpkg: python-urllib3 1.25.7-1

Added:
  python-urllib3/trunk/https-test-fix.patch
Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |   30 +++---
 https-test-fix.patch |   11 +++
 2 files changed, 26 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-15 17:47:21 UTC (rev 368933)
+++ PKGBUILD2019-11-15 18:17:29 UTC (rev 368934)
@@ -5,8 +5,8 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.25.6
-pkgrel=4
+pkgver=1.25.7
+pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;
@@ -15,14 +15,19 @@
  'python2-ndg-httpsclient' 'python-pyasn1' 'python2-pyasn1' 
'python-pyopenssl'
  'python2-pyopenssl' 'python-pysocks' 'python2-pysocks' 
'python-mock' 'python2-mock'
  'python-brotlipy' 'python2-brotlipy')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-tornado' 
'python2-tornado'
-  'python-nose' 'python2-nose' 'python-psutil' 'python2-psutil'
-  'python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
-sha512sums=('02457492406fff3a61143d695df8304fc66a31f2646ca05ccacd9f2e5f86560e4c68a1f7f4702d6402b9d4d899145b15b125e56b3bc273012b0306ca4d0d7927')
+checkdepends=('python-pytest-runner' 'python-tornado' 'python-nose' 
'python-psutil' 'python-trustme'
+  'python-gcp-devrel-py-tools')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;
+https-test-fix.patch
+tornado-6.patch::https://github.com/urllib3/urllib3/pull/1747.patch)
+sha512sums=('bbf55a1d46fe799b98c311bdb47628c14719d5b3ae00fb27515da774d8f7c043ff79a9684f12b133101574527531d4a79134fe67e28dad518d429e55f82e0c59'
+
'e2b6f1910680c4da9fb8afb1a5f15d2aea001b832c6b904feaca635643d61cd2afb97dc535c91d242e3d3aad75c7a44c65573a286df1cbcf361379fd32c4574c'
+
'65cde58ac3a2ce7eea94ec44693ef131e136e4f98b33b7fc78425aad14b5c89009db67d273de25d4789ddef5001d6ef7f7e8dd447436dee5377c4735dcb59cfd')
 
 prepare() {
-  sed -i 's/pytest/tool:pytest/' urllib3-$pkgver/setup.cfg
+  #sed -i 's/pytest/tool:pytest/' urllib3-$pkgver/setup.cfg
+  patch -d urllib3-$pkgver -p1 -i ../tornado-6.patch
+  patch -d urllib3-$pkgver -p1 -i ../https-test-fix.patch
   cp -a urllib3-$pkgver{,-py2}
 }
 
@@ -39,13 +44,8 @@
 }
 
 check() {
-  # Tests do not support Tornado 5
-
-  cd "$srcdir"/urllib3-$pkgver
-  python setup.py pytest || warning "Tests failed"
-
-  cd "$srcdir"/urllib3-$pkgver-py2
-  python2 setup.py pytest || warning "Tests failed"
+  cd urllib3-$pkgver
+  python setup.py pytest
 }
 
 package_python-urllib3() {

Added: https-test-fix.patch
===
--- https-test-fix.patch(rev 0)
+++ https-test-fix.patch2019-11-15 18:17:29 UTC (rev 368934)
@@ -0,0 +1,11 @@
+diff --git a/test/with_dummyserver/test_https.py 
b/test/with_dummyserver/test_https.py
+index b322c75c..a54e70e6 100644
+--- a/test/with_dummyserver/test_https.py
 b/test/with_dummyserver/test_https.py
+@@ -155,6 +155,7 @@ class TestHTTPS(HTTPSDummyServerTestCase):
+ # Python 3.7.4+
+ or "WSAECONNRESET" in str(e)  # Windows
+ or "EPIPE" in str(e)  # macOS
++or "ECONNRESET" in str(e)
+ ):
+ raise
\ No newline at end of file


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

2019-10-27 Thread Felix Yan via arch-commits
Date: Sunday, October 27, 2019 @ 07:11:10
  Author: felixonmars
Revision: 365924

Python 3.8 rebuild

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-27 07:10:30 UTC (rev 365923)
+++ PKGBUILD2019-10-27 07:11:10 UTC (rev 365924)
@@ -6,7 +6,7 @@
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
 pkgver=1.25.6
-pkgrel=3
+pkgrel=4
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;


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

2019-10-25 Thread Evangelos Foutras via arch-commits
Date: Friday, October 25, 2019 @ 14:59:04
  Author: foutrelis
Revision: 365581

Python 3.8 rebuild

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 14:58:51 UTC (rev 365580)
+++ PKGBUILD2019-10-25 14:59:04 UTC (rev 365581)
@@ -6,7 +6,7 @@
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
 pkgver=1.25.6
-pkgrel=2
+pkgrel=3
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;


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

2019-10-25 Thread Evangelos Foutras via arch-commits
Date: Friday, October 25, 2019 @ 14:13:36
  Author: foutrelis
Revision: 365560

Python 3.8 rebuild

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 14:13:18 UTC (rev 365559)
+++ PKGBUILD2019-10-25 14:13:36 UTC (rev 365560)
@@ -6,7 +6,7 @@
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
 pkgver=1.25.6
-pkgrel=1
+pkgrel=2
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;


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

2019-10-10 Thread Felix Yan via arch-commits
Date: Thursday, October 10, 2019 @ 19:49:00
  Author: felixonmars
Revision: 364579

upgpkg: python-urllib3 1.25.6-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-10-10 15:25:57 UTC (rev 364578)
+++ PKGBUILD2019-10-10 19:49:00 UTC (rev 364579)
@@ -5,7 +5,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.25.5
+pkgver=1.25.6
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -19,7 +19,7 @@
   'python-nose' 'python2-nose' 'python-psutil' 'python2-psutil'
   'python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
-sha512sums=('93508f525e59b8769e27e680ea3bf04475683e95bcc3ce1f7df5b23536865687b64a88b97e585c1b06deab917fa7fa8afade78006fd93b63287aa53eb0be871b')
+sha512sums=('02457492406fff3a61143d695df8304fc66a31f2646ca05ccacd9f2e5f86560e4c68a1f7f4702d6402b9d4d899145b15b125e56b3bc273012b0306ca4d0d7927')
 
 prepare() {
   sed -i 's/pytest/tool:pytest/' urllib3-$pkgver/setup.cfg


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

2019-09-20 Thread Felix Yan via arch-commits
Date: Friday, September 20, 2019 @ 20:43:25
  Author: felixonmars
Revision: 363169

upgpkg: python-urllib3 1.25.5-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-09-20 20:33:00 UTC (rev 363168)
+++ PKGBUILD2019-09-20 20:43:25 UTC (rev 363169)
@@ -5,7 +5,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.25.4
+pkgver=1.25.5
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -19,7 +19,7 @@
   'python-nose' 'python2-nose' 'python-psutil' 'python2-psutil'
   'python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
-sha512sums=('b1b598d98644d293471a92a2e7d096d19ade0dd33b43c1af9a30a713cbfefd5cfc583a4cf240725b5b5d33a1c6ad351811310209befb7460a8b6a07dc226119d')
+sha512sums=('93508f525e59b8769e27e680ea3bf04475683e95bcc3ce1f7df5b23536865687b64a88b97e585c1b06deab917fa7fa8afade78006fd93b63287aa53eb0be871b')
 
 prepare() {
   sed -i 's/pytest/tool:pytest/' urllib3-$pkgver/setup.cfg


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

2019-09-19 Thread Felix Yan via arch-commits
Date: Thursday, September 19, 2019 @ 17:40:44
  Author: felixonmars
Revision: 363083

upgpkg: python-urllib3 1.25.4-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-09-19 17:30:05 UTC (rev 363082)
+++ PKGBUILD2019-09-19 17:40:44 UTC (rev 363083)
@@ -5,7 +5,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.25.3
+pkgver=1.25.4
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -19,7 +19,7 @@
   'python-nose' 'python2-nose' 'python-psutil' 'python2-psutil'
   'python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
-sha512sums=('86556d486c5aac9c3c7875d1440317c3be3924f67f4377a99e15892a39f532330d07f9dec5c5a1ed8b20957d2c611e78a97bd9d1684acff3069cd7debbbaa001')
+sha512sums=('b1b598d98644d293471a92a2e7d096d19ade0dd33b43c1af9a30a713cbfefd5cfc583a4cf240725b5b5d33a1c6ad351811310209befb7460a8b6a07dc226119d')
 
 prepare() {
   sed -i 's/pytest/tool:pytest/' urllib3-$pkgver/setup.cfg


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

2019-05-23 Thread Felix Yan via arch-commits
Date: Friday, May 24, 2019 @ 04:22:37
  Author: felixonmars
Revision: 353930

upgpkg: python-urllib3 1.25.3-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-05-24 04:00:16 UTC (rev 353929)
+++ PKGBUILD2019-05-24 04:22:37 UTC (rev 353930)
@@ -5,7 +5,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.25.2
+pkgver=1.25.3
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -19,7 +19,7 @@
   'python-nose' 'python2-nose' 'python-psutil' 'python2-psutil'
   'python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
-sha512sums=('c90ceb16e00757721084885463aea68cf75674bf334303b8ac05d2ecbda074e4990b5f23c5eaf685077341ae6f6f8be09e4c9e56d4f884075c278db9f9114a5b')
+sha512sums=('86556d486c5aac9c3c7875d1440317c3be3924f67f4377a99e15892a39f532330d07f9dec5c5a1ed8b20957d2c611e78a97bd9d1684acff3069cd7debbbaa001')
 
 prepare() {
   sed -i 's/pytest/tool:pytest/' urllib3-$pkgver/setup.cfg


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

2019-04-29 Thread Felix Yan via arch-commits
Date: Monday, April 29, 2019 @ 15:20:05
  Author: felixonmars
Revision: 352233

upgpkg: python-urllib3 1.25.2-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-04-29 15:13:30 UTC (rev 352232)
+++ PKGBUILD2019-04-29 15:20:05 UTC (rev 352233)
@@ -5,7 +5,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.25.1
+pkgver=1.25.2
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -19,7 +19,7 @@
   'python-nose' 'python2-nose' 'python-psutil' 'python2-psutil'
   'python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
-sha512sums=('52231e6120140e444d5255a53fd8719441f88d34f810c2a561ae0a480fe19f210eb6f941404974dfc7e90ee7326e50139557421df037abd4a4387912d49dac35')
+sha512sums=('c90ceb16e00757721084885463aea68cf75674bf334303b8ac05d2ecbda074e4990b5f23c5eaf685077341ae6f6f8be09e4c9e56d4f884075c278db9f9114a5b')
 
 prepare() {
   sed -i 's/pytest/tool:pytest/' urllib3-$pkgver/setup.cfg


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

2019-04-24 Thread Felix Yan via arch-commits
Date: Wednesday, April 24, 2019 @ 20:52:02
  Author: felixonmars
Revision: 352088

upgpkg: python-urllib3 1.25.1-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-04-24 20:49:29 UTC (rev 352087)
+++ PKGBUILD2019-04-24 20:52:02 UTC (rev 352088)
@@ -5,7 +5,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.25
+pkgver=1.25.1
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -19,7 +19,7 @@
   'python-nose' 'python2-nose' 'python-psutil' 'python2-psutil'
   'python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
-sha512sums=('91a360629fe691f789597810338f369c481ae81c92d10a2b4e413d1bca0dc685a2c150faa20f9793e1ad6cf993837a9bddd1637d069901a25aa027f1b77127b2')
+sha512sums=('52231e6120140e444d5255a53fd8719441f88d34f810c2a561ae0a480fe19f210eb6f941404974dfc7e90ee7326e50139557421df037abd4a4387912d49dac35')
 
 prepare() {
   sed -i 's/pytest/tool:pytest/' urllib3-$pkgver/setup.cfg


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

2019-04-23 Thread Felix Yan via arch-commits
Date: Tuesday, April 23, 2019 @ 13:01:41
  Author: felixonmars
Revision: 351977

upgpkg: python-urllib3 1.25-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-23 11:34:10 UTC (rev 351976)
+++ PKGBUILD2019-04-23 13:01:41 UTC (rev 351977)
@@ -5,7 +5,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.24.2
+pkgver=1.25
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -19,9 +19,10 @@
   'python-nose' 'python2-nose' 'python-psutil' 'python2-psutil'
   'python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
-sha512sums=('08e8d896f57eb9af5511d07002859f87f2a7bddbd5e66468908188dfe13d2e3985a8cdd2da12d06d0b337945ca8314c1f026d4e82badf23a09bf686fa121e863')
+sha512sums=('91a360629fe691f789597810338f369c481ae81c92d10a2b4e413d1bca0dc685a2c150faa20f9793e1ad6cf993837a9bddd1637d069901a25aa027f1b77127b2')
 
 prepare() {
+  sed -i 's/pytest/tool:pytest/' urllib3-$pkgver/setup.cfg
   cp -a urllib3-$pkgver{,-py2}
 }
 


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

2019-04-20 Thread Felix Yan via arch-commits
Date: Saturday, April 20, 2019 @ 18:50:27
  Author: felixonmars
Revision: 351525

upgpkg: python-urllib3 1.24.2-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-04-20 18:47:46 UTC (rev 351524)
+++ PKGBUILD2019-04-20 18:50:27 UTC (rev 351525)
@@ -5,8 +5,8 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.24.1
-pkgrel=2
+pkgver=1.24.2
+pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;
@@ -19,7 +19,7 @@
   'python-nose' 'python2-nose' 'python-psutil' 'python2-psutil'
   'python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
-sha512sums=('2f5453cf0ec1b65de9a9fca0fdb45664f7481507c875b7115c063cb177628b4b611377e588508ab8433e0797fc78b60fd3ea5cc5ac0a3f105d36bfff9a56f1f4')
+sha512sums=('08e8d896f57eb9af5511d07002859f87f2a7bddbd5e66468908188dfe13d2e3985a8cdd2da12d06d0b337945ca8314c1f026d4e82badf23a09bf686fa121e863')
 
 prepare() {
   cp -a urllib3-$pkgver{,-py2}


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

2019-02-12 Thread Felix Yan via arch-commits
Date: Tuesday, February 12, 2019 @ 10:27:22
  Author: felixonmars
Revision: 346042

upgpkg: python-urllib3 1.24.1-2

update optdepends

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |   13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-12 09:39:03 UTC (rev 346041)
+++ PKGBUILD2019-02-12 10:27:22 UTC (rev 346042)
@@ -6,7 +6,7 @@
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
 pkgver=1.24.1
-pkgrel=1
+pkgrel=2
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;
@@ -13,7 +13,8 @@
 license=("MIT")
 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' 
'python-mock' 'python2-mock')
+ 'python2-pyopenssl' 'python-pysocks' 'python2-pysocks' 
'python-mock' 'python2-mock'
+ 'python-brotlipy' 'python2-brotlipy')
 checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-tornado' 
'python2-tornado'
   'python-nose' 'python2-nose' 'python-psutil' 'python2-psutil'
   'python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
@@ -48,7 +49,9 @@
 
 package_python-urllib3() {
   depends=('python')
-  optdepends=('python-pysocks: SOCKS support')
+  optdepends=('python-pysocks: SOCKS support'
+  'python-brotlipy: Brotli support'
+  'python-pyopenssl: security support')
 
   cd urllib3-$pkgver
   python setup.py install --root="$pkgdir"
@@ -57,7 +60,9 @@
 
 package_python2-urllib3() {
   depends=('python2')
-  optdepends=('python2-pysocks: SOCKS support')
+  optdepends=('python2-pysocks: SOCKS support'
+  'python2-brotlipy: Brotli support'
+  'python2-pyopenssl: security support')
 
   cd urllib3-$pkgver-py2
   python2 setup.py install --root="$pkgdir"


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

2018-11-02 Thread Felix Yan via arch-commits
Date: Saturday, November 3, 2018 @ 05:46:23
  Author: felixonmars
Revision: 337752

upgpkg: python-urllib3 1.24.1-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-02 19:12:23 UTC (rev 337751)
+++ PKGBUILD2018-11-03 05:46:23 UTC (rev 337752)
@@ -5,7 +5,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.24
+pkgver=1.24.1
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -18,7 +18,7 @@
   'python-nose' 'python2-nose' 'python-psutil' 'python2-psutil'
   'python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
-sha512sums=('43fce3898c38fa1971f13d31f267b9fa22e7f142d80ca437e5443e61f3aed8e252f682573497743fd1bafabaae57383b5333fc2031484620a69eff068f239a58')
+sha512sums=('2f5453cf0ec1b65de9a9fca0fdb45664f7481507c875b7115c063cb177628b4b611377e588508ab8433e0797fc78b60fd3ea5cc5ac0a3f105d36bfff9a56f1f4')
 
 prepare() {
   cp -a urllib3-$pkgver{,-py2}


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

2018-10-16 Thread Felix Yan via arch-commits
Date: Wednesday, October 17, 2018 @ 04:53:24
  Author: felixonmars
Revision: 336781

upgpkg: python-urllib3 1.24-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-10-17 04:48:46 UTC (rev 336780)
+++ PKGBUILD2018-10-17 04:53:24 UTC (rev 336781)
@@ -5,8 +5,8 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.23
-pkgrel=2
+pkgver=1.24
+pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;
@@ -18,7 +18,7 @@
   'python-nose' 'python2-nose' 'python-psutil' 'python2-psutil'
   'python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
-sha512sums=('1d9eccdd2f939a1029fb6e49c45409b3a493f38b5880bba45a6e8a8088c0478190807b1fe7341b22abe363809ef41c5367de831de9618bcc62f34cb9f0cbc7af')
+sha512sums=('43fce3898c38fa1971f13d31f267b9fa22e7f142d80ca437e5443e61f3aed8e252f682573497743fd1bafabaae57383b5333fc2031484620a69eff068f239a58')
 
 prepare() {
   cp -a urllib3-$pkgver{,-py2}


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

2018-06-30 Thread Felix Yan via arch-commits
Date: Saturday, June 30, 2018 @ 08:55:07
  Author: felixonmars
Revision: 327830

upgpkg: python-urllib3 1.23-2

Python 3.7 rebuild

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-30 08:33:37 UTC (rev 327829)
+++ PKGBUILD2018-06-30 08:55:07 UTC (rev 327830)
@@ -7,7 +7,7 @@
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
 pkgver=1.23
-pkgrel=1
+pkgrel=2
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;
@@ -38,11 +38,13 @@
 }
 
 check() {
+  # Tests do not support Tornado 5
+
   cd "$srcdir"/urllib3-$pkgver
-  python setup.py pytest
+  python setup.py pytest || warning "Tests failed"
 
   cd "$srcdir"/urllib3-$pkgver-py2
-  python2 setup.py pytest
+  python2 setup.py pytest || warning "Tests failed"
 }
 
 package_python-urllib3() {


[arch-commits] Commit in python-urllib3/trunk (PKGBUILD tornado-4.3.patch)

2018-06-04 Thread Felix Yan via arch-commits
Date: Tuesday, June 5, 2018 @ 04:00:54
  Author: felixonmars
Revision: 325874

upgpkg: python-urllib3 1.23-1

Modified:
  python-urllib3/trunk/PKGBUILD
Deleted:
  python-urllib3/trunk/tornado-4.3.patch

---+
 PKGBUILD  |   11 +++
 tornado-4.3.patch |   23 ---
 2 files changed, 3 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-05 04:00:38 UTC (rev 325873)
+++ PKGBUILD2018-06-05 04:00:54 UTC (rev 325874)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.22
+pkgver=1.23
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -18,15 +18,10 @@
 checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-tornado' 
'python2-tornado'
   'python-nose' 'python2-nose' 'python-psutil' 'python2-psutil'
   'python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;
-tornado-4.3.patch)
-sha512sums=('1b45a4a64e71847a4fc62b9263235d5b05b62076698fa324454efeb7ad065abd702cc9eadb2d396d9270b07e91e9bad94c52a4b9b115aadccb27f81955e6feab'
-
'7c09acefa963a80379f8b2f3f2c2c7546ec62025058c1ae024bc954d49392d7956b8b3ceaed40b3d3ab06bcf9c74bfb4214425b66cc55c50ffc2642e2d35c498')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
+sha512sums=('1d9eccdd2f939a1029fb6e49c45409b3a493f38b5880bba45a6e8a8088c0478190807b1fe7341b22abe363809ef41c5367de831de9618bcc62f34cb9f0cbc7af')
 
 prepare() {
-  # https://github.com/shazow/urllib3/pull/1236
-  (cd urllib3-$pkgver; patch -p1 -i ../tornado-4.3.patch)
-
   cp -a urllib3-$pkgver{,-py2}
 }
 

Deleted: tornado-4.3.patch
===
--- tornado-4.3.patch   2018-06-05 04:00:38 UTC (rev 325873)
+++ tornado-4.3.patch   2018-06-05 04:00:54 UTC (rev 325874)
@@ -1,23 +0,0 @@
-From 39eebb652db570cf51994f404da3dd91c8a9f4cc Mon Sep 17 00:00:00 2001
-From: Felix Yan 
-Date: Fri, 21 Jul 2017 23:25:35 +0800
-Subject: [PATCH] Fix compatibility with tornado 4.3+
-
-`HTTPHeaders` is not JSON serializable, so make it a dict first.

- dummyserver/handlers.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/dummyserver/handlers.py b/dummyserver/handlers.py
-index a943b836b..b91fe7215 100644
 a/dummyserver/handlers.py
-+++ b/dummyserver/handlers.py
-@@ -225,7 +225,7 @@ def encodingrequest(self, request):
- return Response(data, headers=headers)
- 
- def headers(self, request):
--return Response(json.dumps(request.headers))
-+return Response(json.dumps(dict(request.headers)))
- 
- def successful_retry(self, request):
- """ Handler which will return an error and then success


[arch-commits] Commit in python-urllib3/trunk (PKGBUILD tornado-4.3.patch)

2017-07-21 Thread Felix Yan
Date: Friday, July 21, 2017 @ 15:28:16
  Author: felixonmars
Revision: 300888

upgpkg: python-urllib3 1.22-1

Added:
  python-urllib3/trunk/tornado-4.3.patch
Modified:
  python-urllib3/trunk/PKGBUILD

---+
 PKGBUILD  |   20 +---
 tornado-4.3.patch |   23 +++
 2 files changed, 36 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-07-21 14:03:34 UTC (rev 300887)
+++ PKGBUILD2017-07-21 15:28:16 UTC (rev 300888)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.21.1
+pkgver=1.22
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -15,12 +15,18 @@
 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' 
'python-mock' 'python2-mock')
-checkdepends=('python-nose' 'python2-nose' 'python-tornado' 'python2-tornado' 
'python-coverage'
-  'python2-coverage' 'python-psutil' 'python2-psutil')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
-md5sums=('b0a2c692ea273dc120b209a027b0df3c')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-tornado' 
'python2-tornado'
+  'python-nose' 'python2-nose' 'python-psutil' 'python2-psutil'
+  'python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;
+tornado-4.3.patch)
+sha512sums=('1b45a4a64e71847a4fc62b9263235d5b05b62076698fa324454efeb7ad065abd702cc9eadb2d396d9270b07e91e9bad94c52a4b9b115aadccb27f81955e6feab'
+
'7c09acefa963a80379f8b2f3f2c2c7546ec62025058c1ae024bc954d49392d7956b8b3ceaed40b3d3ab06bcf9c74bfb4214425b66cc55c50ffc2642e2d35c498')
 
 prepare() {
+  # https://github.com/shazow/urllib3/pull/1236
+  (cd urllib3-$pkgver; patch -p1 -i ../tornado-4.3.patch)
+
   cp -a urllib3-$pkgver{,-py2}
 }
 
@@ -38,10 +44,10 @@
 
 check() {
   cd "$srcdir"/urllib3-$pkgver
-  nosetests3 || warning "Tests failed"
+  python setup.py pytest
 
   cd "$srcdir"/urllib3-$pkgver-py2
-  nosetests2 || warning "Tests failed"
+  python2 setup.py pytest
 }
 
 package_python-urllib3() {

Added: tornado-4.3.patch
===
--- tornado-4.3.patch   (rev 0)
+++ tornado-4.3.patch   2017-07-21 15:28:16 UTC (rev 300888)
@@ -0,0 +1,23 @@
+From 39eebb652db570cf51994f404da3dd91c8a9f4cc Mon Sep 17 00:00:00 2001
+From: Felix Yan 
+Date: Fri, 21 Jul 2017 23:25:35 +0800
+Subject: [PATCH] Fix compatibility with tornado 4.3+
+
+`HTTPHeaders` is not JSON serializable, so make it a dict first.
+---
+ dummyserver/handlers.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dummyserver/handlers.py b/dummyserver/handlers.py
+index a943b836b..b91fe7215 100644
+--- a/dummyserver/handlers.py
 b/dummyserver/handlers.py
+@@ -225,7 +225,7 @@ def encodingrequest(self, request):
+ return Response(data, headers=headers)
+ 
+ def headers(self, request):
+-return Response(json.dumps(request.headers))
++return Response(json.dumps(dict(request.headers)))
+ 
+ def successful_retry(self, request):
+ """ Handler which will return an error and then success


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

2017-05-03 Thread Felix Yan
Date: Thursday, May 4, 2017 @ 03:58:17
  Author: felixonmars
Revision: 295253

upgpkg: python-urllib3 1.21.1-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-05-03 20:55:21 UTC (rev 295252)
+++ PKGBUILD2017-05-04 03:58:17 UTC (rev 295253)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.21
+pkgver=1.21.1
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -18,7 +18,7 @@
 checkdepends=('python-nose' 'python2-nose' 'python-tornado' 'python2-tornado' 
'python-coverage'
   'python2-coverage' 'python-psutil' 'python2-psutil')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
-md5sums=('b317785471310e3879c3fac7da83ad2b')
+md5sums=('b0a2c692ea273dc120b209a027b0df3c')
 
 prepare() {
   cp -a urllib3-$pkgver{,-py2}


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

2017-04-25 Thread Felix Yan
Date: Wednesday, April 26, 2017 @ 02:20:27
  Author: felixonmars
Revision: 294710

upgpkg: python-urllib3 1.21-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |   27 +--
 1 file changed, 13 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-26 01:46:51 UTC (rev 294709)
+++ PKGBUILD2017-04-26 02:20:27 UTC (rev 294710)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.20
+pkgver=1.21
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -14,34 +14,33 @@
 license=("MIT")
 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' 
'python-mock' 'python2-mock'
- 'git')
+ 'python2-pyopenssl' 'python-pysocks' 'python2-pysocks' 
'python-mock' 'python2-mock')
 checkdepends=('python-nose' 'python2-nose' 'python-tornado' 'python2-tornado' 
'python-coverage'
   'python2-coverage' 'python-psutil' 'python2-psutil')
-source=("git+https://github.com/shazow/urllib3.git#tag=$pkgver;)
-md5sums=('SKIP')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;)
+md5sums=('b317785471310e3879c3fac7da83ad2b')
 
 prepare() {
-  cp -a urllib3{,-py2}
+  cp -a urllib3-$pkgver{,-py2}
 }
 
 build() {
-  cd "$srcdir"/urllib3
+  cd "$srcdir"/urllib3-$pkgver
   python setup.py build
 
-  cd "$srcdir"/urllib3-py2
+  cd "$srcdir"/urllib3-$pkgver-py2
   python2 setup.py build
 
   # Build with Python 2 since autodoc produces errors on Python 3
-  cd "$srcdir"/urllib3/docs
+  cd "$srcdir"/urllib3-$pkgver/docs
   make SPHINXBUILD=sphinx-build2 html
 }
 
 check() {
-  cd "$srcdir"/urllib3
+  cd "$srcdir"/urllib3-$pkgver
   nosetests3 || warning "Tests failed"
 
-  cd "$srcdir"/urllib3-py2
+  cd "$srcdir"/urllib3-$pkgver-py2
   nosetests2 || warning "Tests failed"
 }
 
@@ -49,7 +48,7 @@
   depends=('python')
   optdepends=('python-pysocks: SOCKS support')
 
-  cd urllib3
+  cd urllib3-$pkgver
   python setup.py install --root="$pkgdir"
   install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
 }
@@ -58,7 +57,7 @@
   depends=('python2')
   optdepends=('python2-pysocks: SOCKS support')
 
-  cd urllib3-py2
+  cd urllib3-$pkgver-py2
   python2 setup.py install --root="$pkgdir"
   install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
 }
@@ -66,7 +65,7 @@
 package_python-urllib3-doc() {
   pkgdesc="urllib3 Documentation"
 
-  cd urllib3/docs
+  cd urllib3-$pkgver/docs
   install -d "$pkgdir"/usr/share/doc
   cp -r _build/html "$pkgdir"/usr/share/doc/python-urllib3
   install -Dm644 ../LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt


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

2017-01-20 Thread Felix Yan
Date: Saturday, January 21, 2017 @ 03:20:40
  Author: felixonmars
Revision: 287057

upgpkg: python-urllib3 1.20-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-01-21 01:15:53 UTC (rev 287056)
+++ PKGBUILD2017-01-21 03:20:40 UTC (rev 287057)
@@ -6,8 +6,8 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.19.1
-pkgrel=2
+pkgver=1.20
+pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;
@@ -17,7 +17,7 @@
  'python2-pyopenssl' 'python-pysocks' 'python2-pysocks' 
'python-mock' 'python2-mock'
  'git')
 checkdepends=('python-nose' 'python2-nose' 'python-tornado' 'python2-tornado' 
'python-coverage'
-  'python2-coverage')
+  'python2-coverage' 'python-psutil' 'python2-psutil')
 source=("git+https://github.com/shazow/urllib3.git#tag=$pkgver;)
 md5sums=('SKIP')
 
@@ -38,8 +38,6 @@
 }
 
 check() {
-  # Failures are related to missing SSLv3
-
   cd "$srcdir"/urllib3
   nosetests3 || warning "Tests failed"
 


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

2016-12-24 Thread Evangelos Foutras
Date: Saturday, December 24, 2016 @ 18:47:53
  Author: foutrelis
Revision: 284683

Python 3.6 rebuild

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-24 18:30:55 UTC (rev 284682)
+++ PKGBUILD2016-12-24 18:47:53 UTC (rev 284683)
@@ -7,7 +7,7 @@
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
 pkgver=1.19.1
-pkgrel=1
+pkgrel=2
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;


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

2016-11-18 Thread Felix Yan
Date: Friday, November 18, 2016 @ 14:18:48
  Author: felixonmars
Revision: 281054

mock should be in makedepends (FS#51858)

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-11-18 12:17:16 UTC (rev 281053)
+++ PKGBUILD2016-11-18 14:18:48 UTC (rev 281054)
@@ -14,9 +14,10 @@
 license=("MIT")
 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')
+ 'python2-pyopenssl' 'python-pysocks' 'python2-pysocks' 
'python-mock' 'python2-mock'
+ 'git')
+checkdepends=('python-nose' 'python2-nose' 'python-tornado' 'python2-tornado' 
'python-coverage'
+  'python2-coverage')
 source=("git+https://github.com/shazow/urllib3.git#tag=$pkgver;)
 md5sums=('SKIP')
 


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

2016-11-16 Thread Felix Yan
Date: Thursday, November 17, 2016 @ 05:21:51
  Author: felixonmars
Revision: 280906

upgpkg: python-urllib3 1.19.1-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-11-16 21:20:43 UTC (rev 280905)
+++ PKGBUILD2016-11-17 05:21:51 UTC (rev 280906)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.19
+pkgver=1.19.1
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")


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

2016-11-03 Thread Felix Yan
Date: Friday, November 4, 2016 @ 02:56:47
  Author: felixonmars
Revision: 279825

upgpkg: python-urllib3 1.19-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-11-04 02:40:11 UTC (rev 279824)
+++ PKGBUILD2016-11-04 02:56:47 UTC (rev 279825)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.18.1
+pkgver=1.19
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")


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

2016-10-27 Thread Felix Yan
Date: Friday, October 28, 2016 @ 03:07:45
  Author: felixonmars
Revision: 279361

upgpkg: python-urllib3 1.18.1-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-10-27 22:25:56 UTC (rev 279360)
+++ PKGBUILD2016-10-28 03:07:45 UTC (rev 279361)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.18
+pkgver=1.18.1
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")


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

2016-09-26 Thread Felix Yan
Date: Tuesday, September 27, 2016 @ 03:41:37
  Author: felixonmars
Revision: 276999

upgpkg: python-urllib3 1.18-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-09-26 21:23:52 UTC (rev 276998)
+++ PKGBUILD2016-09-27 03:41:37 UTC (rev 276999)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.17
+pkgver=1.18
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")


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

2016-09-07 Thread Felix Yan
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
===
--- PKGBUILD2016-09-07 07:25:04 UTC (rev 275797)
+++ PKGBUILD2016-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"


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

2016-06-12 Thread Felix Yan
Date: Sunday, June 12, 2016 @ 11:04:50
  Author: fyan
Revision: 269369

upgpkg: python-urllib3 1.16-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-06-12 08:29:44 UTC (rev 269368)
+++ PKGBUILD2016-06-12 09:04:50 UTC (rev 269369)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.15.1
+pkgver=1.16
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")


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

2016-04-11 Thread Felix Yan
Date: Tuesday, April 12, 2016 @ 07:29:16
  Author: fyan
Revision: 264685

upgpkg: python-urllib3 1.15.1-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-04-11 20:54:40 UTC (rev 264684)
+++ PKGBUILD2016-04-12 05:29:16 UTC (rev 264685)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.15
+pkgver=1.15.1
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")


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

2016-04-06 Thread Felix Yan
Date: Thursday, April 7, 2016 @ 04:20:04
  Author: fyan
Revision: 263976

upgpkg: python-urllib3 1.15-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |   30 +++---
 1 file changed, 15 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-04-06 19:52:52 UTC (rev 263975)
+++ PKGBUILD2016-04-07 02:20:04 UTC (rev 263976)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.14
+pkgver=1.15
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -16,7 +16,7 @@
  'python-ndg-httpsclient' 'python2-ndg-httpsclient' 'python-pyasn1'
  'python2-pyasn1' 'python-pyopenssl' 'python2-pyopenssl')
 checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock'
-  'python-tornado' 'python2-tornado')
+  'python-tornado' 'python2-tornado' 'python-coverage' 
'python2-coverage')
 source=("git+https://github.com/shazow/urllib3.git#tag=$pkgver;)
 md5sums=('SKIP')
 
@@ -25,24 +25,24 @@
 }
 
 build() {
-  cd "$srcdir/urllib3"
+  cd "$srcdir"/urllib3
   python setup.py build
 
-  cd "$srcdir/urllib3-py2"
+  cd "$srcdir"/urllib3-py2
   python2 setup.py build
 
   # Build with Python 2 since autodoc produces errors on Python 3
-  cd "$srcdir/urllib3/docs"
+  cd "$srcdir"/urllib3/docs
   make SPHINXBUILD=sphinx-build2 html
 }
 
 check() {
-  # Expected failure when asking for external resources
+  # Failures are related to missing SSLv3
 
-  cd "$srcdir/urllib3"
+  cd "$srcdir"/urllib3
   nosetests3 || warning "Tests failed"
 
-  cd "$srcdir/urllib3-py2"
+  cd "$srcdir"/urllib3-py2
   nosetests2 || warning "Tests failed"
 }
 
@@ -50,8 +50,8 @@
   depends=('python')
 
   cd urllib3
-  python setup.py install --root="${pkgdir}"
-  install -Dm644 LICENSE.txt 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+  python setup.py install --root="$pkgdir"
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
 }
 
 package_python2-urllib3() {
@@ -58,8 +58,8 @@
   depends=('python2')
 
   cd urllib3-py2
-  python2 setup.py install --root="${pkgdir}"
-  install -Dm644 LICENSE.txt 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+  python2 setup.py install --root="$pkgdir"
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
 }
 
 package_python-urllib3-doc() {
@@ -66,7 +66,7 @@
   pkgdesc="urllib3 Documentation"
 
   cd urllib3/docs
-  install -d "$pkgdir/usr/share/doc"
-  cp -r _build/html "$pkgdir/usr/share/doc/python-urllib3"
-  install -Dm644 ../LICENSE.txt 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+  install -d "$pkgdir"/usr/share/doc
+  cp -r _build/html "$pkgdir"/usr/share/doc/python-urllib3
+  install -Dm644 ../LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
 }


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

2015-12-29 Thread Felix Yan
Date: Wednesday, December 30, 2015 @ 05:26:05
  Author: fyan
Revision: 257383

upgpkg: python-urllib3 1.14-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-29 17:09:57 UTC (rev 257382)
+++ PKGBUILD2015-12-30 04:26:05 UTC (rev 257383)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.13.1
+pkgver=1.14
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")


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

2015-12-18 Thread Felix Yan
Date: Saturday, December 19, 2015 @ 02:01:09
  Author: fyan
Revision: 256770

upgpkg: python-urllib3 1.13.1-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-12-18 22:44:31 UTC (rev 256769)
+++ PKGBUILD2015-12-19 01:01:09 UTC (rev 256770)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.13
+pkgver=1.13.1
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -13,10 +13,10 @@
 url="https://github.com/shazow/urllib3;
 license=("MIT")
 makedepends=('python-setuptools' 'python2-setuptools' 'python2-sphinx' 'git'
- 'python2-ndg-httpsclient')
+ 'python-ndg-httpsclient' 'python2-ndg-httpsclient' 'python-pyasn1'
+ 'python2-pyasn1' 'python-pyopenssl' 'python2-pyopenssl')
 checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock'
-  'python-coverage' 'python2-coverage' 'python-tornado' 
'python2-tornado'
-  'twine' 'python2-twine' 'python2-pyopenssl')
+  'python-tornado' 'python2-tornado')
 source=("git+https://github.com/shazow/urllib3.git#tag=$pkgver;)
 md5sums=('SKIP')
 
@@ -31,7 +31,7 @@
   cd "$srcdir/urllib3-py2"
   python2 setup.py build
 
-  # Build with Python 2 since no ndg-httpsclient present for Python 3
+  # Build with Python 2 since autodoc produces errors on Python 3
   cd "$srcdir/urllib3/docs"
   make SPHINXBUILD=sphinx-build2 html
 }


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

2015-12-14 Thread Felix Yan
Date: Tuesday, December 15, 2015 @ 02:47:44
  Author: fyan
Revision: 256093

upgpkg: python-urllib3 1.13-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-15 01:46:53 UTC (rev 256092)
+++ PKGBUILD2015-12-15 01:47:44 UTC (rev 256093)
@@ -6,9 +6,8 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
-pkgver=1.12
-_commit=e91c16169e463118ce662345461933bb3a7dedef
-pkgrel=3
+pkgver=1.13
+pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;
@@ -18,7 +17,7 @@
 checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock'
   'python-coverage' 'python2-coverage' 'python-tornado' 
'python2-tornado'
   'twine' 'python2-twine' 'python2-pyopenssl')
-source=("git+https://github.com/shazow/urllib3.git#commit=$_commit;)
+source=("git+https://github.com/shazow/urllib3.git#tag=$pkgver;)
 md5sums=('SKIP')
 
 prepare() {
@@ -70,4 +69,4 @@
   install -d "$pkgdir/usr/share/doc"
   cp -r _build/html "$pkgdir/usr/share/doc/python-urllib3"
   install -Dm644 ../LICENSE.txt 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}
\ No newline at end of file
+}


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

2015-10-22 Thread Felix Yan
Date: Friday, October 23, 2015 @ 04:33:09
  Author: fyan
Revision: 249665

upgpkg: python-urllib3 1.12-3

provide docs (FS#45691)

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |   33 -
 1 file changed, 24 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-10-23 02:30:10 UTC (rev 249664)
+++ PKGBUILD2015-10-23 02:33:09 UTC (rev 249665)
@@ -5,17 +5,19 @@
 # Contributor: BorgHunter 
 
 pkgbase=python-urllib3
-pkgname=(python-urllib3 python2-urllib3)
+pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
 pkgver=1.12
 _commit=e91c16169e463118ce662345461933bb3a7dedef
-pkgrel=2
+pkgrel=3
 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' 'git')
-checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 
'python-coverage' 'python2-coverage'
-  'python-tornado' 'python2-tornado' 'twine' 'python2-twine' 
'python2-pyopenssl')
+makedepends=('python-setuptools' 'python2-setuptools' 'python2-sphinx' 'git'
+ 'python2-ndg-httpsclient')
+checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock'
+  'python-coverage' 'python2-coverage' 'python-tornado' 
'python2-tornado'
+  'twine' 'python2-twine' 'python2-pyopenssl')
 source=("git+https://github.com/shazow/urllib3.git#commit=$_commit;)
 md5sums=('SKIP')
 
@@ -24,20 +26,24 @@
 }
 
 build() {
-  cd urllib3
+  cd "$srcdir/urllib3"
   python setup.py build
 
-  cd ../urllib3-py2
+  cd "$srcdir/urllib3-py2"
   python2 setup.py build
+
+  # Build with Python 2 since no ndg-httpsclient present for Python 3
+  cd "$srcdir/urllib3/docs"
+  make SPHINXBUILD=sphinx-build2 html
 }
 
 check() {
   # Expected failure when asking for external resources
 
-  cd urllib3
+  cd "$srcdir/urllib3"
   nosetests3 || warning "Tests failed"
 
-  cd ../urllib3-py2
+  cd "$srcdir/urllib3-py2"
   nosetests2 || warning "Tests failed"
 }
 
@@ -56,3 +62,12 @@
   python2 setup.py install --root="${pkgdir}"
   install -Dm644 LICENSE.txt 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
 }
+
+package_python-urllib3-doc() {
+  pkgdesc="urllib3 Documentation"
+
+  cd urllib3/docs
+  install -d "$pkgdir/usr/share/doc"
+  cp -r _build/html "$pkgdir/usr/share/doc/python-urllib3"
+  install -Dm644 ../LICENSE.txt 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}
\ No newline at end of file


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

2015-09-19 Thread Felix Yan
Date: Sunday, September 20, 2015 @ 04:04:16
  Author: fyan
Revision: 141115

upgpkg: python-urllib3 1.12-2

rebuild for python 3.5

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-09-20 02:02:41 UTC (rev 141114)
+++ PKGBUILD2015-09-20 02:04:16 UTC (rev 141115)
@@ -8,7 +8,7 @@
 pkgname=(python-urllib3 python2-urllib3)
 pkgver=1.12
 _commit=e91c16169e463118ce662345461933bb3a7dedef
-pkgrel=1
+pkgrel=2
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
 url="https://github.com/shazow/urllib3;
@@ -15,7 +15,7 @@
 license=("MIT")
 makedepends=('python-setuptools' 'python2-setuptools' 'git')
 checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 
'python-coverage' 'python2-coverage'
-  'python-tornado' 'python2-tornado' 'twine' 'python2-twine')
+  'python-tornado' 'python2-tornado' 'twine' 'python2-twine' 
'python2-pyopenssl')
 source=("git+https://github.com/shazow/urllib3.git#commit=$_commit;)
 md5sums=('SKIP')
 


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

2015-09-06 Thread Felix Yan
Date: Monday, September 7, 2015 @ 04:51:39
  Author: fyan
Revision: 139428

upgpkg: python-urllib3 1.12-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |   40 ++--
 1 file changed, 18 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-07 02:29:42 UTC (rev 139427)
+++ PKGBUILD2015-09-07 02:51:39 UTC (rev 139428)
@@ -6,7 +6,8 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3)
-pkgver=1.11
+pkgver=1.12
+_commit=e91c16169e463118ce662345461933bb3a7dedef
 pkgrel=1
 pkgdesc="HTTP library with thread-safe connection pooling and file post 
support"
 arch=("any")
@@ -13,50 +14,45 @@
 url="https://github.com/shazow/urllib3;
 license=("MIT")
 makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 
'python-pyopenssl' 'python2-pyopenssl'
-  'python-tornado' 'python2-tornado' 'python2-ndg-httpsclient' 
'python-coverage' 'python2-coverage')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;
-LICENSE)
-md5sums=('d85d3c40f0725bbc48f40c354f7cebde'
- '350846ab4dd11ce105b570c15c1b0764')
+checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 
'python-coverage' 'python2-coverage'
+  'python-tornado' 'python2-tornado' 'twine' 'python2-twine')
+source=("git+https://github.com/shazow/urllib3.git#commit=$_commit;)
+md5sums=('SKIP')
 
 prepare() {
-  # Hack version requirements for test requirements to run tests - Disabled 
due to tests not runable
-  #sed -e "s/==.*//" -i $_pkgname/test-requirements.txt
-
-  cp -a urllib3-$pkgver{,-py2}
+  cp -a urllib3{,-py2}
 }
 
 build() {
-  cd urllib3-$pkgver
+  cd urllib3
   python setup.py build
 
-  cd ../urllib3-$pkgver-py2
+  cd ../urllib3-py2
   python2 setup.py build
 }
 
 check() {
-  # Tests stuck
+  # Expected failure when asking for external resources
 
-  cd urllib3-$pkgver
-  # nosetests3 -e "pyopenssl"  # No ndg-httpsclient module to test with
+  cd urllib3
+  nosetests3 || warning "Tests failed"
 
-  cd ../urllib3-$pkgver-py2
-  # nosetests2
+  cd ../urllib3-py2
+  nosetests2 || warning "Tests failed"
 }
 
 package_python-urllib3() {
   depends=('python')
 
-  cd urllib3-$pkgver
+  cd urllib3
   python setup.py install --root="${pkgdir}"
-  install -Dm644 "${srcdir}/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm644 LICENSE.txt 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
 }
 
 package_python2-urllib3() {
   depends=('python2')
 
-  cd urllib3-$pkgver-py2
+  cd urllib3-py2
   python2 setup.py install --root="${pkgdir}"
-  install -Dm644 "${srcdir}/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm644 LICENSE.txt 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
 }


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

2015-07-21 Thread Felix Yan
Date: Wednesday, July 22, 2015 @ 07:47:38
  Author: fyan
Revision: 137248

upgpkg: python-urllib3 1.11-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-07-22 05:32:39 UTC (rev 137247)
+++ PKGBUILD2015-07-22 05:47:38 UTC (rev 137248)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3)
-pkgver=1.10.4
+pkgver=1.11
 pkgrel=1
 pkgdesc=HTTP library with thread-safe connection pooling and file post 
support
 arch=(any)
@@ -17,7 +17,7 @@
   'python-tornado' 'python2-tornado' 'python2-ndg-httpsclient' 
'python-coverage' 'python2-coverage')
 
source=($pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;
 LICENSE)
-md5sums=('6f768748ad8d20ad5f6160e009b36721'
+md5sums=('d85d3c40f0725bbc48f40c354f7cebde'
  '350846ab4dd11ce105b570c15c1b0764')
 
 prepare() {


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

2015-05-03 Thread Felix Yan
Date: Sunday, May 3, 2015 @ 18:16:09
  Author: fyan
Revision: 132656

upgpkg: python-urllib3 1.10.4-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-05-03 16:14:40 UTC (rev 132655)
+++ PKGBUILD2015-05-03 16:16:09 UTC (rev 132656)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3)
-pkgver=1.10.3
+pkgver=1.10.4
 pkgrel=1
 pkgdesc=HTTP library with thread-safe connection pooling and file post 
support
 arch=(any)
@@ -17,7 +17,7 @@
   'python-tornado' 'python2-tornado' 'python2-ndg-httpsclient' 
'python-coverage' 'python2-coverage')
 
source=($pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;
 LICENSE)
-md5sums=('e7c42b05c0c44e508d8e83b98cc2be8c'
+md5sums=('6f768748ad8d20ad5f6160e009b36721'
  '350846ab4dd11ce105b570c15c1b0764')
 
 prepare() {


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

2015-04-21 Thread Felix Yan
Date: Wednesday, April 22, 2015 @ 06:12:34
  Author: fyan
Revision: 131863

upgpkg: python-urllib3 1.10.3-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-04-21 22:39:11 UTC (rev 131862)
+++ PKGBUILD2015-04-22 04:12:34 UTC (rev 131863)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3)
-pkgver=1.10.2
+pkgver=1.10.3
 pkgrel=1
 pkgdesc=HTTP library with thread-safe connection pooling and file post 
support
 arch=(any)
@@ -17,7 +17,7 @@
   'python-tornado' 'python2-tornado' 'python2-ndg-httpsclient' 
'python-coverage' 'python2-coverage')
 
source=($pkgbase-$pkgver.tar.gz::https://github.com/shazow/urllib3/archive/$pkgver.tar.gz;
 LICENSE)
-md5sums=('bd1c856b66829220f02aff4f309a77fe'
+md5sums=('e7c42b05c0c44e508d8e83b98cc2be8c'
  '350846ab4dd11ce105b570c15c1b0764')
 
 prepare() {


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

2015-02-25 Thread Felix Yan
Date: Thursday, February 26, 2015 @ 03:51:33
  Author: fyan
Revision: 128242

upgpkg: python-urllib3 1.10.2-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-02-26 00:28:59 UTC (rev 128241)
+++ PKGBUILD2015-02-26 02:51:33 UTC (rev 128242)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3)
-pkgver=1.10.1
+pkgver=1.10.2
 pkgrel=1
 pkgdesc=HTTP library with thread-safe connection pooling and file post 
support
 arch=(any)
@@ -17,7 +17,7 @@
   'python-tornado' 'python2-tornado' 'python2-ndg-httpsclient' 
'python-coverage' 'python2-coverage')
 source=(https://github.com/shazow/urllib3/archive/$pkgver.tar.gz; 
 LICENSE)
-md5sums=('47443bfddc94334f272b8a3706428db6'
+md5sums=('bd1c856b66829220f02aff4f309a77fe'
  '350846ab4dd11ce105b570c15c1b0764')
 
 prepare() {
@@ -39,10 +39,10 @@
   # Tests stuck
 
   cd urllib3-$pkgver
-#  nosetests3 -e pyopenssl  # No ndg-httpsclient module to test with
+  # nosetests3 -e pyopenssl  # No ndg-httpsclient module to test with
 
   cd ../urllib3-$pkgver-py2
-#  nosetests2
+  # nosetests2
 }
 
 package_python-urllib3() {


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

2015-02-11 Thread Felix Yan
Date: Wednesday, February 11, 2015 @ 10:39:27
  Author: fyan
Revision: 127549

upgpkg: python-urllib3 1.10.1-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-02-11 09:38:54 UTC (rev 127548)
+++ PKGBUILD2015-02-11 09:39:27 UTC (rev 127549)
@@ -6,7 +6,7 @@
 
 pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3)
-pkgver=1.10
+pkgver=1.10.1
 pkgrel=1
 pkgdesc=HTTP library with thread-safe connection pooling and file post 
support
 arch=(any)
@@ -17,7 +17,7 @@
   'python-tornado' 'python2-tornado' 'python2-ndg-httpsclient' 
'python-coverage' 'python2-coverage')
 source=(https://github.com/shazow/urllib3/archive/$pkgver.tar.gz; 
 LICENSE)
-md5sums=('50c94eef356ea0d35feba54747666e62'
+md5sums=('47443bfddc94334f272b8a3706428db6'
  '350846ab4dd11ce105b570c15c1b0764')
 
 prepare() {


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

2014-12-14 Thread Felix Yan
Date: Monday, December 15, 2014 @ 03:41:42
  Author: fyan
Revision: 123893

upgpkg: python-urllib3 1.10-1

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-14 21:38:46 UTC (rev 123892)
+++ PKGBUILD2014-12-15 02:41:42 UTC (rev 123893)
@@ -1,11 +1,12 @@
 # $Id$
-# Maintainer: Felix Yan felixonm...@gmail.com
+# Maintainer: Felix Yan felixonm...@archlinux.org
 # Contributor: Patrice Peterson runiq at archlinux dot us
 # Contributor: Chris Brannon cmbranno...@gmail.com
 # Contributor: BorgHunter borghunter at gmail dot com
 
+pkgbase=python-urllib3
 pkgname=(python-urllib3 python2-urllib3)
-pkgver=1.9.1
+pkgver=1.10
 pkgrel=1
 pkgdesc=HTTP library with thread-safe connection pooling and file post 
support
 arch=(any)
@@ -16,7 +17,7 @@
   'python-tornado' 'python2-tornado' 'python2-ndg-httpsclient' 
'python-coverage' 'python2-coverage')
 source=(https://github.com/shazow/urllib3/archive/$pkgver.tar.gz; 
 LICENSE)
-md5sums=('ab7fc682e23eaad497d1b584ac532428'
+md5sums=('50c94eef356ea0d35feba54747666e62'
  '350846ab4dd11ce105b570c15c1b0764')
 
 prepare() {


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

2014-09-13 Thread Felix Yan
Date: Sunday, September 14, 2014 @ 04:50:32
  Author: fyan
Revision: 118942

upgpkg: python-urllib3 1.9.1-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-09-14 02:46:32 UTC (rev 118941)
+++ PKGBUILD2014-09-14 02:50:32 UTC (rev 118942)
@@ -5,7 +5,7 @@
 # Contributor: BorgHunter borghunter at gmail dot com
 
 pkgname=(python-urllib3 python2-urllib3)
-pkgver=1.9
+pkgver=1.9.1
 pkgrel=1
 pkgdesc=HTTP library with thread-safe connection pooling and file post 
support
 arch=(any)
@@ -16,7 +16,7 @@
   'python-tornado' 'python2-tornado' 'python2-ndg-httpsclient' 
'python-coverage' 'python2-coverage')
 source=(https://github.com/shazow/urllib3/archive/$pkgver.tar.gz; 
 LICENSE)
-md5sums=('e383d5ff4d3a02eff82735f9f120958c'
+md5sums=('ab7fc682e23eaad497d1b584ac532428'
  '350846ab4dd11ce105b570c15c1b0764')
 
 prepare() {



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

2014-07-07 Thread Felix Yan
Date: Tuesday, July 8, 2014 @ 02:53:39
  Author: fyan
Revision: 115290

upgpkg: python-urllib3 1.9-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-07-08 00:52:20 UTC (rev 115289)
+++ PKGBUILD2014-07-08 00:53:39 UTC (rev 115290)
@@ -5,7 +5,7 @@
 # Contributor: BorgHunter borghunter at gmail dot com
 
 pkgname=(python-urllib3 python2-urllib3)
-pkgver=1.8.3
+pkgver=1.9
 pkgrel=1
 pkgdesc=HTTP library with thread-safe connection pooling and file post 
support
 arch=(any)
@@ -16,7 +16,7 @@
   'python-tornado' 'python2-tornado' 'python2-ndg-httpsclient' 
'python-coverage' 'python2-coverage')
 source=(https://github.com/shazow/urllib3/archive/$pkgver.tar.gz; 
 LICENSE)
-md5sums=('aee4899e53bd6e8ad163ae830f22372d'
+md5sums=('e383d5ff4d3a02eff82735f9f120958c'
  '350846ab4dd11ce105b570c15c1b0764')
 
 prepare() {



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

2014-06-24 Thread Felix Yan
Date: Wednesday, June 25, 2014 @ 07:27:18
  Author: fyan
Revision: 113532

upgpkg: python-urllib3 1.8.3-1

Modified:
  python-urllib3/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-06-25 04:34:55 UTC (rev 113531)
+++ PKGBUILD2014-06-25 05:27:18 UTC (rev 113532)
@@ -5,7 +5,7 @@
 # Contributor: BorgHunter borghunter at gmail dot com
 
 pkgname=(python-urllib3 python2-urllib3)
-pkgver=1.8.2
+pkgver=1.8.3
 pkgrel=1
 pkgdesc=HTTP library with thread-safe connection pooling and file post 
support
 arch=(any)
@@ -16,7 +16,7 @@
   'python-tornado' 'python2-tornado' 'python2-ndg-httpsclient' 
'python-coverage' 'python2-coverage')
 source=(https://github.com/shazow/urllib3/archive/$pkgver.tar.gz; 
 LICENSE)
-md5sums=('7d5fb23d23d87840720e730b6a744edb'
+md5sums=('aee4899e53bd6e8ad163ae830f22372d'
  '350846ab4dd11ce105b570c15c1b0764')
 
 prepare() {



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

2014-05-17 Thread Eric BĂ©langer
Date: Saturday, May 17, 2014 @ 15:45:43
  Author: eric
Revision: 111364

upgpkg: python-urllib3 1.8.2-1

Upstream update, Clean up PKGBUILD

Modified:
  python-urllib3/trunk/PKGBUILD

--+
 PKGBUILD |   27 +--
 1 file changed, 13 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-17 12:56:25 UTC (rev 111363)
+++ PKGBUILD2014-05-17 13:45:43 UTC (rev 111364)
@@ -5,9 +5,8 @@
 # Contributor: BorgHunter borghunter at gmail dot com
 
 pkgname=(python-urllib3 python2-urllib3)
-_pkgname=urllib3
-pkgver=1.8
-pkgrel=2
+pkgver=1.8.2
+pkgrel=1
 pkgdesc=HTTP library with thread-safe connection pooling and file post 
support
 arch=(any)
 url=https://github.com/shazow/urllib3;
@@ -15,9 +14,9 @@
 makedepends=('python-setuptools' 'python2-setuptools' 'git')
 checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 
'python-pyopenssl' 'python2-pyopenssl'
   'python-tornado' 'python2-tornado' 'python2-ndg-httpsclient' 
'python-coverage' 'python2-coverage')
-source=(git+https://github.com/shazow/$_pkgname.git#tag=$pkgver; 
+source=(https://github.com/shazow/urllib3/archive/$pkgver.tar.gz; 
 LICENSE)
-md5sums=('SKIP'
+md5sums=('7d5fb23d23d87840720e730b6a744edb'
  '350846ab4dd11ce105b570c15c1b0764')
 
 prepare() {
@@ -24,14 +23,14 @@
   # Hack version requirements for test requirements to run tests - Disabled 
due to tests not runable
   #sed -e s/==.*// -i $_pkgname/test-requirements.txt
 
-  cp -a $_pkgname{,-py2}
+  cp -a urllib3-$pkgver{,-py2}
 }
 
 build() {
-  cd $srcdir/$_pkgname
+  cd urllib3-$pkgver
   python setup.py build
 
-  cd $srcdir/$_pkgname-py2
+  cd ../urllib3-$pkgver-py2
   python2 setup.py build
 }
 
@@ -38,17 +37,17 @@
 check() {
   # Tests stuck
 
-  cd $srcdir/$_pkgname
-  #nosetests3 -e pyopenssl  # No ndg-httpsclient module to test with
+  cd urllib3-$pkgver
+#  nosetests3 -e pyopenssl  # No ndg-httpsclient module to test with
 
-  cd $srcdir/$_pkgname-py2
-  #nosetests2
+  cd ../urllib3-$pkgver-py2
+#  nosetests2
 }
 
 package_python-urllib3() {
   depends=('python')
 
-  cd $_pkgname
+  cd urllib3-$pkgver
   python setup.py install --root=${pkgdir}
   install -Dm644 ${srcdir}/LICENSE 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }
@@ -56,7 +55,7 @@
 package_python2-urllib3() {
   depends=('python2')
 
-  cd $_pkgname-py2
+  cd urllib3-$pkgver-py2
   python2 setup.py install --root=${pkgdir}
   install -Dm644 ${srcdir}/LICENSE 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }