Import py-vulture-1.5.

Vulture finds unused code in Python programs.

OK kn@
This commit is contained in:
martin 2020-06-15 15:36:01 +00:00
parent 8e4f6519a7
commit 1e00d09eb3
4 changed files with 83 additions and 0 deletions

30
devel/py-vulture/Makefile Normal file
View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/06/15 15:36:01 martin Exp $
COMMENT = finds unused code in Python programs
MODPY_EGG_VERSION = 1.5
DISTNAME = vulture-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
HOMEPAGE = https://github.com/jendrikseipp/vulture
MAINTAINER = Martin Reindl <martin@catai.org>
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?= python3
TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \
devel/py-test-cov${MODPY_FLAVOR}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (vulture-1.5.tar.gz) = B9+rhKMoZ64mNrs5mM5QpOBZVW2ssMyk2+UaHzzJ1tc=
SIZE (vulture-1.5.tar.gz) = 39580

View File

@ -0,0 +1,7 @@
Vulture finds unused code in Python programs. This is useful for
cleaning up and finding errors in large code bases. If you run
Vulture on both your library and test suite you can find untested
code. Due to Python's dynamic nature, static code analyzers like
Vulture are likely to miss some dead code. Also, code that is only
called implicitly may be reported as unused. Nonetheless, Vulture
can be a very helpful tool for higher code quality.

View File

@ -0,0 +1,44 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/06/15 15:36:01 martin Exp $
bin/vulture
lib/python${MODPY_VERSION}/site-packages/vulture/
lib/python${MODPY_VERSION}/site-packages/vulture-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/vulture-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/vulture-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/vulture-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/vulture-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
lib/python${MODPY_VERSION}/site-packages/vulture-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/vulture/__init__.py
lib/python${MODPY_VERSION}/site-packages/vulture/__main__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/vulture/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/vulture/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/${MODPY_PYCACHE}__main__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/${MODPY_PYCACHE}core.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/${MODPY_PYCACHE}lines.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/${MODPY_PYCACHE}noqa.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/core.py
lib/python${MODPY_VERSION}/site-packages/vulture/lines.py
lib/python${MODPY_VERSION}/site-packages/vulture/noqa.py
lib/python${MODPY_VERSION}/site-packages/vulture/utils.py
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/${MODPY_PYCACHE}argparse_whitelist.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/${MODPY_PYCACHE}ast_whitelist.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/${MODPY_PYCACHE}collections_whitelist.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/${MODPY_PYCACHE}ctypes_whitelist.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/${MODPY_PYCACHE}logging_whitelist.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/${MODPY_PYCACHE}string_whitelist.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/${MODPY_PYCACHE}sys_whitelist.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/${MODPY_PYCACHE}threading_whitelist.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/${MODPY_PYCACHE}unittest_whitelist.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/${MODPY_PYCACHE}whitelist_utils.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/argparse_whitelist.py
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/ast_whitelist.py
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/collections_whitelist.py
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/ctypes_whitelist.py
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/logging_whitelist.py
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/string_whitelist.py
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/sys_whitelist.py
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/threading_whitelist.py
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/unittest_whitelist.py
lib/python${MODPY_VERSION}/site-packages/vulture/whitelists/whitelist_utils.py