summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAleksandar Trifunovic2019-03-17 16:43:45 +0100
committerAleksandar Trifunovic2019-03-17 16:43:45 +0100
commit010ff203ac4c51883e605c69c4ea7b3f0da9d719 (patch)
treec1388f3f618d77348f3920021a6b01b1299b5f14 /PKGBUILD
parent5613ac07e3b8133444f63a57b9a05df030cac3d7 (diff)
downloadaur-python-nevergrad.tar.gz
v0.1.6
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 17 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 16e303d1c92..49d981bf247 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,35 @@
-# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
+# Maintainer: Aleksandar Trifunovic akstrfn at gmail dot com
+# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
pkgname=python-nevergrad
-pkgver=0.1.0
-pkgrel=3
+pkgver=0.1.6
+pkgrel=1
pkgdesc='Gradient-free optimization'
-arch=(any)
+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)
-makedepends=(git python-setuptools)
+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')
+makedepends=('git' 'python-setuptools' 'python-pytest')
source=("git+$url#tag=v$pkgver")
md5sums=('SKIP')
build() {
cd nevergrad
-
python setup.py build
}
+# has to be disabled until
+# https://github.com/facebookresearch/nevergrad/issues/72 is resolved
+#check() {
+# cd nevergrad
+# pytest
+#}
+
package() {
cd nevergrad
-
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}