From owner-svn-ports-all@freebsd.org Thu Aug 8 17:53:25 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AA67DAD775; Thu, 8 Aug 2019 17:53:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 464GFK453tz4dLd; Thu, 8 Aug 2019 17:53:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6DDC9E8D; Thu, 8 Aug 2019 17:53:25 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x78HrPlR091299; Thu, 8 Aug 2019 17:53:25 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x78HrOog091294; Thu, 8 Aug 2019 17:53:24 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201908081753.x78HrOog091294@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 8 Aug 2019 17:53:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r508397 - in head/science: . py-onnx py-onnx/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/science: . py-onnx py-onnx/files X-SVN-Commit-Revision: 508397 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Aug 2019 17:53:25 -0000 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@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 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/