aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-01-15 03:26:18 +0800
committermiwi <miwi@FreeBSD.org>2012-01-15 03:26:18 +0800
commit4d1c3990b922d1393a23c77aee015dfd9a1c000f (patch)
tree1b83f7dcb8f1b010020a1c0c88a586e088fb0f41
parente6b82ccbb288696233a4445a2ae7c263310a5fc8 (diff)
downloadfreebsd-ports-gnome-4d1c3990b922d1393a23c77aee015dfd9a1c000f.tar.gz
freebsd-ports-gnome-4d1c3990b922d1393a23c77aee015dfd9a1c000f.tar.zst
freebsd-ports-gnome-4d1c3990b922d1393a23c77aee015dfd9a1c000f.zip
Urllib3 is an HTTP library with thread-safe connection pooling, and file
post. WWW: http://urllib3.readthedocs.org/ PR: ports/163972 Submitted by: Olivier Duchateau <duchateau.olivier@gmail.com>
-rw-r--r--net/Makefile1
-rw-r--r--net/py-urllib3/Makefile23
-rw-r--r--net/py-urllib3/distinfo2
-rw-r--r--net/py-urllib3/files/patch-setup.py11
-rw-r--r--net/py-urllib3/pkg-descr4
-rw-r--r--net/py-urllib3/pkg-plist53
6 files changed, 94 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 803890ba5952..fe13e1731fbb 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -890,6 +890,7 @@
SUBDIR += py-twistedPair
SUBDIR += py-twitter
SUBDIR += py-txamqp
+ SUBDIR += py-urllib3
SUBDIR += py-xmlrpc
SUBDIR += py-xmlrpclib
SUBDIR += py-yadis
diff --git a/net/py-urllib3/Makefile b/net/py-urllib3/Makefile
new file mode 100644
index 000000000000..80c10d59c3d7
--- /dev/null
+++ b/net/py-urllib3/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: py-urllib3
+# Date created: 2012-01-09
+# Whom: Olivier Duchateau <duchateau.olivier@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= urllib3
+PORTVERSION= 1.1
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= duchateau.olivier@gmail.com
+COMMENT= Enhance HTTP Python's standard library
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USE_PYTHON= 2.6+
+USE_PYDISTUTILS= easy_install
+
+.include <bsd.port.mk>
diff --git a/net/py-urllib3/distinfo b/net/py-urllib3/distinfo
new file mode 100644
index 000000000000..a072d0981135
--- /dev/null
+++ b/net/py-urllib3/distinfo
@@ -0,0 +1,2 @@
+SHA256 (urllib3-1.1.tar.gz) = 726fe8018e6eb3749a9587fc117180807a1fafb1cb0ac2044fa414c28fdf5aa6
+SIZE (urllib3-1.1.tar.gz) = 27578
diff --git a/net/py-urllib3/files/patch-setup.py b/net/py-urllib3/files/patch-setup.py
new file mode 100644
index 000000000000..8d4f1fe6e9e8
--- /dev/null
+++ b/net/py-urllib3/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2012-01-07 22:23:02.000000000 +0100
++++ setup.py 2012-01-09 19:08:23.000000000 +0100
+@@ -49,6 +49,6 @@
+ license='MIT',
+ packages=['urllib3', 'dummyserver', 'urllib3.packages', 'urllib3.packages.ssl_match_hostname'],
+ requires=requirements,
+- tests_require=tests_requirements,
+- test_suite='test',
++ #tests_require=tests_requirements,
++ #test_suite='test',
+ )
diff --git a/net/py-urllib3/pkg-descr b/net/py-urllib3/pkg-descr
new file mode 100644
index 000000000000..b8bb86f8dc46
--- /dev/null
+++ b/net/py-urllib3/pkg-descr
@@ -0,0 +1,4 @@
+Urllib3 is an HTTP library with thread-safe connection pooling, and file
+post.
+
+WWW: http://urllib3.readthedocs.org/
diff --git a/net/py-urllib3/pkg-plist b/net/py-urllib3/pkg-plist
new file mode 100644
index 000000000000..159e1a7474f4
--- /dev/null
+++ b/net/py-urllib3/pkg-plist
@@ -0,0 +1,53 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dummyserver/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dummyserver/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dummyserver/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dummyserver/app.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dummyserver/app.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dummyserver/app.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dummyserver/server.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dummyserver/server.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dummyserver/server.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dummyserver/testcase.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dummyserver/testcase.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dummyserver/testcase.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/_collections.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/_collections.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/_collections.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/connectionpool.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/connectionpool.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/connectionpool.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/exceptions.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/exceptions.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/exceptions.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/filepost.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/filepost.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/filepost.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/ssl_match_hostname/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/ssl_match_hostname/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/ssl_match_hostname/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/poolmanager.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/poolmanager.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/poolmanager.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/request.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/request.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/request.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/response.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/response.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/response.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages/ssl_match_hostname
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3/packages
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/urllib3
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dummyserver
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%