blob: 49166d48aed9307cc810189c6abd2e63c926e1da (
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
30
31
32
33
34
35
36
37
|
# Maintainer: Aleksandar Trifunovic akstrfn at gmail dot com
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
pkgname=python-nevergrad
pkgver=0.4.3
pkgrel=1
pkgdesc='Gradient-free optimization'
arch=('any')
url='https://github.com/facebookresearch/nevergrad'
license=(MIT)
depends=('mypy' 'python-bayesian-optimization' 'python-cma' 'python-coverage'
'python-genty' 'python-joblib' 'python-matplotlib' 'python-nose'
'python-nose-timer' 'python-numpy' 'python-pandas'
'python-typing-extensions' 'python-pyproj')
makedepends=('git' 'python-setuptools' 'python-pytest' 'python-gym')
source=("git+$url#tag=$pkgver")
md5sums=('SKIP')
build() {
cd nevergrad
python setup.py build
}
# tests require some packages that are not in the aur such as fcmaes and maybe
# some others
#check() {
# cd nevergrad
# pytest
#}
package() {
cd nevergrad
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim: ts=2 sw=2 et:
|