summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-07-16 16:21:25 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-07-16 16:21:25 (GMT)
commitd3e2c5334d98df60430f48fea33db6a32c015546 (patch)
tree951863f4db32841d41f4ceac2dac0760d732d83c
parent247b8c850d8f4b412cb520973f6028991978781b (diff)
downloadlinhes_pkgbuild-d3e2c5334d98df60430f48fea33db6a32c015546.zip
linhes_pkgbuild-d3e2c5334d98df60430f48fea33db6a32c015546.tar.gz
linhes_pkgbuild-d3e2c5334d98df60430f48fea33db6a32c015546.tar.bz2
python2-guessit: initial inclusion. dep of flexget
-rw-r--r--abs/core/python_modules/python2-guessit/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core/python_modules/python2-guessit/PKGBUILD b/abs/core/python_modules/python2-guessit/PKGBUILD
new file mode 100644
index 0000000..95d7e35
--- /dev/null
+++ b/abs/core/python_modules/python2-guessit/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Cedric Girard <girard.cedric@gmail.com>
+_pythonmod=guessit
+pkgname=python2-guessit
+pkgver=2.1.4
+pkgrel=1
+pkgdesc="a library for guessing information from video filenames"
+arch=('any')
+url="http://pypi.python.org/pypi/${_pythonmod}"
+license=('GPL3')
+replaces=('python2-guessit-rc')
+depends=('python2' 'python2-rebulk>=0.9.0' 'python2-babelfish>=0.5.5' 'python2-dateutil')
+makedepends=('python2-setuptools')
+source=("https://pypi.io/packages/source/${_pythonmod:0:1}/${_pythonmod}/${_pythonmod}-$pkgver.tar.gz")
+md5sums=('b4fee9c4e106e6de0020e3d143932bb3')
+
+prepare() {
+ cd ${srcdir}/${_pythonmod}-$pkgver
+ find -type f -exec sed -i '1 s|python$|python2|' {} +
+}
+
+build() {
+ cd ${srcdir}/${_pythonmod}-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd ${srcdir}/${_pythonmod}-$pkgver
+ python2 setup.py install --root=${pkgdir}
+}