Skip to content

Commit

Permalink
math/py-fvcore: New port: Shared code among different Facebook resear…
Browse files Browse the repository at this point in the history
…ch projects
  • Loading branch information
neelchauhan committed Jul 14, 2021
1 parent 910486d commit bb6b488
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions math/Makefile
Expand Up @@ -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
Expand Down
26 changes: 26 additions & 0 deletions 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@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>
3 changes: 3 additions & 0 deletions 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
6 changes: 6 additions & 0 deletions 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

0 comments on commit bb6b488

Please sign in to comment.