30 lines
992 B
Bash
30 lines
992 B
Bash
# Template file for 'python-guessit'
|
|
pkgname=python-guessit
|
|
version=3.1.0
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="guessit-${version}"
|
|
build_style=python-module
|
|
pycompile_module="guessit"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python python-rebulk python-babelfish python-dateutil"
|
|
short_desc="Library for guessing information from video filenames (Python2)"
|
|
maintainer="Daniel Santana <daniel@santana.tech>"
|
|
license="LGPL-3.0-only"
|
|
homepage="https://guessit.readthedocs.io/en/latest/"
|
|
distfiles="${PYPI_SITE}/g/guessit/guessit-${version}.tar.gz"
|
|
checksum=2dcd3f2acaf6c1a864f903f084ddd6a6b753f3107ae864355d7c8c1e9cb205b2
|
|
alternatives="guessit:guessit:/usr/bin/guessit2"
|
|
|
|
python3-guessit_package() {
|
|
archs=noarch
|
|
pycompile_module="guessit"
|
|
depends="python3 python3-rebulk python3-babelfish python3-dateutil"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
alternatives="guessit:guessit:/usr/bin/guessit3"
|
|
pkg_install() {
|
|
vmove usr/bin/guessit3
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|