Add py-importlab 0.5.1

Importlab is a library for Python that automatically infers dependencies and
calculates a dependency graph. It can perform dependency ordering of a set of
files, including cycle detection.

Importlab's main use case is to work with static analysis tools that process one
file at a time, ensuring that a file's dependencies are analysed before it is.

Importlab is primarily intended to be used as a library. It takes one or more
python files as arguments, and generates an import graph, typically used to
process files in dependency order.

This is not an official Google product.

WWW: https://github.com/google/importlab
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-08-03 20:55:14 +00:00
parent 49200ee418
commit 6265c5b575
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=507999
4 changed files with 42 additions and 0 deletions

View file

@ -4489,6 +4489,7 @@
SUBDIR += py-identify
SUBDIR += py-ijson
SUBDIR += py-imgkit
SUBDIR += py-importlab
SUBDIR += py-importlib-metadata
SUBDIR += py-importlib-resources
SUBDIR += py-incremental

View file

@ -0,0 +1,24 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= importlab
PORTVERSION= 0.5.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Calculate python dependency graphs
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}networkx>=0:math/py-networkx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1564769327
SHA256 (importlab-0.5.1.tar.gz) = d855350d19dc10a17aabd2fe6f4b428ff1a936071f692fbf686a73694d26a51c
SIZE (importlab-0.5.1.tar.gz) = 19067

View file

@ -0,0 +1,14 @@
Importlab is a library for Python that automatically infers dependencies and
calculates a dependency graph. It can perform dependency ordering of a set of
files, including cycle detection.
Importlab's main use case is to work with static analysis tools that process one
file at a time, ensuring that a file's dependencies are analysed before it is.
Importlab is primarily intended to be used as a library. It takes one or more
python files as arguments, and generates an import graph, typically used to
process files in dependency order.
This is not an official Google product.
WWW: https://github.com/google/importlab