svn commit: r508397 - in head/science: . py-onnx py-onnx/files
Yuri Victorovich
yuri at FreeBSD.org
Thu Aug 8 17:53:25 UTC 2019
Author: yuri
Date: Thu Aug 8 17:53:24 2019
New Revision: 508397
URL: https://svnweb.freebsd.org/changeset/ports/508397
Log:
New port: science/py-onnx: Open Neural Network eXchange
Added:
head/science/py-onnx/
head/science/py-onnx/Makefile (contents, props changed)
head/science/py-onnx/distinfo (contents, props changed)
head/science/py-onnx/files/
head/science/py-onnx/files/patch-setup.py (contents, props changed)
head/science/py-onnx/pkg-descr (contents, props changed)
Modified:
head/science/Makefile
Modified: head/science/Makefile
==============================================================================
--- head/science/Makefile Thu Aug 8 17:47:43 2019 (r508396)
+++ head/science/Makefile Thu Aug 8 17:53:24 2019 (r508397)
@@ -250,6 +250,7 @@
SUBDIR += py-netCDF4
SUBDIR += py-obspy
SUBDIR += py-oddt
+ SUBDIR += py-onnx
SUBDIR += py-openpiv
SUBDIR += py-paida
SUBDIR += py-paramz
Added: head/science/py-onnx/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/py-onnx/Makefile Thu Aug 8 17:53:24 2019 (r508397)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= onnx
+DISTVERSION= 1.5.0
+CATEGORIES= science
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Open Neural Network eXchange
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= cmake:devel/cmake \
+ ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
+LIB_DEPENDS= libprotobuf.so:devel/protobuf
+RUN_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing>0:devel/py-typing@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils concurrent autoplist
+
+BINARY_ALIAS= python=${PYTHON_CMD}
+
+.include <bsd.port.mk>
Added: head/science/py-onnx/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/py-onnx/distinfo Thu Aug 8 17:53:24 2019 (r508397)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1565284463
+SHA256 (onnx-1.5.0.tar.gz) = 1a584a4ef62a6db178c257fffb06a9d8e61b41c0a80bfd8bcd8a253d72c4b0b4
+SIZE (onnx-1.5.0.tar.gz) = 2981047
Added: head/science/py-onnx/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/py-onnx/files/patch-setup.py Thu Aug 8 17:53:24 2019 (r508397)
@@ -0,0 +1,20 @@
+--- setup.py.orig 2019-08-08 17:17:08 UTC
++++ setup.py
+@@ -52,11 +52,12 @@ COVERAGE = bool(os.getenv('COVERAGE'))
+ # Version
+ ################################################################################
+
+-try:
+- git_version = subprocess.check_output(['git', 'rev-parse', 'HEAD'],
+- cwd=TOP_DIR).decode('ascii').strip()
+-except (OSError, subprocess.CalledProcessError):
+- git_version = None
++#try:
++# git_version = subprocess.check_output(['git', 'rev-parse', 'HEAD'],
++# cwd=TOP_DIR).decode('ascii').strip()
++#except (OSError, subprocess.CalledProcessError):
++# git_version = None
++git_version = None
+
+ with open(os.path.join(TOP_DIR, 'VERSION_NUMBER')) as version_file:
+ VersionInfo = namedtuple('VersionInfo', ['version', 'git_version'])(
Added: head/science/py-onnx/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/py-onnx/pkg-descr Thu Aug 8 17:53:24 2019 (r508397)
@@ -0,0 +1,14 @@
+Open Neural Network Exchange (ONNX) is an open ecosystem that empowers AI
+developers to choose the right tools as their project evolves. ONNX provides an
+open source format for AI models, both deep learning and traditional ML. It
+defines an extensible computation graph model, as well as definitions of
+built-in operators and standard data types. Currently we focus on the
+capabilities needed for inferencing (scoring).
+
+ONNX is widely supported and can be found in many frameworks, tools, and
+hardware. Enabling interoperability between different frameworks and
+streamlining the path from research to production helps increase the speed of
+innovation in the AI community. We invite the community to join us and further
+evolve ONNX.
+
+WWW: https://onnx.ai/
More information about the svn-ports-all
mailing list