pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-vulture



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Jun 18 22:30:01 UTC 2022

Added Files:
        pkgsrc/devel/py-vulture: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-vulture/DESCR \
    pkgsrc/devel/py-vulture/Makefile pkgsrc/devel/py-vulture/PLIST \
    pkgsrc/devel/py-vulture/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-vulture/DESCR
diff -u /dev/null pkgsrc/devel/py-vulture/DESCR:1.1
--- /dev/null   Sat Jun 18 22:30:01 2022
+++ pkgsrc/devel/py-vulture/DESCR       Sat Jun 18 22:30:01 2022
@@ -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.
Index: pkgsrc/devel/py-vulture/Makefile
diff -u /dev/null pkgsrc/devel/py-vulture/Makefile:1.1
--- /dev/null   Sat Jun 18 22:30:01 2022
+++ pkgsrc/devel/py-vulture/Makefile    Sat Jun 18 22:30:01 2022
@@ -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"
Index: pkgsrc/devel/py-vulture/PLIST
diff -u /dev/null pkgsrc/devel/py-vulture/PLIST:1.1
--- /dev/null   Sat Jun 18 22:30:01 2022
+++ pkgsrc/devel/py-vulture/PLIST       Sat Jun 18 22:30:01 2022
@@ -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
Index: pkgsrc/devel/py-vulture/distinfo
diff -u /dev/null pkgsrc/devel/py-vulture/distinfo:1.1
--- /dev/null   Sat Jun 18 22:30:01 2022
+++ pkgsrc/devel/py-vulture/distinfo    Sat Jun 18 22:30:01 2022
@@ -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