1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/testing/py3-enzyme/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
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
2023-01-10 04:19:31 +01:00

30 lines
780 B
Text

# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
pkgname=py3-enzyme
_pkgname=enzyme
pkgver=0.4.1
pkgrel=1
pkgdesc="Python module to parse video metadata"
url="https://github.com/Diaoul/enzyme"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-requests py3-yaml"
source="$pkgname-$pkgver.tar.gz::$url/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
"