Commit 0f55d1f9 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/py3-bbopt: upgrade to 1.1.21

parent fba00027
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-bbopt
pkgver=1.1.18
pkgrel=1
pkgver=1.1.21
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
......@@ -15,8 +15,9 @@ depends="
python3
"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://pypi.python.org/packages/source/b/bbopt/bbopt-$pkgver.tar.gz"
options="!check" # Requires old version of py3-networkx
options="!check" # Requires unpackaged coconut
builddir="$srcdir/bbopt-$pkgver"
build() {
......@@ -24,11 +25,13 @@ build() {
}
check() {
python3 setup.py test
pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="ccc96ea59f4309f7eb22225a0068148d35061803861ab073f2fea1aca1869c459c538728cf159bc5c7fc516ab2b23c55480699fe6d31488802f108f8879d1e64 bbopt-1.1.18.tar.gz"
sha512sums="
5978fcc10b4a3f4d5c63eabe0ac0e910b7a0e0a08fb9e72863e4d3508cc67f0e9d302adc4af27662e61c4700b41fa368891c6ca39f966521e96bdb0a35d77c2d bbopt-1.1.21.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment