aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-06-07 21:35:54 +0800
committerwg <wg@FreeBSD.org>2013-06-07 21:35:54 +0800
commit229cb151bdabb7cd01d88f3e5fe3c032d358cde1 (patch)
treefc552c82c2e5be7903e13f3af524d6c458a6278c /devel
parentb6cfc17f70b8abcc5bd76d048f0c4d1ddf15e216 (diff)
downloadfreebsd-ports-gnome-229cb151bdabb7cd01d88f3e5fe3c032d358cde1.tar.gz
freebsd-ports-gnome-229cb151bdabb7cd01d88f3e5fe3c032d358cde1.tar.zst
freebsd-ports-gnome-229cb151bdabb7cd01d88f3e5fe3c032d358cde1.zip
tvrage is a python based object oriented client interface for tvrage.com's
XML based api feeds. The tvrage package consists of three modules: - feeds module provides a wrapper function for each of tvrage's XML-feeds - api module provides an clean and object oriented interface on top of those services - quickinfo module is a simple pythonic wrapper for tvrage's quickinfo api. Values are returned as python dictionaries rather than dedicated objects for tv shows and episodes WWW: https://github.com/ckreutzer/python-tvrage Approved by: culot (mentor)
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-tvrage/Makefile25
-rw-r--r--devel/py-tvrage/distinfo2
-rw-r--r--devel/py-tvrage/pkg-descr12
-rw-r--r--devel/py-tvrage/pkg-plist19
5 files changed, 59 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a61fb36a8706..64873a614476 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3710,6 +3710,7 @@
SUBDIR += py-turbojson
SUBDIR += py-turbojson11
SUBDIR += py-turbokid
+ SUBDIR += py-tvrage
SUBDIR += py-tw.forms
SUBDIR += py-twisted
SUBDIR += py-twistedCore
diff --git a/devel/py-tvrage/Makefile b/devel/py-tvrage/Makefile
new file mode 100644
index 000000000000..421226b79209
--- /dev/null
+++ b/devel/py-tvrage/Makefile
@@ -0,0 +1,25 @@
+# Created by: William Grzybowski <wg@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= tvrage
+PORTVERSION= 0.4.1
+CATEGORIES= devel python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= python-${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= wg@FreeBSD.org
+COMMENT= Python client for the tvrage.com XML API
+
+LICENSE= BSD
+
+USE_GITHUB= yes
+GH_ACCOUNT= ckreutzer
+GH_COMMIT= c8e9781
+GH_TAGNAME= ${PORTVERSION}
+GH_PROJECT= python-${PORTNAME}
+
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= yes
+PYDISTUTILS_PKGNAME= python_${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/devel/py-tvrage/distinfo b/devel/py-tvrage/distinfo
new file mode 100644
index 000000000000..2ac3324188fe
--- /dev/null
+++ b/devel/py-tvrage/distinfo
@@ -0,0 +1,2 @@
+SHA256 (python-tvrage-0.4.1.tar.gz) = f8a530376c5cf1bc573d1945a8504c3394b228c731a3eff5100c705997a72063
+SIZE (python-tvrage-0.4.1.tar.gz) = 10646
diff --git a/devel/py-tvrage/pkg-descr b/devel/py-tvrage/pkg-descr
new file mode 100644
index 000000000000..1dc36597e2ec
--- /dev/null
+++ b/devel/py-tvrage/pkg-descr
@@ -0,0 +1,12 @@
+tvrage is a python based object oriented client interface for tvrage.com's
+XML based api feeds.
+
+The tvrage package consists of three modules:
+ - feeds module provides a wrapper function for each of tvrage's XML-feeds
+ - api module provides an clean and object oriented interface on top of those
+ services
+ - quickinfo module is a simple pythonic wrapper for tvrage's quickinfo api.
+ Values are returned as python dictionaries rather than dedicated objects
+ for tv shows and episodes
+
+WWW: https://github.com/ckreutzer/python-tvrage
diff --git a/devel/py-tvrage/pkg-plist b/devel/py-tvrage/pkg-plist
new file mode 100644
index 000000000000..938eac0dba57
--- /dev/null
+++ b/devel/py-tvrage/pkg-plist
@@ -0,0 +1,19 @@
+%%PYTHON_SITELIBDIR%%/tvrage/__init__.py
+%%PYTHON_SITELIBDIR%%/tvrage/__init__.pyc
+%%PYTHON_SITELIBDIR%%/tvrage/__init__.pyo
+%%PYTHON_SITELIBDIR%%/tvrage/api.py
+%%PYTHON_SITELIBDIR%%/tvrage/api.pyc
+%%PYTHON_SITELIBDIR%%/tvrage/api.pyo
+%%PYTHON_SITELIBDIR%%/tvrage/exceptions.py
+%%PYTHON_SITELIBDIR%%/tvrage/exceptions.pyc
+%%PYTHON_SITELIBDIR%%/tvrage/exceptions.pyo
+%%PYTHON_SITELIBDIR%%/tvrage/feeds.py
+%%PYTHON_SITELIBDIR%%/tvrage/feeds.pyc
+%%PYTHON_SITELIBDIR%%/tvrage/feeds.pyo
+%%PYTHON_SITELIBDIR%%/tvrage/quickinfo.py
+%%PYTHON_SITELIBDIR%%/tvrage/quickinfo.pyc
+%%PYTHON_SITELIBDIR%%/tvrage/quickinfo.pyo
+%%PYTHON_SITELIBDIR%%/tvrage/util.py
+%%PYTHON_SITELIBDIR%%/tvrage/util.pyc
+%%PYTHON_SITELIBDIR%%/tvrage/util.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/tvrage