From owner-svn-ports-head@freebsd.org Tue Oct 29 05:22:49 2019 Return-Path: Delivered-To: svn-ports-head@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 668921786FB; Tue, 29 Oct 2019 05:22:49 +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 472KjP23Fyz43ZN; Tue, 29 Oct 2019 05:22:49 +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 2A5DE1D1E0; Tue, 29 Oct 2019 05:22:49 +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 x9T5MnRP084971; Tue, 29 Oct 2019 05:22:49 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x9T5MmRX084967; Tue, 29 Oct 2019 05:22:48 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201910290522.x9T5MmRX084967@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 29 Oct 2019 05:22:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r515956 - in head/misc: . netron X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/misc: . netron X-SVN-Commit-Revision: 515956 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2019 05:22:49 -0000 Author: yuri Date: Tue Oct 29 05:22:47 2019 New Revision: 515956 URL: https://svnweb.freebsd.org/changeset/ports/515956 Log: New port: misc/netron: Visualizer for neural network, deep learning, machine learning models Added: head/misc/netron/ head/misc/netron/Makefile (contents, props changed) head/misc/netron/distinfo (contents, props changed) head/misc/netron/pkg-descr (contents, props changed) head/misc/netron/pkg-plist (contents, props changed) Modified: head/misc/Makefile Modified: head/misc/Makefile ============================================================================== --- head/misc/Makefile Tue Oct 29 05:17:04 2019 (r515955) +++ head/misc/Makefile Tue Oct 29 05:22:47 2019 (r515956) @@ -252,6 +252,7 @@ SUBDIR += mtail SUBDIR += mtx SUBDIR += najitool + SUBDIR += netron SUBDIR += nms SUBDIR += nnn SUBDIR += nsf Added: head/misc/netron/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/netron/Makefile Tue Oct 29 05:22:47 2019 (r515956) @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= netron +DISTVERSIONPREFIX= v +DISTVERSION= 3.4.8 +CATEGORIES= misc python # machine-learning +MASTER_SITES= LOCAL/yuri/:js +DISTFILES= netron-3.4.8-node_modules.tgz:js + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Visualizer for neural network, deep learning, machine learning models + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.6+ +USE_GITHUB= yes +GH_ACCOUNT= lutzroeder +USE_PYTHON= distutils noflavors + +NO_ARCH= yes + +PLIST_SUB= PYTHON_CPYTHON=cpython-${PYTHON_VER:S/.//} + +post-extract: + @${RLN} ${WRKDIR}/node_modules ${WRKSRC}/node_modules + +regenerate-node_modules-distfile: # requires npm installed by www/npm + @${MAKE} clean patch && \ + cd ${WRKSRC} && \ + npm install -l && \ + ${TAR} czf ${DISTDIR}/netron-${DISTVERSION}-node_modules.tgz node_modules && \ + ${ECHO} "Please upload the file ${DISTDIR}/netron-${DISTVERSION}-node_modules.tgz" + +.include Added: head/misc/netron/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/netron/distinfo Tue Oct 29 05:22:47 2019 (r515956) @@ -0,0 +1,5 @@ +TIMESTAMP = 1572324597 +SHA256 (netron-3.4.8-node_modules.tgz) = e707529d246d26a9ccd75c0a277658d5beaf12d126622488d98d0e33d0313057 +SIZE (netron-3.4.8-node_modules.tgz) = 51328821 +SHA256 (lutzroeder-netron-v3.4.8_GH0.tar.gz) = 3e94084416eb24719da560713a430a8a2b6541a1113ed7b3d006aa410f3acaaf +SIZE (lutzroeder-netron-v3.4.8_GH0.tar.gz) = 2143271 Added: head/misc/netron/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/netron/pkg-descr Tue Oct 29 05:22:47 2019 (r515956) @@ -0,0 +1,24 @@ +Netron is a viewer for neural network, deep learning and machine learning +models. Netron supports: +* ONNX (.onnx, .pb, .pbtxt), +* Keras (.h5, .keras), +* Core ML (.mlmodel), +* Caffe (.caffemodel, .prototxt), +* Caffe2 (predict_net.pb, predict_net.pbtxt), +* MXNet (.model, -symbol.json), +* TorchScript (.pt, .pth), +* NCNN (.param), +* TensorFlow Lite (.tflite). +Netron has experimental support for: +* PyTorch (.pt, .pth), +* Torch (.t7), +* CNTK (.model, .cntk), +* Deeplearning4j (.zip), +* PaddlePaddle (.zip, __model__), +* Darknet (.cfg), +* MNN (.mnn), +* scikit-learn (.pkl), +* ML.NET (.zip), +* TensorFlow.js (model.json, .pb) and TensorFlow (.pb, .meta, .pbtxt). + +WWW: https://github.com/lutzroeder/netron Added: head/misc/netron/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/netron/pkg-plist Tue Oct 29 05:22:47 2019 (r515956) @@ -0,0 +1,97 @@ +bin/netron +%%PYTHON_SITELIBDIR%%/netron-3.4.7-py%%PYTHON_VER%%.egg-info/PKG-INFO +%%PYTHON_SITELIBDIR%%/netron-3.4.7-py%%PYTHON_VER%%.egg-info/SOURCES.txt +%%PYTHON_SITELIBDIR%%/netron-3.4.7-py%%PYTHON_VER%%.egg-info/dependency_links.txt +%%PYTHON_SITELIBDIR%%/netron-3.4.7-py%%PYTHON_VER%%.egg-info/entry_points.txt +%%PYTHON_SITELIBDIR%%/netron-3.4.7-py%%PYTHON_VER%%.egg-info/top_level.txt +%%PYTHON_SITELIBDIR%%/netron/__init__.py +%%PYTHON_SITELIBDIR%%/netron/__pycache__/__init__.cpython-36.opt-1.pyc +%%PYTHON_SITELIBDIR%%/netron/__pycache__/__init__.cpython-36.pyc +%%PYTHON_SITELIBDIR%%/netron/__pycache__/__version__.cpython-36.opt-1.pyc +%%PYTHON_SITELIBDIR%%/netron/__pycache__/__version__.cpython-36.pyc +%%PYTHON_SITELIBDIR%%/netron/__pycache__/server.cpython-36.opt-1.pyc +%%PYTHON_SITELIBDIR%%/netron/__pycache__/server.cpython-36.pyc +%%PYTHON_SITELIBDIR%%/netron/__version__.py +%%PYTHON_SITELIBDIR%%/netron/base.js +%%PYTHON_SITELIBDIR%%/netron/bigdl-metadata.json +%%PYTHON_SITELIBDIR%%/netron/bigdl.js +%%PYTHON_SITELIBDIR%%/netron/bson.js +%%PYTHON_SITELIBDIR%%/netron/caffe-metadata.json +%%PYTHON_SITELIBDIR%%/netron/caffe-proto.js +%%PYTHON_SITELIBDIR%%/netron/caffe.js +%%PYTHON_SITELIBDIR%%/netron/caffe2-metadata.json +%%PYTHON_SITELIBDIR%%/netron/caffe2-proto.js +%%PYTHON_SITELIBDIR%%/netron/caffe2.js +%%PYTHON_SITELIBDIR%%/netron/chainer.js +%%PYTHON_SITELIBDIR%%/netron/cntk-metadata.json +%%PYTHON_SITELIBDIR%%/netron/cntk-proto.js +%%PYTHON_SITELIBDIR%%/netron/cntk.js +%%PYTHON_SITELIBDIR%%/netron/coreml-metadata.json +%%PYTHON_SITELIBDIR%%/netron/coreml-proto.js +%%PYTHON_SITELIBDIR%%/netron/coreml.js +%%PYTHON_SITELIBDIR%%/netron/d3.min.js +%%PYTHON_SITELIBDIR%%/netron/dagre.min.js +%%PYTHON_SITELIBDIR%%/netron/darknet-metadata.json +%%PYTHON_SITELIBDIR%%/netron/darknet.js +%%PYTHON_SITELIBDIR%%/netron/dl4j-metadata.json +%%PYTHON_SITELIBDIR%%/netron/dl4j.js +%%PYTHON_SITELIBDIR%%/netron/favicon.ico +%%PYTHON_SITELIBDIR%%/netron/flatbuffers.js +%%PYTHON_SITELIBDIR%%/netron/flux-metadata.json +%%PYTHON_SITELIBDIR%%/netron/flux.js +%%PYTHON_SITELIBDIR%%/netron/gzip.js +%%PYTHON_SITELIBDIR%%/netron/handlebars.min.js +%%PYTHON_SITELIBDIR%%/netron/hdf5.js +%%PYTHON_SITELIBDIR%%/netron/icon.png +%%PYTHON_SITELIBDIR%%/netron/index.html +%%PYTHON_SITELIBDIR%%/netron/index.js +%%PYTHON_SITELIBDIR%%/netron/keras-metadata.json +%%PYTHON_SITELIBDIR%%/netron/keras.js +%%PYTHON_SITELIBDIR%%/netron/long.js +%%PYTHON_SITELIBDIR%%/netron/marked.min.js +%%PYTHON_SITELIBDIR%%/netron/mlnet-metadata.json +%%PYTHON_SITELIBDIR%%/netron/mlnet.js +%%PYTHON_SITELIBDIR%%/netron/mnn-metadata.json +%%PYTHON_SITELIBDIR%%/netron/mnn-schema.js +%%PYTHON_SITELIBDIR%%/netron/mnn.js +%%PYTHON_SITELIBDIR%%/netron/mxnet-metadata.json +%%PYTHON_SITELIBDIR%%/netron/mxnet.js +%%PYTHON_SITELIBDIR%%/netron/ncnn-metadata.json +%%PYTHON_SITELIBDIR%%/netron/ncnn.js +%%PYTHON_SITELIBDIR%%/netron/numpy.js +%%PYTHON_SITELIBDIR%%/netron/onnx-metadata.json +%%PYTHON_SITELIBDIR%%/netron/onnx-proto.js +%%PYTHON_SITELIBDIR%%/netron/onnx.js +%%PYTHON_SITELIBDIR%%/netron/openvino-metadata.json +%%PYTHON_SITELIBDIR%%/netron/openvino.js +%%PYTHON_SITELIBDIR%%/netron/paddle-metadata.json +%%PYTHON_SITELIBDIR%%/netron/paddle-proto.js +%%PYTHON_SITELIBDIR%%/netron/paddle.js +%%PYTHON_SITELIBDIR%%/netron/pako.min.js +%%PYTHON_SITELIBDIR%%/netron/pickle.js +%%PYTHON_SITELIBDIR%%/netron/protobuf.min.js +%%PYTHON_SITELIBDIR%%/netron/prototxt.js +%%PYTHON_SITELIBDIR%%/netron/python.js +%%PYTHON_SITELIBDIR%%/netron/pytorch-metadata.json +%%PYTHON_SITELIBDIR%%/netron/pytorch.js +%%PYTHON_SITELIBDIR%%/netron/server.py +%%PYTHON_SITELIBDIR%%/netron/sklearn-metadata.json +%%PYTHON_SITELIBDIR%%/netron/sklearn.js +%%PYTHON_SITELIBDIR%%/netron/tar.js +%%PYTHON_SITELIBDIR%%/netron/tf-metadata.json +%%PYTHON_SITELIBDIR%%/netron/tf-proto.js +%%PYTHON_SITELIBDIR%%/netron/tf.js +%%PYTHON_SITELIBDIR%%/netron/tflite-metadata.json +%%PYTHON_SITELIBDIR%%/netron/tflite-schema.js +%%PYTHON_SITELIBDIR%%/netron/tflite.js +%%PYTHON_SITELIBDIR%%/netron/torch-metadata.json +%%PYTHON_SITELIBDIR%%/netron/torch.js +%%PYTHON_SITELIBDIR%%/netron/torchscript-metadata.json +%%PYTHON_SITELIBDIR%%/netron/torchscript.js +%%PYTHON_SITELIBDIR%%/netron/view-grapher.css +%%PYTHON_SITELIBDIR%%/netron/view-grapher.js +%%PYTHON_SITELIBDIR%%/netron/view-sidebar.css +%%PYTHON_SITELIBDIR%%/netron/view-sidebar.js +%%PYTHON_SITELIBDIR%%/netron/view.css +%%PYTHON_SITELIBDIR%%/netron/view.js +%%PYTHON_SITELIBDIR%%/netron/zip.js