blob: a5c2e3512cb30c25c66dda7c19cdd8da4c4a8bd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: BenoƮt Allard <benoit.allard@gmx.de>
pkgname=python-optuna
pkgver=3.2.0
pkgrel=1
pkgdesc="A hyperparameter optimization framework"
arch=('any')
url="https://optuna.org"
license=('MIT')
depends=("python"
"python-alembic"
"python-cmaes"
"python-colorlog"
"python-numpy"
"python-packaging"
"python-sqlalchemy"
"python-tqdm"
"python-pyyaml")
optdepends=() # Too many to list here
_name=${pkgname#python-}
source=("$pkgname-$pkgver.tar.gz::https://github.com/optuna/$_name/archive/v$pkgver.tar.gz")
sha256sums=('eaf63ef73cf7b92fb25320cb9546b3a4b0bab83d911a353b7e00aa940581ddcb')
build() {
python -m pip wheel ./$_name-$pkgver --no-build-isolation
}
package() {
python -m installer --destdir="$pkgdir" optuna-${pkgver}-*.whl
}
|