summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1450c497801345f183a47eb24329587910679fb1 (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
# Maintainer: Aleksandar Trifunovic akstrfn at gmail dot com
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>

pkgname=python-bayesian-optimization
pkgver=1.0.1
pkgrel=1
pkgdesc='Bayesian global optimization with gaussian processes'
arch=(any)
url='https://github.com/fmfn/BayesianOptimization'
license=(MIT)
depends=(python-numpy python-scikit-learn python-scipy)
makedepends=(git python-setuptools)
source=("git+$url#tag=v$pkgver")
md5sums=('SKIP')

build() {
  cd BayesianOptimization
  python setup.py build
}

package() {
  cd BayesianOptimization

  python setup.py install --root="$pkgdir" --optimize=1
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim: ts=2 sw=2 et: