summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorS├ębastien Leduc2015-08-02 17:31:17 +0200
committerS├ębastien Leduc2015-08-02 17:31:17 +0200
commitb7d81d77ed5b394f8b7972a2face2236e79cb555 (patch)
tree444eaff386ac7ded37672e03534d05b7123a4b9b
downloadaur-b7d81d77ed5b394f8b7972a2face2236e79cb555.tar.gz
Initial commit for python2-tmdb3 (from OLD aur)
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD20
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0b62ec03eaf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python2-tmdb3
+ pkgdesc = TheMovieDB.org APIv3 interface
+ pkgver = 0.7.2
+ pkgrel = 1
+ url = https://pypi.python.org/pypi/tmdb3
+ arch = any
+ license = GPL2
+ makedepends = python2-setuptools
+ depends = python2
+ source = https://pypi.python.org/packages/source/t/tmdb3/tmdb3-0.7.2.tar.gz
+ md5sums = c712bca4934230a16a8b1a41dcb987cf
+
+pkgname = python2-tmdb3
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..12fbecdcd58
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# upstream URL: https://github.com/wagnerrp/pytmdb3
+# also as part of MythTV: https://github.com/MythTV/mythtv/tree/master/mythtv/bindings/python/tmdb3
+
+pkgname=python2-tmdb3
+_realname=tmdb3
+pkgver=0.7.2
+pkgrel=1
+pkgdesc="TheMovieDB.org APIv3 interface"
+url="https://pypi.python.org/pypi/tmdb3"
+arch=('any')
+license=('GPL2')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("https://pypi.python.org/packages/source/t/tmdb3/$_realname-$pkgver.tar.gz")
+md5sums=('c712bca4934230a16a8b1a41dcb987cf')
+
+package(){
+ cd "$_realname-$pkgver"
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}