mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +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
35 lines
1,013 B
Text
35 lines
1,013 B
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-opytimark
|
|
_pkgorig=opytimark
|
|
pkgver=1.0.8
|
|
pkgrel=1
|
|
pkgdesc="Opytimark is a Python library consisting of optimization benchmarking functions"
|
|
url="https://github.com/gugarosa/opytimark"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="
|
|
python3
|
|
py3-numpy
|
|
"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="https://github.com/gugarosa/opytimark/archive/v$pkgver/$_pkgorig-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgorig-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
# several tests are failing -- will examine them later
|
|
check() {
|
|
python3 -m pytest -k 'not test_year and not test_decorator and not test_loader and not cec_benchmark'
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
e5bf9e79631a40a1189af4a1104f4ae970560da2bd915506217ea704fd1786a56a86acd24b67ab5ba463948bc4171128e233d0af6045cbceb43a93b1a91068ea opytimark-1.0.8.tar.gz
|
|
"
|