blob: be8a044dc506353da9203f160b13b96c41207115 (
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
30
31
|
# Contributor: Philipp Glaum <p@pglaum.de>
# Maintainer: Philipp Glaum <p@pglaum.de>
pkgname=py3-guessit
pkgver=3.3.1
pkgrel=2
pkgdesc="Library for guessing information from video filenames"
url="https://pypi.org/project/guessit/"
arch="noarch"
license="LGPL-3.0-only"
depends="python3 py3-rebulk py3-babelfish py3-dateutil py3-six py3-setuptools"
makedepends="py3-wheel py3-pytest-runner"
checkdepends="py3-pytest py3-pytest-benchmark py3-yaml"
source="https://files.pythonhosted.org/packages/source/g/guessit/guessit-$pkgver.tar.gz"
builddir="$srcdir/guessit-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/guessit/test
}
sha512sums="
42c87525ea2d9c808e30b50db674862f5362f26b95ba5e6bc163df03a261d9b24daf4b4d525677d3e6d53e8e7f637c3d9e0ba3f25f4397e0658b618f50a3248b guessit-3.3.1.tar.gz
"
|