diff options
author | Benoit Brummer | 2018-05-19 00:04:15 +0200 |
---|---|---|
committer | Benoit Brummer | 2018-05-19 00:04:15 +0200 |
commit | 52f9e6cc9f550bb98c384f1361541fb338b021b2 (patch) | |
tree | 693c53a1f0f45562e44db9349658a83596d4a1e1 | |
download | aur-52f9e6cc9f550bb98c384f1361541fb338b021b2.tar.gz |
initial build
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..54f0290aa476 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-estool-git + pkgdesc = Implementation of various Evolution Strategies, such as GA, PEPG, CMA-ES and OpenAI's ES using common interface + pkgver = r13.2a95325 + pkgrel = 1 + url = https://github.com/hardmaru/estool + arch = x86_64 + license = MIT + makedepends = python-setuptools + depends = python-gym-git + depends = python-pybullet + provides = python-estool + source = git+https://github.com/hardmaru/estool.git + sha256sums = SKIP + +pkgname = python-estool-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..52b96d25c864 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: trougnouf (Benoit Brummer) <trougnouf at gmail dot com> + +_name='estool' +pkgname="python-${_name}-git" +pkgver=r13.2a95325 +pkgrel=1 +pkgdesc="Implementation of various Evolution Strategies, such as GA, PEPG, CMA-ES and OpenAI's ES using common interface" +provides=(python-${_name}) +url="https://github.com/hardmaru/${_name}" +depends=('python-gym-git' 'python-pybullet') +makedepends=('python-setuptools') +license=('MIT') +arch=('x86_64') + +pkgver() { + cd "${srcdir}/$_name" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +source=("git+${url}.git") + +sha256sums=('SKIP') + +build() { + cd "${srcdir}/${_name}" + python setup.py build +} + +package() { + cd "${srcdir}/${_name}" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} + + |