Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2019 01:43:16 +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: r520207 - in head/misc: . py-gluoncv
Message-ID:  <201912160143.xBG1hGfr090254@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Dec 16 01:43:15 2019
New Revision: 520207
URL: https://svnweb.freebsd.org/changeset/ports/520207

Log:
  New port: misc/py-gluoncv: Gluon CV toolkit for state-of-the-art deep learning in computer vision

Added:
  head/misc/py-gluoncv/
  head/misc/py-gluoncv/Makefile   (contents, props changed)
  head/misc/py-gluoncv/distinfo   (contents, props changed)
  head/misc/py-gluoncv/pkg-descr   (contents, props changed)
Modified:
  head/misc/Makefile

Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile	Mon Dec 16 00:34:44 2019	(r520206)
+++ head/misc/Makefile	Mon Dec 16 01:43:15 2019	(r520207)
@@ -387,6 +387,7 @@
     SUBDIR += py-fleep
     SUBDIR += py-fuzzy
     SUBDIR += py-glance
+    SUBDIR += py-gluoncv
     SUBDIR += py-huepy
     SUBDIR += py-kartograph
     SUBDIR += py-molequeue

Added: head/misc/py-gluoncv/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/py-gluoncv/Makefile	Mon Dec 16 01:43:15 2019	(r520207)
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME=	gluoncv
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.5.0-72
+DISTVERSIONSUFFIX=	-gce4384f
+CATEGORIES=	misc # machine-learning
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Gluon CV toolkit for state-of-the-art deep learning in computer vision
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+PY_DEPENDS=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mxnet>0:misc/py-mxnet@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}portalocker>0:devel/py-portalocker@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.0:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_DEPENDS}
+RUN_DEPENDS=	${PY_DEPENDS}
+
+USES=		python localbase
+USE_GITHUB=	yes
+GH_ACCOUNT=	dmlc
+GH_PROJECT=	gluon-cv
+USE_PYTHON=	distutils cython autoplist
+
+PYDISTUTILS_BUILDARGS=		--with-cython
+PYDISTUTILS_INSTALLARGS=	--with-cython
+
+post-patch: # https://github.com/dmlc/gluon-cv/issues/1095
+	@truncate -s 0 ${WRKSRC}/README.md
+
+post-install:
+	@${FIND} ${STAGEDIR}${PREFIX} -name "*.so" | ${XARGS} ${STRIP_CMD}
+
+.include <bsd.port.mk>

Added: head/misc/py-gluoncv/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/py-gluoncv/distinfo	Mon Dec 16 01:43:15 2019	(r520207)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1576441239
+SHA256 (dmlc-gluon-cv-v0.5.0-72-gce4384f_GH0.tar.gz) = f3db0c23dfffbe8dcf29c87dede6f58a2c6a62eddc7febc8ad07489a213f6ab7
+SIZE (dmlc-gluon-cv-v0.5.0-72-gce4384f_GH0.tar.gz) = 13042289

Added: head/misc/py-gluoncv/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/py-gluoncv/pkg-descr	Mon Dec 16 01:43:15 2019	(r520207)
@@ -0,0 +1,12 @@
+GluonCV provides implementations of state-of-the-art (SOTA) deep learning
+algorithms in computer vision. It aims to help engineers, researchers, and
+students quickly prototype products, validate new ideas and learn computer
+vision.
+
+GluonCV features:
+* training scripts that reproduce SOTA results reported in latest papers
+* a large set of pre-trained models
+* carefully designed APIs and easy to understand implementations
+* community support
+
+WWW: https://gluon-cv.mxnet.io/



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