summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/python_modules/python2-pytvmaze/PKGBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/core/python_modules/python2-pytvmaze/PKGBUILD b/abs/core/python_modules/python2-pytvmaze/PKGBUILD
new file mode 100644
index 0000000..984e9c8
--- /dev/null
+++ b/abs/core/python_modules/python2-pytvmaze/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Cedric Girard <girard.cedric@gmail.com>
+pkgname=python2-pytvmaze
+_pkgname=pytvmaze
+pkgver=2.0.8
+pkgrel=1
+pkgdesc="Python interface to the TV Maze API "
+arch=(any)
+url="http://pypi.python.org/pypi/pytvmaze"
+license=(MIT)
+depends=('python2' 'python2-requests')
+makedepends=(python2-distribute)
+source=("https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
+md5sums=('562f807f97b1c626d9d9ab090195ba7b')
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}