From d3e2c5334d98df60430f48fea33db6a32c015546 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 16 Jul 2017 16:21:25 +0000 Subject: python2-guessit: initial inclusion. dep of flexget --- abs/core/python_modules/python2-guessit/PKGBUILD | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 abs/core/python_modules/python2-guessit/PKGBUILD 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 +_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} +} -- cgit v0.12