1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 04:35:39 +03:00
aports/community/py3-quantiphy-eval/APKBUILD

36 lines
877 B
Text

# Contributor: Andy Hawkins <andy@gently.org.uk>
# Maintainer: Andy Hawkins <andy@gently.org.uk>
pkgname=py3-quantiphy-eval
pkgver=0.4
pkgrel=1
pkgdesc="Computations with Physical Quantities"
url="https://github.com/kenkundert/quantiphy_eval"
arch="noarch"
license="GPL-3.0-or-later"
depends="
python3
py3-quantiphy
py3-inform
py3-sly
"
makedepends="
py3-setuptools
"
checkdepends="
py3-pytest
"
source="https://github.com/KenKundert/quantiphy_eval/archive/v$pkgver/quantiphy_eval-v$pkgver.tar.gz"
builddir="$srcdir/quantiphy_eval-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$PWD/build/lib" pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="9fc53d21524aacb774a40b3a172089366a050d70cb62b0034e975e188ff73b764f8fcd2e00b89abb15145a57cbe93f2a541bb062faf1bc4e7a0b2d383117a71a quantiphy_eval-v0.4.tar.gz"