From 65318ecf560cef2f0ad05db55ae467d65a5c04a5 Mon Sep 17 00:00:00 2001
From: Danny Rawlins <monster.romster@gmail.com>
Date: Thu, 15 Mar 2018 23:14:59 +1100
Subject: [PATCH] python3-urllib3: initial import

---
 python3-urllib3/.footprint | 132 +++++++++++++++++++++++++++++++++++++
 python3-urllib3/.md5sum    |   1 +
 python3-urllib3/.signature |   5 ++
 python3-urllib3/Pkgfile    |  15 +++++
 4 files changed, 153 insertions(+)
 create mode 100644 python3-urllib3/.footprint
 create mode 100644 python3-urllib3/.md5sum
 create mode 100644 python3-urllib3/.signature
 create mode 100644 python3-urllib3/Pkgfile

diff --git a/python3-urllib3/.footprint b/python3-urllib3/.footprint
new file mode 100644
index 000000000..7578a9e0d
--- /dev/null
+++ b/python3-urllib3/.footprint
@@ -0,0 +1,132 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/lib/
+drwxr-xr-x	root/root	usr/lib/python3.6/
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3-1.22-py3.6.egg-info/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3-1.22-py3.6.egg-info/PKG-INFO
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3-1.22-py3.6.egg-info/SOURCES.txt
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3-1.22-py3.6.egg-info/dependency_links.txt
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3-1.22-py3.6.egg-info/requires.txt
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3-1.22-py3.6.egg-info/top_level.txt
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__init__.py
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/__init__.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/__init__.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/_collections.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/_collections.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/connection.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/connection.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/connectionpool.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/connectionpool.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/exceptions.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/exceptions.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/fields.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/fields.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/filepost.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/filepost.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/poolmanager.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/poolmanager.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/request.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/request.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/response.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/__pycache__/response.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/_collections.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/connection.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/connectionpool.py
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/__init__.py (EMPTY)
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/__pycache__/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/__pycache__/__init__.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/__pycache__/__init__.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/__pycache__/appengine.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/__pycache__/appengine.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/__pycache__/ntlmpool.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/__pycache__/ntlmpool.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/__pycache__/pyopenssl.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/__pycache__/pyopenssl.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/__pycache__/securetransport.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/__pycache__/securetransport.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/__pycache__/socks.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/__pycache__/socks.cpython-36.pyc
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/_securetransport/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/_securetransport/__init__.py (EMPTY)
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/_securetransport/__pycache__/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/_securetransport/bindings.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/_securetransport/low_level.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/appengine.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/ntlmpool.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/securetransport.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/contrib/socks.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/exceptions.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/fields.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/filepost.py
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3/packages/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/__init__.py
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3/packages/__pycache__/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/__pycache__/__init__.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/__pycache__/__init__.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/__pycache__/ordered_dict.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/__pycache__/ordered_dict.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/__pycache__/six.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/__pycache__/six.cpython-36.pyc
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3/packages/backports/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/backports/__init__.py (EMPTY)
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3/packages/backports/__pycache__/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/backports/__pycache__/__init__.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/backports/__pycache__/__init__.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/backports/__pycache__/makefile.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/backports/__pycache__/makefile.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/backports/makefile.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/ordered_dict.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/six.py
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3/packages/ssl_match_hostname/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/ssl_match_hostname/__init__.py
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3/packages/ssl_match_hostname/__pycache__/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/ssl_match_hostname/__pycache__/__init__.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/ssl_match_hostname/__pycache__/__init__.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/ssl_match_hostname/__pycache__/_implementation.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/ssl_match_hostname/__pycache__/_implementation.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/packages/ssl_match_hostname/_implementation.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/poolmanager.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/request.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/response.py
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3/util/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__init__.py
+drwxr-xr-x	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/__init__.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/__init__.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/connection.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/connection.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/request.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/request.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/response.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/response.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/retry.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/retry.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/selectors.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/selectors.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/ssl_.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/ssl_.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/timeout.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/timeout.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/url.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/url.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/wait.cpython-36.opt-1.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/__pycache__/wait.cpython-36.pyc
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/connection.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/request.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/response.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/retry.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/selectors.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/ssl_.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/timeout.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/url.py
+-rw-r--r--	root/root	usr/lib/python3.6/site-packages/urllib3/util/wait.py
diff --git a/python3-urllib3/.md5sum b/python3-urllib3/.md5sum
new file mode 100644
index 000000000..67a6f65ba
--- /dev/null
+++ b/python3-urllib3/.md5sum
@@ -0,0 +1 @@
+0da7bed3fe94bf7dc59ae37885cc72f7  urllib3-1.22.tar.gz
diff --git a/python3-urllib3/.signature b/python3-urllib3/.signature
new file mode 100644
index 000000000..c818380c7
--- /dev/null
+++ b/python3-urllib3/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF32MLoA81v5TPAQbr1Q6XQ7rrHo6n3A5A0NZ6apUx+qPqrubisxBCB7xMhDmlK7zDQFGR7psbdb4htCGrH4ACHgE=
+SHA256 (Pkgfile) = 52803830c003b33b02a838a28deed719b081bb37bbaeddd1c4f701add49b4191
+SHA256 (.footprint) = d2548c8b12c55f73874f22acf639643213b7fdb11cca6f8098e6111ee831adb2
+SHA256 (urllib3-1.22.tar.gz) = cc44da8e1145637334317feebd728bd869a35285b93cbb4cca2577da7e62db4f
diff --git a/python3-urllib3/Pkgfile b/python3-urllib3/Pkgfile
new file mode 100644
index 000000000..3d539be96
--- /dev/null
+++ b/python3-urllib3/Pkgfile
@@ -0,0 +1,15 @@
+# Description: HTTP library with thread-safe connection pooling and file post support.
+# URL: https://github.com/shazow/urllib3
+# Maintainer: Danny Rawlins, crux at romster dot me
+# Depends on: python3-setuptools
+
+name=python3-urllib3
+version=1.22
+release=1
+source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
+
+build() {
+	cd ${name#*-}-$version
+	/usr/bin/python3 setup.py build
+	/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
+}