diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-11-21 18:20:42 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-11-21 18:20:42 +0000 |
commit | e3f6add9db52afb1da325a97ff1c9f90776a595b (patch) | |
tree | 6d7015db979c84d7f13599f7d12354f174560a29 /math/py-gym/Makefile | |
parent | da50bdec9d067a62096b5e96667d3f727fdced47 (diff) | |
download | ports-e3f6add9db52afb1da325a97ff1c9f90776a595b.tar.gz ports-e3f6add9db52afb1da325a97ff1c9f90776a595b.zip |
math/py-gym: Update to 0.21.0
Diffstat (limited to 'math/py-gym/Makefile')
-rw-r--r-- | math/py-gym/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/math/py-gym/Makefile b/math/py-gym/Makefile index 824d65c69f0d..44348821aa9c 100644 --- a/math/py-gym/Makefile +++ b/math/py-gym/Makefile @@ -1,7 +1,7 @@ # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> PORTNAME= gym -PORTVERSION= 0.20.0 +PORTVERSION= 0.21.0 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -21,4 +21,10 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.8.1:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> |