blob: 95d7e35d7c7bcc27b7eb93a85186ca5c2e56aebe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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}
}
|