mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +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
30 lines
881 B
Text
30 lines
881 B
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-amply
|
|
pkgver=0.1.5
|
|
pkgrel=1
|
|
pkgdesc="A Python package for AMPL/GMPL datafile parsing"
|
|
url="https://github.com/willu47/amply"
|
|
arch="noarch"
|
|
license="EPL-1.0"
|
|
depends="python3 py3-parsing"
|
|
makedepends="py3-setuptools py3-setuptools_scm py3-wheel"
|
|
checkdepends="python3-dev py3-pytest"
|
|
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/a/amply/amply-$pkgver.tar.gz"
|
|
builddir="$srcdir/amply-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD"/src pytest -vv
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
e246dfd061159a24b59c1c46102b259dfec3d83067d542f822851fca37272da5176081c2002b1f0347465fb262b79b886703647f73ad66906b25884eeccc6b91 py3-amply-0.1.5.tar.gz
|
|
"
|