# Contributor: Lauren N. Liberda # Maintainer: Lauren N. Liberda pkgname=py3-pycaption pkgver=2.0.9 pkgrel=0 pkgdesc="Python module to read/write popular video caption formats" url="https://github.com/pbs/pycaption" arch="noarch" license="Apache-2.0" depends=" python3 py3-beautifulsoup4 py3-cssutils py3-lxml " makedepends="py3-setuptools" checkdepends=" py3-pytest py3-pytest-lazy-fixture " source="https://github.com/pbs/pycaption/archive/refs/tags/$pkgver/pycaption-$pkgver.tar.gz" builddir="$srcdir/pycaption-$pkgver" build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests } sha512sums=" 2eaac247c8262e6f41c28cc73edd662afa41deb6ce0b1a07204934d76e6c4f3d0a8cc87545d402041867653fdba4cfb2da7860995ca84cfd766a0d25f0149cdb pycaption-2.0.9.tar.gz "