pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-vulture devel/py-vulture: import py-vulture-2.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea720126736b
branches:  trunk
changeset: 380922:ea720126736b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jun 18 22:30:01 2022 +0000

description:
devel/py-vulture: import py-vulture-2.4

Based on wip package by K.I.A.Derouiche and myself.

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.

diffstat:

 devel/py-vulture/DESCR    |   8 ++++++
 devel/py-vulture/Makefile |  23 +++++++++++++++++
 devel/py-vulture/PLIST    |  62 +++++++++++++++++++++++++++++++++++++++++++++++
 devel/py-vulture/distinfo |   5 +++
 4 files changed, 98 insertions(+), 0 deletions(-)

diffs (114 lines):

diff -r a1db99f64950 -r ea720126736b devel/py-vulture/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-vulture/DESCR    Sat Jun 18 22:30:01 2022 +0000
@@ -0,0 +1,8 @@
+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.
diff -r a1db99f64950 -r ea720126736b devel/py-vulture/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-vulture/Makefile Sat Jun 18 22:30:01 2022 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2022/06/18 22:30:01 wiz Exp $
+
+DISTNAME=      vulture-2.4
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=v/vulture/}
+
+MAINTAINER=    kamelderouiche%yahoo.com@localhost
+HOMEPAGE=      https://github.com/jendrikseipp/vulture
+COMMENT=       Find dead code
+LICENSE=       mit
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+DEPENDS+=      ${PYPKGPREFIX}-toml>=0.10.1:../../textproc/py-toml
+
+USE_LANGUAGES= # none
+
+# pypi distfile does not include tests
+do-test:
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a1db99f64950 -r ea720126736b devel/py-vulture/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-vulture/PLIST    Sat Jun 18 22:30:01 2022 +0000
@@ -0,0 +1,62 @@
+@comment $NetBSD: PLIST,v 1.1 2022/06/18 22:30:01 wiz Exp $
+bin/vulture
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/vulture/__init__.py
+${PYSITELIB}/vulture/__init__.pyc
+${PYSITELIB}/vulture/__init__.pyo
+${PYSITELIB}/vulture/__main__.py
+${PYSITELIB}/vulture/__main__.pyc
+${PYSITELIB}/vulture/__main__.pyo
+${PYSITELIB}/vulture/config.py
+${PYSITELIB}/vulture/config.pyc
+${PYSITELIB}/vulture/config.pyo
+${PYSITELIB}/vulture/core.py
+${PYSITELIB}/vulture/core.pyc
+${PYSITELIB}/vulture/core.pyo
+${PYSITELIB}/vulture/lines.py
+${PYSITELIB}/vulture/lines.pyc
+${PYSITELIB}/vulture/lines.pyo
+${PYSITELIB}/vulture/noqa.py
+${PYSITELIB}/vulture/noqa.pyc
+${PYSITELIB}/vulture/noqa.pyo
+${PYSITELIB}/vulture/utils.py
+${PYSITELIB}/vulture/utils.pyc
+${PYSITELIB}/vulture/utils.pyo
+${PYSITELIB}/vulture/version.py
+${PYSITELIB}/vulture/version.pyc
+${PYSITELIB}/vulture/version.pyo
+${PYSITELIB}/vulture/whitelists/argparse_whitelist.py
+${PYSITELIB}/vulture/whitelists/argparse_whitelist.pyc
+${PYSITELIB}/vulture/whitelists/argparse_whitelist.pyo
+${PYSITELIB}/vulture/whitelists/ast_whitelist.py
+${PYSITELIB}/vulture/whitelists/ast_whitelist.pyc
+${PYSITELIB}/vulture/whitelists/ast_whitelist.pyo
+${PYSITELIB}/vulture/whitelists/collections_whitelist.py
+${PYSITELIB}/vulture/whitelists/collections_whitelist.pyc
+${PYSITELIB}/vulture/whitelists/collections_whitelist.pyo
+${PYSITELIB}/vulture/whitelists/ctypes_whitelist.py
+${PYSITELIB}/vulture/whitelists/ctypes_whitelist.pyc
+${PYSITELIB}/vulture/whitelists/ctypes_whitelist.pyo
+${PYSITELIB}/vulture/whitelists/logging_whitelist.py
+${PYSITELIB}/vulture/whitelists/logging_whitelist.pyc
+${PYSITELIB}/vulture/whitelists/logging_whitelist.pyo
+${PYSITELIB}/vulture/whitelists/string_whitelist.py
+${PYSITELIB}/vulture/whitelists/string_whitelist.pyc
+${PYSITELIB}/vulture/whitelists/string_whitelist.pyo
+${PYSITELIB}/vulture/whitelists/sys_whitelist.py
+${PYSITELIB}/vulture/whitelists/sys_whitelist.pyc
+${PYSITELIB}/vulture/whitelists/sys_whitelist.pyo
+${PYSITELIB}/vulture/whitelists/threading_whitelist.py
+${PYSITELIB}/vulture/whitelists/threading_whitelist.pyc
+${PYSITELIB}/vulture/whitelists/threading_whitelist.pyo
+${PYSITELIB}/vulture/whitelists/unittest_whitelist.py
+${PYSITELIB}/vulture/whitelists/unittest_whitelist.pyc
+${PYSITELIB}/vulture/whitelists/unittest_whitelist.pyo
+${PYSITELIB}/vulture/whitelists/whitelist_utils.py
+${PYSITELIB}/vulture/whitelists/whitelist_utils.pyc
+${PYSITELIB}/vulture/whitelists/whitelist_utils.pyo
diff -r a1db99f64950 -r ea720126736b devel/py-vulture/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-vulture/distinfo Sat Jun 18 22:30:01 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/06/18 22:30:01 wiz Exp $
+
+BLAKE2s (vulture-2.4.tar.gz) = 1013a5d5a009af20b634d726908ffa0e50a3cd95c5ee80b93a0cac6064803c3a
+SHA512 (vulture-2.4.tar.gz) = b7dc2b5f310b1af736c9317dfc4f1634c99857a11493be98b0c4e56c132b754be0e01bd99b1b7d795a495ac9103c8010a603b4a38859bac5dd3d900bc0dedf07
+Size (vulture-2.4.tar.gz) = 52734 bytes



Home | Main Index | Thread Index | Old Index