summaryrefslogtreecommitdiff
path: root/net/py-twitter
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2007-04-13 09:44:33 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2007-04-13 09:44:33 +0000
commitacb8a6340a8268edf635186e1cf36f2e7f70425a (patch)
treece66bf2b254b3f72ea6cab4554660ca1d554f708 /net/py-twitter
parentUnbreak on !i386. (diff)
add py-twitter 0.3
A python wrapper around the Twitter API
Notes
Notes: svn path=/head/; revision=189892
Diffstat (limited to 'net/py-twitter')
-rw-r--r--net/py-twitter/Makefile28
-rw-r--r--net/py-twitter/distinfo3
-rw-r--r--net/py-twitter/pkg-descr8
-rw-r--r--net/py-twitter/pkg-plist3
4 files changed, 42 insertions, 0 deletions
diff --git a/net/py-twitter/Makefile b/net/py-twitter/Makefile
new file mode 100644
index 000000000000..465face2abd2
--- /dev/null
+++ b/net/py-twitter/Makefile
@@ -0,0 +1,28 @@
+# ex:ts=8
+# Ports collection makefile for: py-twitter
+# Date created: Apr 13, 2007
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= twitter
+PORTVERSION= 0.3
+CATEGORIES= net python
+MASTER_SITES= http://python-twitter.googlecode.com/files/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= python-${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= python@FreeBSD.org
+COMMENT= A python wrapper around the Twitter API
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>0:${PORTSDIR}/devel/py-simplejson
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+PYTWITTER_EGG= python_${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
+PLIST_SUB+= PYTWITTER_EGG=${PYTWITTER_EGG}
+
+.include <bsd.port.mk>
diff --git a/net/py-twitter/distinfo b/net/py-twitter/distinfo
new file mode 100644
index 000000000000..9e6c574355f9
--- /dev/null
+++ b/net/py-twitter/distinfo
@@ -0,0 +1,3 @@
+MD5 (python-twitter-0.3.tar.gz) = ee23b3de5ca0bc96ed363e22081d66bb
+SHA256 (python-twitter-0.3.tar.gz) = 180aaeeac0878f375c507e9b9fad880f0197a469235efc3e9988f7375ab37d54
+SIZE (python-twitter-0.3.tar.gz) = 38815
diff --git a/net/py-twitter/pkg-descr b/net/py-twitter/pkg-descr
new file mode 100644
index 000000000000..a96db6e960f5
--- /dev/null
+++ b/net/py-twitter/pkg-descr
@@ -0,0 +1,8 @@
+This library provides a pure python interface for the Twitter API.
+
+Twitter (http://twitter.com) provides a service that allows people to
+connect via the web, IM, and SMS. Twitter exposes a web services API
+(http://twitter.com/help/api) and this library is intended to make it
+even easier for python programmers to use.
+
+WWW: http://code.google.com/p/python-twitter/
diff --git a/net/py-twitter/pkg-plist b/net/py-twitter/pkg-plist
new file mode 100644
index 000000000000..1d4e3719a04b
--- /dev/null
+++ b/net/py-twitter/pkg-plist
@@ -0,0 +1,3 @@
+@unexec easy_install -q -N -m %D/%%PYTHON_SITELIBDIR%%/%%PYTWITTER_EGG%%
+%%PYTHON_SITELIBDIR%%/%%PYTWITTER_EGG%%
+@exec easy_install -N %D/%%PYTHON_SITELIBDIR%%/%%PYTWITTER_EGG%%