mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 20:25:28 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
39 lines
936 B
Text
39 lines
936 B
Text
# Contributor: Lauren N. Liberda <lauren@selfisekai.rocks>
|
|
# Maintainer: Lauren N. Liberda <lauren@selfisekai.rocks>
|
|
pkgname=py3-pycaption
|
|
pkgver=2.1.0
|
|
pkgrel=1
|
|
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 --skip-build --root="$pkgdir"
|
|
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests
|
|
}
|
|
|
|
sha512sums="
|
|
f9bacf940c49c2652484e73abee27eaae6dcd69e4ba571c38cf5ef4871c4b3cf6531f427c0ddbfa004ce84d154d32edfcd1c2a1adb195fb5cfe692a9026abd63 pycaption-2.1.0.tar.gz
|
|
"
|