summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ v M2023-12-10 15:23:42 +0000
committerPJ v M2023-12-10 15:23:42 +0000
commit67d33d025e988ba52e081e65e79a6ea75cf1804e (patch)
treed44132f48036d8c35cb14ac5e5bec646761ab8dd
parentc558cae188a0ae4e782fc024c962d69c4af0a105 (diff)
downloadaur-67d33d025e988ba52e081e65e79a6ea75cf1804e.tar.gz
add some optional deps. thanks leuko
I've not added the dependencies for Atari environments as Shimmy is not yet packaged; upstream also lists quite a few more optional dependencies but does not clearly describe what they are for.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 9 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ad59fa215924..be08ea5e6d10 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,6 +13,10 @@ pkgbase = python-gymnasium
depends = python-importlib-metadata
depends = python-typing_extensions
depends = python-farama-notifications
+ optdepends = python-pygame: environment rendering, required for many provided environments
+ optdepends = python-pybox2d: required for box2d environments
+ optdepends = box2d: required for box2d environments
+ optdepends = python-mujoco: required for mujoco environments
source = https://files.pythonhosted.org/packages/source/g/gymnasium/gymnasium-0.29.1.tar.gz
source = LICENSE-0.29.1::https://raw.githubusercontent.com/Farama-Foundation/Gymnasium/v0.29.1/LICENSE
sha256sums = 1a532752efcb7590478b1cc7aa04f608eb7a2fdad5570cd217b66b6a35274bb1
diff --git a/PKGBUILD b/PKGBUILD
index f9b8445e5815..cd4b1506f92e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,6 +12,11 @@ url="https://gymnasium.farama.org/"
license=('MIT')
depends=('python-numpy' 'python-cloudpickle' 'python-importlib-metadata' 'python-typing_extensions' 'python-farama-notifications')
makedepends=('python-build' 'python-installer' 'python-wheel')
+optdepends=('python-pygame: environment rendering, required for many provided environments'
+ 'python-pybox2d: required for box2d environments'
+ 'box2d: required for box2d environments'
+ 'python-mujoco: required for mujoco environments')
+
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz" "LICENSE-${pkgver}::https://raw.githubusercontent.com/Farama-Foundation/Gymnasium/${_pkgver}/LICENSE")
sha256sums=('1a532752efcb7590478b1cc7aa04f608eb7a2fdad5570cd217b66b6a35274bb1' # from PyPI
'7dacaa9772e856aee6943b32ef663d3634d91d72ec7bbc74d136943673f91e18')