summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9409fa8a6dc0fa9b467f8ca7c2db8293d5fe11a0 (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
# Maintainer:  Liu Zhe <cruise.pas@gmail.com>

pkgname=python-hyperopt
pkgver=0.1.2
pkgrel=1
pkgdesc='Distributed Asynchronous Hyperparameter Optimization in Python'
arch=('any')
url='https://github.com/hyperopt/hyperopt'
license=('custom')
depends=('python-scipy' 'python-pymongo' 'python-six' 'python-networkx' 'python-future' 'python-tqdm')
optdepends=('python-dill')
makedepends=('python-setuptools')
source=("hyperopt-$pkgver.tar.gz::https://github.com/hyperopt/hyperopt/archive/$pkgver.tar.gz")
sha1sums=('f58de8c6041369127026a4928411d99f612bf3b3')

build() {
    cd "$srcdir"/hyperopt-$pkgver
    python setup.py build
}

package() {
    cd "$srcdir"/hyperopt-$pkgver
    python setup.py install --skip-build -O1 --root="$pkgdir"
    install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}