From 3a3a8005159801929a9625259801f83fb486e5cc Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 26 Aug 2011 04:37:53 +0000 Subject: [PATCH] Requests: HTTP for Humans. It's an elegand and simple HTTP library for Python. WWW: http://python-requests.org/ PR: ports/159956 Submitted by: Olivier Duchateau --- www/Makefile | 1 + www/py-requests/Makefile | 25 +++++++++++++++++++++++++ www/py-requests/distinfo | 2 ++ www/py-requests/pkg-descr | 3 +++ 4 files changed, 31 insertions(+) create mode 100644 www/py-requests/Makefile create mode 100644 www/py-requests/distinfo create mode 100644 www/py-requests/pkg-descr diff --git a/www/Makefile b/www/Makefile index b1789f188dbf..272e5925e4dc 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1572,6 +1572,7 @@ SUBDIR += py-qpy SUBDIR += py-qt4-webkit SUBDIR += py-recaptcha + SUBDIR += py-requests SUBDIR += py-restclient SUBDIR += py-routes SUBDIR += py-rssdler diff --git a/www/py-requests/Makefile b/www/py-requests/Makefile new file mode 100644 index 000000000000..a242593ecce0 --- /dev/null +++ b/www/py-requests/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: py-requests +# Date created: 2011-07-30 +# Whom: Olivier Duchateau +# +# $FreeBSD$ +# + +PORTNAME= requests +PORTVERSION= 0.6.1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= duchateau.olivier@gmail.com +COMMENT= Requests is an elegant and simple HTTP library for Python + +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_PYTHON= 2.5+ +USE_PYDISTUTILS= easy_install + +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% + +.include diff --git a/www/py-requests/distinfo b/www/py-requests/distinfo new file mode 100644 index 000000000000..c47cde74f877 --- /dev/null +++ b/www/py-requests/distinfo @@ -0,0 +1,2 @@ +SHA256 (requests-0.6.1.tar.gz) = 2656b23db25398e990e6f5d75dfbd960454a1fe573aeedc651773ddd2a8a3bbc +SIZE (requests-0.6.1.tar.gz) = 26107 diff --git a/www/py-requests/pkg-descr b/www/py-requests/pkg-descr new file mode 100644 index 000000000000..5e85515d9246 --- /dev/null +++ b/www/py-requests/pkg-descr @@ -0,0 +1,3 @@ +Requests: HTTP for Humans. It's an elegand and simple HTTP library for Python. + +WWW: http://python-requests.org/