From owner-svn-ports-head@freebsd.org Sun Dec 15 19:55:15 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 696E31CD0AE; Sun, 15 Dec 2019 19:55:15 +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 47bZrM22lkz3Nmk; Sun, 15 Dec 2019 19:55:15 +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 415E31A14C; Sun, 15 Dec 2019 19:55:15 +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 xBFJtFDq084446; Sun, 15 Dec 2019 19:55:15 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBFJtE9Y084442; Sun, 15 Dec 2019 19:55:14 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201912151955.xBFJtE9Y084442@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 15 Dec 2019 19:55:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520196 - in head/misc: . py-mxnet X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/misc: . py-mxnet X-SVN-Commit-Revision: 520196 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: Sun, 15 Dec 2019 19:55:15 -0000 Author: yuri Date: Sun Dec 15 19:55:14 2019 New Revision: 520196 URL: https://svnweb.freebsd.org/changeset/ports/520196 Log: New port: misc/py-mxnet: Apache MXNet: Ultra-scalable deep learning framework Added: head/misc/py-mxnet/ head/misc/py-mxnet/Makefile (contents, props changed) head/misc/py-mxnet/distinfo (contents, props changed) head/misc/py-mxnet/pkg-descr (contents, props changed) Modified: head/misc/Makefile Modified: head/misc/Makefile ============================================================================== --- head/misc/Makefile Sun Dec 15 19:53:56 2019 (r520195) +++ head/misc/Makefile Sun Dec 15 19:55:14 2019 (r520196) @@ -390,6 +390,7 @@ SUBDIR += py-huepy SUBDIR += py-kartograph SUBDIR += py-molequeue + SUBDIR += py-mxnet SUBDIR += py-onnx-tf SUBDIR += py-orange3-associate SUBDIR += py-orange3-datafusion Added: head/misc/py-mxnet/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/py-mxnet/Makefile Sun Dec 15 19:55:14 2019 (r520196) @@ -0,0 +1,39 @@ +# $FreeBSD$ + +PORTNAME= mxnet +DISTVERSION= 1.6.0 +DISTVERSIONSUFFIX= .rc0 +CATEGORIES= misc # machine-learning +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Apache MXNet: Ultra-scalable deep learning framework + +LICENSE= APACHE20 + +BUILD_DEPENDS= mxnet>0:misc/mxnet +RUN_DEPENDS= mxnet>0:misc/mxnet \ + ${PYTHON_PKGNAMEPREFIX}graphviz>0:graphics/py-graphviz@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} + +USES= python +USE_GITHUB= yes +GH_ACCOUNT= apache +GH_PROJECT= incubator-mxnet +USE_PYTHON= distutils autoplist + +WRKSRC_SUBDIR= python + +POST_PLIST= fix-plist + +post-patch: + @${REINPLACE_CMD} -e 's|dll_path = \[curr_path, api_path, cmake_build_path\]|dll_path = ["${LOCALBASE}/lib"]|' ${WRKSRC}/mxnet/libinfo.py + +post-install: # https://github.com/apache/incubator-mxnet/issues/17081 + @${RM} ${STAGEDIR}${PREFIX}/mxnet/libmxnet.so + @${RMDIR} ${STAGEDIR}${PREFIX}/mxnet + +fix-plist: # see post-install + @${REINPLACE_CMD} '/^mxnet\/libmxnet.so$$/d' ${TMPPLIST} + +.include Added: head/misc/py-mxnet/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/py-mxnet/distinfo Sun Dec 15 19:55:14 2019 (r520196) @@ -0,0 +1,3 @@ +TIMESTAMP = 1576436356 +SHA256 (apache-incubator-mxnet-1.6.0.rc0_GH0.tar.gz) = a28b76846ef0e8236b6089d8f5b5701afd753d61c5c13854070708e36f78c2fa +SIZE (apache-incubator-mxnet-1.6.0.rc0_GH0.tar.gz) = 21892252 Added: head/misc/py-mxnet/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/py-mxnet/pkg-descr Sun Dec 15 19:55:14 2019 (r520196) @@ -0,0 +1,13 @@ +Apache MXNet is a deep learning framework designed for both efficiency and +flexibility. It allows you to mix symbolic and imperative programming to +maximize efficiency and productivity. At its core, MXNet contains a dynamic +dependency scheduler that automatically parallelizes both symbolic and +imperative operations on the fly. A graph optimization layer on top of that +makes symbolic execution fast and memory efficient. MXNet is portable and +lightweight, scaling effectively to multiple GPUs and multiple machines. + +MXNet is more than a deep learning project. It is a collection of blue prints +and guidelines for building deep learning systems, and interesting insights of +DL systems for hackers. + +WWW: https://mxnet.apache.org/