git: 8f09aeab3640 - main - math/py-flax: Update to 0.6.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Oct 2022 17:14:04 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=8f09aeab3640801919d6b7f2da62ed9bc547a571 commit 8f09aeab3640801919d6b7f2da62ed9bc547a571 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-10-03 17:05:29 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-10-03 17:10:37 +0000 math/py-flax: Update to 0.6.0 Changes: https://github.com/google/flax/releases --- math/py-flax/Makefile | 9 ++++++--- math/py-flax/distinfo | 6 +++--- math/py-flax/files/patch-setup.py | 11 +++++++++++ 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/math/py-flax/Makefile b/math/py-flax/Makefile index c891904f5a3f..d9f31fac7bc9 100644 --- a/math/py-flax/Makefile +++ b/math/py-flax/Makefile @@ -1,5 +1,5 @@ PORTNAME= flax -PORTVERSION= 0.3.3 +PORTVERSION= 0.6.0 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,10 +10,13 @@ WWW= https://github.com/google/flax LICENSE= APACHE20 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jax>=0.2.6:math/py-jax@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jax>=0.3.16:math/py-jax@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}numpy>=1.12,1:math/py-numpy@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}numpy>=1.12,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=5.4.1:devel/py-yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>=11.1:textproc/py-rich@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1.1:devel/py-typing-extensions@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils diff --git a/math/py-flax/distinfo b/math/py-flax/distinfo index a385a5714267..55b5edfec104 100644 --- a/math/py-flax/distinfo +++ b/math/py-flax/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1619198551 -SHA256 (flax-0.3.3.tar.gz) = 361cfa44c9d6dee7aa1c73400eb27007aca84cd9fed6cec0a0650c7ae49c9033 -SIZE (flax-0.3.3.tar.gz) = 134921 +TIMESTAMP = 1664767964 +SHA256 (flax-0.6.0.tar.gz) = 6d9bc9d5e86291610e646c945a314912a8769508aa95ed751790f983f6e29c3d +SIZE (flax-0.6.0.tar.gz) = 150906 diff --git a/math/py-flax/files/patch-setup.py b/math/py-flax/files/patch-setup.py new file mode 100644 index 000000000000..16a95395c8c3 --- /dev/null +++ b/math/py-flax/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2022-08-17 06:38:42 UTC ++++ setup.py +@@ -30,7 +30,7 @@ install_requires = [ + "matplotlib", # only needed for tensorboard export + "msgpack", + "optax", +- "rich~=11.1", ++ "rich>=11.1", + "typing_extensions>=4.1.1", + "PyYAML>=5.4.1", + ]