aports/testing/py3-enzyme/APKBUILD
ptrcnull d6e150e932
testing/*: rebuild against python 3.12
this is only a partial rebuild,
including stuff that i built on my personal machine
with python 3.12.2; might fail with 3.12.3
2024-04-15 17:00:47 +02:00

31 lines
813 B
Plaintext

# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
pkgname=py3-enzyme
_pkgname=enzyme
pkgver=0.4.1
pkgrel=4
pkgdesc="Python module to parse video metadata"
url="https://github.com/Diaoul/enzyme"
arch="noarch"
license="Apache-2.0"
depends="py3-setuptools"
checkdepends="py3-pytest py3-requests py3-yaml"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Diaoul/enzyme/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
456f3ee8b9f0b218451dc455acba7365c0ab12ae0e43df72cb4f748a29ac8fe12c14a48913681e29de355d297ec219bc9288d09acdec228fee9bbab85b5e048b py3-enzyme-0.4.1.tar.gz
"