From f9552dfba2c4b4a9562a9212a0f5bf9161223bc0 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 26 Mar 2009 12:35:49 +0000 Subject: A simple REST client for Python, inspired by the microframework (Camping, Sinatra) style of specifying actions: get, put, post, delete. WWW: http://py-restclient.e-engura.org/ PR: ports/133080 Submitted by: Wen Heping --- www/Makefile | 1 + www/py-py-restclient/Makefile | 22 ++++++++++++++++++++++ www/py-py-restclient/distinfo | 3 +++ www/py-py-restclient/pkg-descr | 5 +++++ www/py-py-restclient/pkg-plist | 2 ++ 5 files changed, 33 insertions(+) create mode 100644 www/py-py-restclient/Makefile create mode 100644 www/py-py-restclient/distinfo create mode 100644 www/py-py-restclient/pkg-descr create mode 100644 www/py-py-restclient/pkg-plist diff --git a/www/Makefile b/www/Makefile index 9ea0736a4d68..38df4ee27b8e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1269,6 +1269,7 @@ SUBDIR += py-postmarkup SUBDIR += py-prewikka SUBDIR += py-pullparser + SUBDIR += py-py-restclient SUBDIR += py-pylons SUBDIR += py-pyquery SUBDIR += py-pysearch diff --git a/www/py-py-restclient/Makefile b/www/py-py-restclient/Makefile new file mode 100644 index 000000000000..c1a808db3095 --- /dev/null +++ b/www/py-py-restclient/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: py-restclient +# Date created: 26 March, 2009 +# Whom: Wen Heping +# +# $FreeBSD$ +# + +PORTNAME= py-restclient +PORTVERSION= 1.2.1 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wenheping@gmail.com +COMMENT= Python REST Client + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/httplib2/__init__.py:${PORTSDIR}/www/py-httplib2 + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install + +.include diff --git a/www/py-py-restclient/distinfo b/www/py-py-restclient/distinfo new file mode 100644 index 000000000000..3e22589e0eb7 --- /dev/null +++ b/www/py-py-restclient/distinfo @@ -0,0 +1,3 @@ +MD5 (py-restclient-1.2.1.tar.gz) = f8c78267411173477cba7352cdeaac39 +SHA256 (py-restclient-1.2.1.tar.gz) = ff7fd3de8cf02f197215ad4c4ec0cd6ff33d828c76ad0b1728fcdc200e469a4b +SIZE (py-restclient-1.2.1.tar.gz) = 19139 diff --git a/www/py-py-restclient/pkg-descr b/www/py-py-restclient/pkg-descr new file mode 100644 index 000000000000..d52d1663c080 --- /dev/null +++ b/www/py-py-restclient/pkg-descr @@ -0,0 +1,5 @@ +A simple REST client for Python, inspired by the microframework +(Camping, Sinatra) style of specifying actions: get, put, post, +delete. + +WWW: http://py-restclient.e-engura.org/ diff --git a/www/py-py-restclient/pkg-plist b/www/py-py-restclient/pkg-plist new file mode 100644 index 000000000000..601ec37b1f82 --- /dev/null +++ b/www/py-py-restclient/pkg-plist @@ -0,0 +1,2 @@ +bin/restcli +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% -- cgit