summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 88aa10553d64ca3a8a8c1e50182fbff14d897257 (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
# Maintainer: Andrew Shunick <aur at shunick dot info>
pkgname=python2-atari_py-git
pkgver=r16.d63ced3
pkgrel=1
pkgdesc="Atari environment for OpenAI gym"
arch=('any')
url="https://gym.openai.com/"
giturl="https://github.com/openai/atari-py"
license=('GPLv2')
provides=('python2-atari_py')
# Some dependencies below are required to use this package with the OpenAI Gym, but may not be
# required in order to install.
depends=('python2' 'python2-pillow' 'python2-opengl' 'python2-numpy' 'python2-six' 'zlib')
makedepends=('python2-setuptools' 'cmake' 'gcc')
source=("${pkgname}::git+${giturl}")
sha512sums=('SKIP')

pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd $pkgname
  python2 setup.py install --root="$pkgdir/" --optimize=1
}