git: 467992155ab3 - main - math/py-gym: Fix build after 553bcea9dbe91208a9c8bf265e0d8e1172094ffe
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun May 16 15:26:54 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=467992155ab3d5c61e657f95fc3a3af7b56c6a55
commit 467992155ab3d5c61e657f95fc3a3af7b56c6a55
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-16 15:14:44 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-05-16 15:24:12 +0000
math/py-gym: Fix build after 553bcea9dbe91208a9c8bf265e0d8e1172094ffe
- Bump PORTREVISION for package change
---
math/py-gym/Makefile | 3 ++-
math/py-gym/files/patch-setup.py | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/math/py-gym/Makefile b/math/py-gym/Makefile
index f01ed0f57dee..ae1fa4975147 100644
--- a/math/py-gym/Makefile
+++ b/math/py-gym/Makefile
@@ -2,6 +2,7 @@
PORTNAME= gym
PORTVERSION= 0.18.0
+PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +14,7 @@ LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cloudpickle>=1.2.0<1.7.0:devel/py-cloudpickle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.10.4,1:math/py-numpy@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pillow>=0<7.2.0:graphics/py-pillow@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pillow>=0<8.2.1:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyglet150>=1.4.0<1.5.1:graphics/py-pyglet150@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
diff --git a/math/py-gym/files/patch-setup.py b/math/py-gym/files/patch-setup.py
new file mode 100644
index 000000000000..b27fd3cf091a
--- /dev/null
+++ b/math/py-gym/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2020-12-19 00:04:11 UTC
++++ setup.py
+@@ -29,7 +29,7 @@ setup(name='gym',
+ if package.startswith('gym')],
+ zip_safe=False,
+ install_requires=[
+- 'scipy', 'numpy>=1.10.4', 'pyglet>=1.4.0,<=1.5.0', 'Pillow<=7.2.0', 'cloudpickle>=1.2.0,<1.7.0',
++ 'scipy', 'numpy>=1.10.4', 'pyglet>=1.4.0,<=1.5.0', 'Pillow<=8.2.0', 'cloudpickle>=1.2.0,<1.7.0',
+ ],
+ extras_require=extras,
+ package_data={'gym': [
More information about the dev-commits-ports-all
mailing list