diff options
author | ijliao <ijliao@FreeBSD.org> | 2007-04-13 17:44:33 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2007-04-13 17:44:33 +0800 |
commit | cb8ff4213e6760cfde772ed38056ad1a7094d4f2 (patch) | |
tree | 8086c7495c3a71587846f0aa30483b3acedb0fb4 /net | |
parent | 1099a2dbf4af78f0f0a3cbbf7237164c80a177a4 (diff) | |
download | freebsd-ports-gnome-cb8ff4213e6760cfde772ed38056ad1a7094d4f2.tar.gz freebsd-ports-gnome-cb8ff4213e6760cfde772ed38056ad1a7094d4f2.tar.zst freebsd-ports-gnome-cb8ff4213e6760cfde772ed38056ad1a7094d4f2.zip |
add py-twitter 0.3
A python wrapper around the Twitter API
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/py-twitter/Makefile | 28 | ||||
-rw-r--r-- | net/py-twitter/distinfo | 3 | ||||
-rw-r--r-- | net/py-twitter/pkg-descr | 8 | ||||
-rw-r--r-- | net/py-twitter/pkg-plist | 3 |
5 files changed, 43 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 03a8bd34ff7d..4402bcc67b9e 100644 --- a/net/Makefile +++ b/net/Makefile @@ -675,6 +675,7 @@ SUBDIR += py-spreadmodule SUBDIR += py-tofu SUBDIR += py-twistedPair + SUBDIR += py-twitter SUBDIR += py-xmlrpc SUBDIR += py-xmlrpclib SUBDIR += py-yadis 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%% |