git: bb6b488ec833 - main - math/py-fvcore: New port: Shared code among different Facebook research projects

Neel Chauhan nc at FreeBSD.org
Wed Jul 14 03:36:54 UTC 2021


The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bb6b488ec8338b30dc0712f7eb7d196081b85cdf

commit bb6b488ec8338b30dc0712f7eb7d196081b85cdf
Author:     Neel Chauhan <nc at FreeBSD.org>
AuthorDate: 2021-07-14 03:29:40 +0000
Commit:     Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-07-14 03:36:48 +0000

    math/py-fvcore: New port: Shared code among different Facebook research projects
---
 math/Makefile            |  1 +
 math/py-fvcore/Makefile  | 26 ++++++++++++++++++++++++++
 math/py-fvcore/distinfo  |  3 +++
 math/py-fvcore/pkg-descr |  6 ++++++
 4 files changed, 36 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 0832b443b323..4410c257cb6d 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -803,6 +803,7 @@
     SUBDIR += py-fastdtw
     SUBDIR += py-flax
     SUBDIR += py-fpylll
+    SUBDIR += py-fvcore
     SUBDIR += py-gau2grid
     SUBDIR += py-gimmik
     SUBDIR += py-gmpy
diff --git a/math/py-fvcore/Makefile b/math/py-fvcore/Makefile
new file mode 100644
index 000000000000..48e79db33a33
--- /dev/null
+++ b/math/py-fvcore/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	fvcore
+PORTVERSION=	0.1.5.post20210630
+CATEGORIES=	math python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	nc at FreeBSD.org
+COMMENT=	Shared code among different Facebook research projects
+
+LICENSE=	APACHE20
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}iopath>0:devel/py-iopath@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}termcolor>0:devel/py-termcolor@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yacs>0:devel/py-yacs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/math/py-fvcore/distinfo b/math/py-fvcore/distinfo
new file mode 100644
index 000000000000..5a2430320dca
--- /dev/null
+++ b/math/py-fvcore/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1626201126
+SHA256 (fvcore-0.1.5.post20210630.tar.gz) = 60f0d0e5f97828dce65408e56d1da3efdd9e552cac1b14c32092ea6eb683bd4f
+SIZE (fvcore-0.1.5.post20210630.tar.gz) = 49395
diff --git a/math/py-fvcore/pkg-descr b/math/py-fvcore/pkg-descr
new file mode 100644
index 000000000000..aa854492ee29
--- /dev/null
+++ b/math/py-fvcore/pkg-descr
@@ -0,0 +1,6 @@
+fvcore is a light-weight core library that provides the most common and
+essential functionality shared in various computer vision frameworks
+developed in FAIR, such as Detectron2, PySlowFast, and ClassyVision. All
+components in this library are type-annotated, tested, and benchmarked.
+
+WWW: https://github.com/facebookresearch/fvcore


More information about the dev-commits-ports-main mailing list