svn commit: r541768 - in head/math: . py-flax
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Jul 9 18:08:13 UTC 2020
Author: sunpoet
Date: Thu Jul 9 18:08:11 2020
New Revision: 541768
URL: https://svnweb.freebsd.org/changeset/ports/541768
Log:
Add py-flax 0.1.0
Flax is a high-performance neural network library for JAX that is designed for
flexibility: Try new forms of training by forking an example and by modifying
the training loop, not by adding features to a framework.
WWW: https://github.com/google/flax
Added:
head/math/py-flax/
head/math/py-flax/Makefile (contents, props changed)
head/math/py-flax/distinfo (contents, props changed)
head/math/py-flax/pkg-descr (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Thu Jul 9 18:08:06 2020 (r541767)
+++ head/math/Makefile Thu Jul 9 18:08:11 2020 (r541768)
@@ -749,6 +749,7 @@
SUBDIR += py-fastdtw
SUBDIR += py-ffc
SUBDIR += py-fiat
+ SUBDIR += py-flax
SUBDIR += py-fpconst
SUBDIR += py-fpylll
SUBDIR += py-gau2grid
Added: head/math/py-flax/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-flax/Makefile Thu Jul 9 18:08:11 2020 (r541768)
@@ -0,0 +1,31 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= flax
+PORTVERSION= 0.1.0
+CATEGORIES= math python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Neural network library for JAX designed for flexibility
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jax>=0.1.59:math/py-jax@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \
+ ${PYNUMPY}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3700
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dataclasses>=0:devel/py-dataclasses@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
Added: head/math/py-flax/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-flax/distinfo Thu Jul 9 18:08:11 2020 (r541768)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1594308024
+SHA256 (flax-0.1.0.tar.gz) = 94e6a05531009c44b000b9778603c6cceff43b8450e4059c22fd0dea93ea7b3b
+SIZE (flax-0.1.0.tar.gz) = 51138
Added: head/math/py-flax/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-flax/pkg-descr Thu Jul 9 18:08:11 2020 (r541768)
@@ -0,0 +1,5 @@
+Flax is a high-performance neural network library for JAX that is designed for
+flexibility: Try new forms of training by forking an example and by modifying
+the training loop, not by adding features to a framework.
+
+WWW: https://github.com/google/flax
More information about the svn-ports-head
mailing list