mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 02:05:16 +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
960 B
Text
30 lines
960 B
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-bayesian-optimization
|
|
pkgver=1.4.2
|
|
pkgrel=0
|
|
pkgdesc="A Python implementation of global optimization with gaussian processes"
|
|
url="https://github.com/fmfn/BayesianOptimization"
|
|
arch="noarch !s390x" #py3-scikit-learn
|
|
license="MIT"
|
|
depends="python3 py3-colorama py3-numpy py3-scipy py3-scikit-learn"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="https://github.com/fmfn/BayesianOptimization/archive/v$pkgver/bayesian-optimization-$pkgver.tar.gz"
|
|
builddir="$srcdir/BayesianOptimization-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
2f174beb033a3480a44c4c78bfb41455140c0004ba7c1e575cf70cbf2948c3d552ea9b2f69c4dd1c508b975f91a8aebd3622fe7d8945b5e8c423c170d29807f6 bayesian-optimization-1.4.2.tar.gz
|
|
"
|