1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 02:05:16 +03:00
aports/community/py3-scikit-optimize/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
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
2023-01-10 04:19:31 +01:00

38 lines
945 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-scikit-optimize
pkgver=0.9.0
pkgrel=1
pkgdesc="Sequential model-based optimization with a 'scipy.optimize' interface"
url="https://scikit-optimize.github.io/"
arch="noarch !s390x" # blocked by py3-joblib
license="BSD-3-Clause"
depends="
py3-joblib
py3-matplotlib
py3-numpy
py3-pillow
py3-scikit-learn
py3-scipy
python3
"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://pypi.python.org/packages/source/s/scikit-optimize/scikit-optimize-$pkgver.tar.gz"
builddir="$srcdir/scikit-optimize-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest -v
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
a4c1bd589686dbbabcc5de38a4eb581c040cc2c3f83bc250ddcbe66314f03fc68b7b12d7679049da34c42445b446e1af3873f7ce90bec2a5361f0077ff3e9b74 scikit-optimize-0.9.0.tar.gz
"