mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +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
37 lines
905 B
Text
37 lines
905 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-bbopt
|
|
pkgver=1.4.2
|
|
pkgrel=1
|
|
pkgdesc="Black box hyperparameter optimization made easy"
|
|
url="https://github.com/evhub/bbopt"
|
|
arch="noarch !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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
bb41c6c9e6abc9e245b080cea8816bd726ce5b2a18b7a0ce8fccf3c26a4c944514a21666625e1e2cff8e0f09139ceb08fb550c32b9c7b6b61ea06d664b5ae0da bbopt-1.4.2.tar.gz
|
|
"
|