diff options
author | sbz <sbz@FreeBSD.org> | 2012-07-05 17:15:41 +0800 |
---|---|---|
committer | sbz <sbz@FreeBSD.org> | 2012-07-05 17:15:41 +0800 |
commit | 4491a9d46f7be867936c75d00eb302363d77d485 (patch) | |
tree | 88909055bb1043f064cd462a17774962f912c930 | |
parent | 29e45eddac1569f1ec7bbdeef9ec23f6bb21d3f1 (diff) | |
download | freebsd-ports-gnome-4491a9d46f7be867936c75d00eb302363d77d485.tar.gz freebsd-ports-gnome-4491a9d46f7be867936c75d00eb302363d77d485.tar.zst freebsd-ports-gnome-4491a9d46f7be867936c75d00eb302363d77d485.zip |
This is a Python wrapper for Reddit's API, aiming to be as easy to use as
possible.
WWW: https://github.com/mellort/reddit_api
PR: ports/169396
Submitted by: koobs <koobs.freebsd at gmail.com>
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-reddit/Makefile | 25 | ||||
-rw-r--r-- | devel/py-reddit/distinfo | 2 | ||||
-rw-r--r-- | devel/py-reddit/pkg-descr | 4 | ||||
-rw-r--r-- | devel/py-reddit/pkg-plist | 35 |
5 files changed, 67 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index e8cfb48886b7..23353a5727d0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3387,6 +3387,7 @@ SUBDIR += py-qt4-scripttools SUBDIR += py-qt4-test SUBDIR += py-rauth + SUBDIR += py-reddit SUBDIR += py-repl SUBDIR += py-repoze.lru SUBDIR += py-repoze.tm2 diff --git a/devel/py-reddit/Makefile b/devel/py-reddit/Makefile new file mode 100644 index 000000000000..606762f06503 --- /dev/null +++ b/devel/py-reddit/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: py-reddit +# Date created: 2012-06-25 +# Whom: koobs <koobs.freebsd@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= reddit +PORTVERSION= 1.4.0 +CATEGORIES= devel python www +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs.freebsd@gmail.com +COMMENT= A Python wrapper for the Reddit API + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/six.py:${PORTSDIR}/devel/py-six + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install + +.include <bsd.port.mk> diff --git a/devel/py-reddit/distinfo b/devel/py-reddit/distinfo new file mode 100644 index 000000000000..875b9d896bac --- /dev/null +++ b/devel/py-reddit/distinfo @@ -0,0 +1,2 @@ +SHA256 (reddit-1.4.0.tar.gz) = 0f7a88d7dacf556c06546444a4faad028b9b8b481ced84ca7a039f839f897340 +SIZE (reddit-1.4.0.tar.gz) = 37369 diff --git a/devel/py-reddit/pkg-descr b/devel/py-reddit/pkg-descr new file mode 100644 index 000000000000..15d284b911a0 --- /dev/null +++ b/devel/py-reddit/pkg-descr @@ -0,0 +1,4 @@ +This is a Python wrapper for Reddit's API, aiming to be as easy to use as +possible. + +WWW: https://github.com/mellort/reddit_api diff --git a/devel/py-reddit/pkg-plist b/devel/py-reddit/pkg-plist new file mode 100644 index 000000000000..50a22c76f464 --- /dev/null +++ b/devel/py-reddit/pkg-plist @@ -0,0 +1,35 @@ +@comment $FreeBSD$ +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/backport.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/backport.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/backport.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/decorators.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/decorators.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/decorators.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/errors.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/errors.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/errors.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/helpers.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/helpers.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/helpers.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/objects.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/objects.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/objects.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/reddit_api.cfg +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/reddit_test.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/reddit_test.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/reddit_test.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/settings.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/settings.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit/settings.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/reddit +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |