Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2019 19:55:14 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r520196 - in head/misc: . py-mxnet
Message-ID:  <201912151955.xBFJtE9Y084442@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912151955.xBFJtE9Y084442>