blob: 53aa828a2a3b73f48f197fada89bbf7c824f7050 (
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
|
# Maintainer: trougnouf (Benoit Brummer) <trougnouf at gmail dot com>
_name='baselines'
pkgname="openai-${_name}-git"
pkgver=r121.9cf95a0
pkgrel=4
pkgdesc='High-quality implementations of reinforcement learning algorithms'
provides=(openai-${_name})
url="https://github.com/openai/${_name}"
depends=('python' 'openmpi' 'python-cloudpickle' 'python-tqdm' 'python-gym-git' 'python-joblib' 'python-pyzmq' 'python-dill' 'python-progressbar' 'python-mpi4py' 'python-tensorflow' 'python-click')
makedepends=('cmake' '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
}
|