1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/community/py3-bbopt/APKBUILD
2021-07-16 11:51:41 +00:00

37 lines
920 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-bbopt
pkgver=1.3.6
pkgrel=0
pkgdesc="Black box hyperparameter optimization made easy"
url="https://github.com/evhub/bbopt"
arch="noarch !mips !mips64 !s390x" # Blocked by py3-scikit-optimize
license="Apache-2.0"
depends="
py3-matplotlib
py3-numpy
py3-portalocker
py3-scikit-optimize
python3
"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://pypi.python.org/packages/source/b/bbopt/bbopt-$pkgver.tar.gz"
options="!check" # Requires unpackaged coconut
builddir="$srcdir/bbopt-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
6fe6e5dd2bc1f0f1c5825f4bec9588e01f1c9e3e02faa36af63d82ccda396ced1e9c1aec7201b1ce0c0669f6839c2a240fdae67a314c040d4f905f809054411d bbopt-1.3.6.tar.gz
"