diff options
Diffstat (limited to 'misc/py-gymnasium/Makefile')
-rw-r--r-- | misc/py-gymnasium/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/misc/py-gymnasium/Makefile b/misc/py-gymnasium/Makefile new file mode 100644 index 000000000000..16d5d7adf979 --- /dev/null +++ b/misc/py-gymnasium/Makefile @@ -0,0 +1,31 @@ +PORTNAME= gymnasium +DISTVERSION= 1.2.0 +CATEGORIES= misc python # machine-learning +MASTER_SITES= PYPI # no tarball +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= API for reinforcement learning & diverse set of reference environments +WWW= https://gymnasium.farama.org/ \ + https://github.com/Farama-Foundation/Gymnasium + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cloudpickle>=1.2.0:devel/py-cloudpickle@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}farama-notifications>=0.0.1:devel/py-Farama-Notifications@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.3.0:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +# tests as of 1.2.0: 9 passed in 2.09s + +.include <bsd.port.mk> |