aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2014-01-27 20:05:33 +0800
committerkoobs <koobs@FreeBSD.org>2014-01-27 20:05:33 +0800
commit96a3f078fd12bafcc8e0ae084f88132761a4f68d (patch)
tree2d83c9549f61a1029d38d43310f2be140fd3e229
parentbc2ba68ad897d7db222e94a554ac638e38b487e4 (diff)
downloadfreebsd-ports-gnome-96a3f078fd12bafcc8e0ae084f88132761a4f68d.tar.gz
freebsd-ports-gnome-96a3f078fd12bafcc8e0ae084f88132761a4f68d.tar.zst
freebsd-ports-gnome-96a3f078fd12bafcc8e0ae084f88132761a4f68d.zip
www/py-requests1: Copy from www/requests so we can upgrade to 2.x
Copy www/requests -> www/requests1 so we can update the main port to version 2.x. Next commit will sweep all dependants. While I'm here: - Enable STAGE support - Enable AUTOPLIST - Deprecate easy_install target - Add CONFLICTS - Tweak COMMENT PR: ports/185631
-rw-r--r--www/Makefile1
-rw-r--r--www/py-requests1/Makefile24
-rw-r--r--www/py-requests1/distinfo2
-rw-r--r--www/py-requests1/pkg-descr19
4 files changed, 46 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 7234e9e2e763..8e484c703a32 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1665,6 +1665,7 @@
SUBDIR += py-rackspace-monitoring
SUBDIR += py-recaptcha
SUBDIR += py-requests
+ SUBDIR += py-requests1
SUBDIR += py-requests-oauth-hook
SUBDIR += py-requests-oauthlib
SUBDIR += py-restclient
diff --git a/www/py-requests1/Makefile b/www/py-requests1/Makefile
new file mode 100644
index 000000000000..f62d1f62c42b
--- /dev/null
+++ b/www/py-requests1/Makefile
@@ -0,0 +1,24 @@
+# Created by: Olivier Duchateau <duchateau.olivier@gmail.com>
+# $FreeBSD$
+
+PORTNAME= requests1
+PORTVERSION= 1.2.3
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= koobs@FreeBSD.org
+COMMENT= HTTP library written in Python for human beings (Version 1.x)
+
+LICENSE= ISCL
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
+
+CONFLICTS_INSTALL= py*-requests-*
+
+regression-test: build
+ @cd ${WRKSRC} && ${PYTHON_CMD} test_requests.py
+
+.include <bsd.port.mk>
diff --git a/www/py-requests1/distinfo b/www/py-requests1/distinfo
new file mode 100644
index 000000000000..e9a1bc6758a3
--- /dev/null
+++ b/www/py-requests1/distinfo
@@ -0,0 +1,2 @@
+SHA256 (requests-1.2.3.tar.gz) = 156bf3ec27ba9ec7e0cf8fbe02808718099d218de403eb64a714d73ba1a29ab1
+SIZE (requests-1.2.3.tar.gz) = 348854
diff --git a/www/py-requests1/pkg-descr b/www/py-requests1/pkg-descr
new file mode 100644
index 000000000000..faa8e17b889e
--- /dev/null
+++ b/www/py-requests1/pkg-descr
@@ -0,0 +1,19 @@
+Requests is an ISC Licensed HTTP library, written in Python, for human beings.
+
+Features
+
+- International Domains and URLs
+- Keep-Alive & Connection Pooling
+- Sessions with Cookie Persistence
+- Browser-style SSL Verification
+- Basic/Digest Authentication
+- Elegant Key/Value Cookies
+- Automatic Decompression
+- Unicode Response Bodies
+- Multipart File Uploads
+- Connection Timeouts
+- .netrc support
+- Python 2.6-3.3
+- Thread-safe
+
+WWW: http://python-requests.org/