summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD23
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0210bf086c4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Sun May 8 01:07:24 UTC 2016
+pkgbase = python-gym-git
+ pkgdesc = A toolkit for developing and comparing reinforcement learning algorithms.
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://gym.openai.com
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = python2
+ depends = python-numpy>=1.10.4
+ depends = python-requests>=2.0
+ depends = python-six
+ source = git+https://github.com/openai/gym
+ md5sums = SKIP
+
+pkgname = python-gym-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4e81be33b08
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Daniel Maslowski <info@orangecms.org>
+
+_gitname=gym
+pkgname=python-${_gitname}-git
+pkgver=0.0.1
+pkgrel=1
+pkgdesc="A toolkit for developing and comparing reinforcement learning algorithms."
+arch=('any')
+url="https://gym.openai.com"
+license=('MIT')
+depends=('python2' 'python-numpy>=1.10.4' 'python-requests>=2.0' 'python-six')
+makedepends=('git')
+source=("git+https://github.com/openai/$_gitname")
+md5sums=('SKIP')
+
+package() {
+ cd "$srcdir/${_gitname}"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm 644 README.rst "$pkgdir/usr/share/doc/${pkgname}/README.rst"
+ install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: