Port details |
- py-gym OpenAI toolkit for developing and comparing your reinforcement learning agents
- 0.26.2_2 math
=2 0.26.2_2Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2019-06-21 23:09:29
- Last Update: 2024-05-13 14:02:37
- Commit Hash: 10392f2
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://www.gymlibrary.dev/
- https://github.com/openai/gym
- Description:
- OpenAI Gym is a toolkit for developing and comparing reinforcement learning
algorithms. This is the gym open-source library, which gives you access to a
standardized set of environments.
gym makes no assumptions about the structure of your agent, and is compatible
with any numerical computation library, such as TensorFlow or Theano. You can
use it from Python code, and soon from other languages.
There are two basic concepts in reinforcement learning: the environment (namely,
the outside world) and the agent (namely, the algorithm you are writing). The
agent sends actions to the environment, and the environment replies with
observations and rewards (that is, a score).
The core gym interface is Env, which is the unified environment interface. There
is no interface for agents; that part is left to you. The following are the Env
methods you should know:
- reset(self): Reset the environment's state. Returns observation.
- step(self, action): Step the environment by one timestep. Returns observation,
reward, done, info.
- render(self, mode='human'): Render one frame of the environment. The default
mode will do something human friendly, such as pop up a window.
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}gym>0:math/py-gym@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/math/py-gym/ && make install clean
- To add the package, run one of these commands:
- pkg install math/py-gym
- pkg install py39-gym
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-gym listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-gym
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1665073148
SHA256 (gym-0.26.2.tar.gz) = e0d882f4b54f0c65f203104c24ab8a38b039f1289986803c7d02cdbe214fbcc4
SIZE (gym-0.26.2.tar.gz) = 721689
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=0 : devel/py-setuptools@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- py39-pytest>=0 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-cloudpickle>=1.2.0 : devel/py-cloudpickle@py39
- py39-gym-notices>=0.0.4 : math/py-gym-notices@py39
- py39-numpy>=1.18.0,1 : math/py-numpy@py39
- python3.9 : lang/python39
- py39-importlib-metadata>=4.8.0 : devel/py-importlib-metadata@py39
- This port is required by:
- for Run
-
- devel/py-bullet3
Configuration Options:
- No options to configure
- Options name:
- math_py-gym
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.26.2_2 13 May 2024 14:02:37
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change |
0.26.2_1 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.26.2_1 23 Apr 2023 09:09:58
    |
Gerald Pfeifer (gerald)  |
*: Bump PORTREVISIONs for math/mpc update to 1.3.1 |
0.26.2 05 Apr 2023 17:30:44
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update WWW and clean up pkg-descr |
0.26.2 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
0.26.2 09 Oct 2022 15:37:57
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update to 0.26.2
Changes: https://github.com/openai/gym/releases |
0.26.1 03 Oct 2022 02:15:18
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update to 0.26.1
Changes: https://github.com/openai/gym/releases |
0.26.0 10 Sep 2022 16:06:20
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update to 0.26.0
- Update WWW
Changes: https://github.com/openai/gym/releases |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.25.2 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.25.2 31 Aug 2022 11:41:10
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update to 0.25.2
Changes: https://github.com/openai/gym/releases |
0.25.1 30 Jul 2022 19:24:51
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update to 0.25.1
Changes: https://github.com/openai/gym/releases |
0.25.0 20 Jul 2022 14:22:24
    |
Tobias C. Berner (tcberner)  |
math: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Alessando Sagratini <ale_sagra@hotmail.com>
* Alex Dupre <ale@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Amarendra Godbole <amarendra.godbole@gmail.com>
* Anders Nordby <anders@FreeBSD.org>
* Andreas Fehlner (fehlner@gmx.de)
* Andrew L. Neporada <andrew@chg.ru>
* Andrey <gugu@zoo.rambler.ru>
* Andrey Zakhvatov (Only the first 15 lines of the commit message are shown above ) |
0.25.0 18 Jul 2022 18:00:44
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update to 0.25.0
Changes: https://github.com/openai/gym/releases |
0.24.1 16 Jun 2022 13:59:58
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update USES=python
math/py-numpy requires Python 3.8+ |
0.24.1 09 Jun 2022 10:58:32
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update to 0.24.1
Changes: https://github.com/openai/gym/releases |
0.24.0 03 Jun 2022 09:00:40
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update to 0.24.0
Changes: https://github.com/openai/gym/releases |
0.23.1 30 Mar 2022 22:21:14
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update to 0.23.1
Changes: https://github.com/openai/gym/releases |
0.23.0 25 Mar 2022 13:37:06
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update to 0.23.0
- Update WWW
Changes: https://github.com/openai/gym/releases |
0.22.0 07 Mar 2022 18:11:21
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update to 0.22.0
Changes: https://github.com/openai/gym/releases |
0.21.0 21 Nov 2021 18:20:42
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update to 0.21.0
Changes: https://github.com/openai/gym/releases |
0.20.0 01 Nov 2021 13:41:48
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update to 0.20.0
- Update USES=python after py-numpy 1.20.3 update
Changes: https://github.com/openai/gym/releases |
0.18.3 20 Jun 2021 20:46:29
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Update to 0.18.3
- Add LICENSE_FILE
Changes: https://github.com/openai/gym/blob/master/README.rst#whats-new |
0.18.0_1 16 May 2021 15:24:12
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Fix build after 553bcea9dbe91208a9c8bf265e0d8e1172094ffe
- Bump PORTREVISION for package change |
0.18.0 18 Apr 2021 05:43:49
    |
Po-Chuan Hsieh (sunpoet)  |
math/py-gym: Remove PYNUMPY |
0.18.0 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.18.0 24 Dec 2020 13:53:46
  |
sunpoet  |
Update to 0.18.0
Changes: https://github.com/openai/gym/blob/master/README.rst#whats-new |
0.17.3 02 Oct 2020 07:31:03
  |
sunpoet  |
Update to 0.17.3
Changes: https://github.com/openai/gym/blob/master/README.rst#whats-new |
0.17.2 09 May 2020 13:48:53
  |
sunpoet  |
Update to 0.17.2 and unbreak this port
Changes: https://github.com/openai/gym/blob/master/README.rst#whats-new |
0.17.1_1 31 Mar 2020 18:38:02
  |
amdmi3  |
Bump PORTREVISION after the previous change |
0.17.1 31 Mar 2020 18:37:33
  |
amdmi3  |
Switch to pyglet150 |
0.17.1 28 Mar 2020 12:54:28
  |
sunpoet  |
Update to 0.17.1 and unbreak this port
Changes: https://github.com/openai/gym/blob/master/README.rst#whats-new |
0.17.0 10 Mar 2020 14:20:07
  |
antoine  |
Mark BROKEN: missing dependency
Reported by: pkg-fallout |
0.17.0 03 Mar 2020 18:51:13
  |
sunpoet  |
Update to 0.17.0
Changes: https://github.com/openai/gym/blob/master/README.rst#whats-new |
0.16.0 12 Feb 2020 19:24:21
  |
sunpoet  |
Update to 0.16.0
Changes: https://github.com/openai/gym/blob/master/README.rst#whats-new |
0.15.6 11 Feb 2020 17:54:30
  |
sunpoet  |
Update to 0.15.6
Changes: https://github.com/openai/gym/blob/master/README.rst#whats-new |
0.15.4 29 Jan 2020 19:15:55
  |
sunpoet  |
Remove unnecessary requires.txt patch |
0.15.4 29 Dec 2019 12:55:29
  |
sunpoet  |
Update to 0.15.4
Changes: https://github.com/openai/gym/blob/master/README.rst#whats-new |
0.15.3_1 28 Dec 2019 07:31:05
  |
sunpoet  |
Unbreak this port after r519944
- Change RUN_DEPENDS from py-pyglet to py-pyglet12
- Bump PORTREVISION for dependency change |
0.15.3 25 Dec 2019 08:56:12
  |
antoine  |
Mark BROKEN
Reported by: pkg-fallout |
0.15.3 04 Nov 2019 16:01:55
  |
sunpoet  |
Update to 0.15.3
Changes: https://github.com/openai/gym/blob/master/README.rst#whats-new |
0.14.0 03 Aug 2019 20:55:50
  |
sunpoet  |
Use PYNUMPY |
0.14.0 01 Aug 2019 16:17:13
  |
sunpoet  |
Update to 0.14.0
Changes: https://github.com/openai/gym/blob/master/README.rst#whats-new |
0.13.1_1 26 Jul 2019 20:46:57
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330 |
0.13.1 09 Jul 2019 18:20:03
  |
sunpoet  |
Update to 0.13.1
Changes: https://github.com/openai/gym/blob/master/README.rst#whats-new |
0.13.0 01 Jul 2019 15:37:31
  |
sunpoet  |
Update to 0.13.0
Changes: https://github.com/openai/gym/blob/master/README.rst#whats-new |
0.12.5 21 Jun 2019 23:08:45
  |
sunpoet  |
Add py-gym 0.12.5
OpenAI Gym is a toolkit for developing and comparing reinforcement learning
algorithms. This is the gym open-source library, which gives you access to a
standardized set of environments.
gym makes no assumptions about the structure of your agent, and is compatible
with any numerical computation library, such as TensorFlow or Theano. You can
use it from Python code, and soon from other languages.
There are two basic concepts in reinforcement learning: the environment (namely,
the outside world) and the agent (namely, the algorithm you are writing). The
agent sends actions to the environment, and the environment replies with
observations and rewards (that is, a score).
(Only the first 15 lines of the commit message are shown above ) |