python-subliminal: update to 2.1.0.

This commit is contained in:
Daniel Santana 2020-05-02 18:07:03 -03:00 committed by Helmut Pozimski
parent be10ddc399
commit a5be825433

View file

@ -1,11 +1,10 @@
# Template file for 'python-subliminal' # Template file for 'python-subliminal'
pkgname=python-subliminal pkgname=python-subliminal
version=2.0.5 version=2.1.0
revision=2 revision=2
archs=noarch archs=noarch
wrksrc="subliminal-${version}" wrksrc="subliminal-${version}"
build_style=python-module build_style=python-module
pycompile_module="subliminal"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python python-guessit python-babelfish python-enzyme depends="python python-guessit python-babelfish python-enzyme
python-BeautifulSoup4 python-requests python-click python-dogpile.cache python-BeautifulSoup4 python-requests python-click python-dogpile.cache
@ -15,22 +14,17 @@ short_desc="Subtitles, faster than your thoughts (Python2)"
maintainer="Daniel Santana <daniel@santana.tech>" maintainer="Daniel Santana <daniel@santana.tech>"
license="MIT" license="MIT"
homepage="http://subliminal.readthedocs.org" homepage="http://subliminal.readthedocs.org"
changelog="https://github.com/Diaoul/subliminal/blob/master/HISTORY.rst"
distfiles="${PYPI_SITE}/s/subliminal/subliminal-${version}.tar.gz" distfiles="${PYPI_SITE}/s/subliminal/subliminal-${version}.tar.gz"
checksum=147aa54f54de62d6fcafa213bb9ea89319600c133dab1a5532ff7126352bfbb7 checksum=c6439cc733a4f37f01f8c14c096d44fd28d75d1f6f6e2d1d1003b1b82c65628b
alternatives="subliminal:subliminal:/usr/bin/subliminal2" alternatives="subliminal:subliminal:/usr/bin/subliminal2"
post_extract() {
# Remove extraneous files, they are not used and they doen't work on python3
rm -r subliminal/subtitles
}
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE
} }
python3-subliminal_package() { python3-subliminal_package() {
archs=noarch archs=noarch
pycompile_module="subliminal"
depends="python3 python3-guessit python3-babelfish python3-enzyme depends="python3 python3-guessit python3-babelfish python3-enzyme
python3-BeautifulSoup4 python3-requests python3-click python3-dogpile.cache python3-BeautifulSoup4 python3-requests python3-click python3-dogpile.cache
python3-stevedore python3-chardet python3-pysrt python3-six python3-appdirs python3-stevedore python3-chardet python3-pysrt python3-six python3-appdirs