# Template file for 'subliminal'
pkgname=subliminal
version=2.6.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-vcs"
depends="python3 python3-guessit python3-babelfish python3-enzyme
 python3-BeautifulSoup4 python3-requests python3-click python3-click-option-group
 python3-dogpile.cache python3-stevedore python3-chardet python3-pytz
 python3-rarfile python3-srt python3-pysubs2 python3-tomlkit python3-platformdirs
 python3-defusedxml python3-knowit"
short_desc="Subtitles, faster than your thoughts"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://subliminal.readthedocs.org"
changelog="https://github.com/Diaoul/subliminal/blob/master/HISTORY.rst"
distfiles="${PYPI_SITE}/s/subliminal/subliminal-${version}.tar.gz"
checksum=e6e7aee1b218d543dcb3b7b2248ea0f92afc4c223ce3e7af8d2c3843e31bafe5

do_check() {
	: # pypi tarball has no tests
}

post_install() {
	vlicense LICENSE
}

python3-subliminal_package() {
	metapackage=yes
	depends="subliminal>=${version}_${revision}"
	short_desc+=" (transitional dummy package)"
}
