pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-pip-audit



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat May 28 08:58:27 UTC 2022

Modified Files:
        pkgsrc/security/py-pip-audit: Makefile PLIST distinfo

Log Message:
py-pip-audit: update to 2.3.0.

## [2.3.0] - 2022-05-18

### Added

* CLI: The `--ignore-vuln` option has been added, allowing users to
  specify vulnerability IDs to ignore during the final report
  ([#275](https://github.com/trailofbits/pip-audit/pull/275))

* CLI: The `--no-deps` flag has been added, allowing users to skip dependency
  resolution entirely when `pip-audit` is used in requirements mode
  ([#255](https://github.com/trailofbits/pip-audit/pull/255))


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/security/py-pip-audit/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/security/py-pip-audit/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/security/py-pip-audit/distinfo

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

Modified files:

Index: pkgsrc/security/py-pip-audit/Makefile
diff -u pkgsrc/security/py-pip-audit/Makefile:1.12 pkgsrc/security/py-pip-audit/Makefile:1.13
--- pkgsrc/security/py-pip-audit/Makefile:1.12  Tue May 10 05:59:58 2022
+++ pkgsrc/security/py-pip-audit/Makefile       Sat May 28 08:58:27 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2022/05/10 05:59:58 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/05/28 08:58:27 wiz Exp $
 
-DISTNAME=      pip-audit-2.2.1
+DISTNAME=      pip-audit-2.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security python
 # pypi file does not include tests
@@ -14,6 +14,7 @@ HOMEPAGE=     https://pypi.org/project/pip-a
 COMMENT=       Scan Python environments for known vulnerabilities
 LICENSE=       apache-2.0
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
 DEPENDS+=      ${PYPKGPREFIX}-cachecontrol>=0.12.10:../../devel/py-cachecontrol
 DEPENDS+=      ${PYPKGPREFIX}-cyclonedx-python-lib>=1.0.0:../../security/py-cyclonedx-python-lib
 DEPENDS+=      ${PYPKGPREFIX}-html5lib>=1.1:../../textproc/py-html5lib
@@ -26,20 +27,17 @@ TEST_DEPENDS+=      ${PYPKGPREFIX}-test-[0-9]
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-USE_PKG_RESOURCES=     yes
-
 USE_LANGUAGES= # none
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
         ${MV} pip-audit pip-audit-${PYVERSSUFFIX} || ${TRUE}
-       ${RM} -r ${DESTDIR}${PREFIX}/${PYSITELIB}/test
 
-# as of 2.0.0
-# 1 failed, 115 passed
+# as of 2.3.0
+# 1 failed, 133 passed
 TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib:${WRKSRC}/build/lib/test
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/py-pip-audit/PLIST
diff -u pkgsrc/security/py-pip-audit/PLIST:1.5 pkgsrc/security/py-pip-audit/PLIST:1.6
--- pkgsrc/security/py-pip-audit/PLIST:1.5      Mon Mar 14 14:02:00 2022
+++ pkgsrc/security/py-pip-audit/PLIST  Sat May 28 08:58:27 2022
@@ -1,92 +1,64 @@
-@comment $NetBSD: PLIST,v 1.5 2022/03/14 14:02:00 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2022/05/28 08:58:27 wiz Exp $
 bin/pip-audit-${PYVERSSUFFIX}
-${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}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 ${PYSITELIB}/pip_audit/__init__.py
 ${PYSITELIB}/pip_audit/__init__.pyc
-${PYSITELIB}/pip_audit/__init__.pyo
 ${PYSITELIB}/pip_audit/__main__.py
 ${PYSITELIB}/pip_audit/__main__.pyc
-${PYSITELIB}/pip_audit/__main__.pyo
 ${PYSITELIB}/pip_audit/_audit.py
 ${PYSITELIB}/pip_audit/_audit.pyc
-${PYSITELIB}/pip_audit/_audit.pyo
 ${PYSITELIB}/pip_audit/_cache.py
 ${PYSITELIB}/pip_audit/_cache.pyc
-${PYSITELIB}/pip_audit/_cache.pyo
 ${PYSITELIB}/pip_audit/_cli.py
 ${PYSITELIB}/pip_audit/_cli.pyc
-${PYSITELIB}/pip_audit/_cli.pyo
 ${PYSITELIB}/pip_audit/_dependency_source/__init__.py
 ${PYSITELIB}/pip_audit/_dependency_source/__init__.pyc
-${PYSITELIB}/pip_audit/_dependency_source/__init__.pyo
 ${PYSITELIB}/pip_audit/_dependency_source/interface.py
 ${PYSITELIB}/pip_audit/_dependency_source/interface.pyc
-${PYSITELIB}/pip_audit/_dependency_source/interface.pyo
 ${PYSITELIB}/pip_audit/_dependency_source/pip.py
 ${PYSITELIB}/pip_audit/_dependency_source/pip.pyc
-${PYSITELIB}/pip_audit/_dependency_source/pip.pyo
 ${PYSITELIB}/pip_audit/_dependency_source/pyproject.py
 ${PYSITELIB}/pip_audit/_dependency_source/pyproject.pyc
-${PYSITELIB}/pip_audit/_dependency_source/pyproject.pyo
 ${PYSITELIB}/pip_audit/_dependency_source/requirement.py
 ${PYSITELIB}/pip_audit/_dependency_source/requirement.pyc
-${PYSITELIB}/pip_audit/_dependency_source/requirement.pyo
 ${PYSITELIB}/pip_audit/_dependency_source/resolvelib/__init__.py
 ${PYSITELIB}/pip_audit/_dependency_source/resolvelib/__init__.pyc
-${PYSITELIB}/pip_audit/_dependency_source/resolvelib/__init__.pyo
 ${PYSITELIB}/pip_audit/_dependency_source/resolvelib/pypi_provider.py
 ${PYSITELIB}/pip_audit/_dependency_source/resolvelib/pypi_provider.pyc
-${PYSITELIB}/pip_audit/_dependency_source/resolvelib/pypi_provider.pyo
 ${PYSITELIB}/pip_audit/_dependency_source/resolvelib/resolvelib.py
 ${PYSITELIB}/pip_audit/_dependency_source/resolvelib/resolvelib.pyc
-${PYSITELIB}/pip_audit/_dependency_source/resolvelib/resolvelib.pyo
 ${PYSITELIB}/pip_audit/_fix.py
 ${PYSITELIB}/pip_audit/_fix.pyc
-${PYSITELIB}/pip_audit/_fix.pyo
 ${PYSITELIB}/pip_audit/_format/__init__.py
 ${PYSITELIB}/pip_audit/_format/__init__.pyc
-${PYSITELIB}/pip_audit/_format/__init__.pyo
 ${PYSITELIB}/pip_audit/_format/columns.py
 ${PYSITELIB}/pip_audit/_format/columns.pyc
-${PYSITELIB}/pip_audit/_format/columns.pyo
 ${PYSITELIB}/pip_audit/_format/cyclonedx.py
 ${PYSITELIB}/pip_audit/_format/cyclonedx.pyc
-${PYSITELIB}/pip_audit/_format/cyclonedx.pyo
 ${PYSITELIB}/pip_audit/_format/interface.py
 ${PYSITELIB}/pip_audit/_format/interface.pyc
-${PYSITELIB}/pip_audit/_format/interface.pyo
 ${PYSITELIB}/pip_audit/_format/json.py
 ${PYSITELIB}/pip_audit/_format/json.pyc
-${PYSITELIB}/pip_audit/_format/json.pyo
 ${PYSITELIB}/pip_audit/_service/__init__.py
 ${PYSITELIB}/pip_audit/_service/__init__.pyc
-${PYSITELIB}/pip_audit/_service/__init__.pyo
 ${PYSITELIB}/pip_audit/_service/interface.py
 ${PYSITELIB}/pip_audit/_service/interface.pyc
-${PYSITELIB}/pip_audit/_service/interface.pyo
 ${PYSITELIB}/pip_audit/_service/osv.py
 ${PYSITELIB}/pip_audit/_service/osv.pyc
-${PYSITELIB}/pip_audit/_service/osv.pyo
 ${PYSITELIB}/pip_audit/_service/pypi.py
 ${PYSITELIB}/pip_audit/_service/pypi.pyc
-${PYSITELIB}/pip_audit/_service/pypi.pyo
 ${PYSITELIB}/pip_audit/_state.py
 ${PYSITELIB}/pip_audit/_state.pyc
-${PYSITELIB}/pip_audit/_state.pyo
 ${PYSITELIB}/pip_audit/_subprocess.py
 ${PYSITELIB}/pip_audit/_subprocess.pyc
-${PYSITELIB}/pip_audit/_subprocess.pyo
 ${PYSITELIB}/pip_audit/_util.py
 ${PYSITELIB}/pip_audit/_util.pyc
-${PYSITELIB}/pip_audit/_util.pyo
-${PYSITELIB}/pip_audit/_version.py
-${PYSITELIB}/pip_audit/_version.pyc
-${PYSITELIB}/pip_audit/_version.pyo
 ${PYSITELIB}/pip_audit/_virtual_env.py
 ${PYSITELIB}/pip_audit/_virtual_env.pyc
-${PYSITELIB}/pip_audit/_virtual_env.pyo

Index: pkgsrc/security/py-pip-audit/distinfo
diff -u pkgsrc/security/py-pip-audit/distinfo:1.9 pkgsrc/security/py-pip-audit/distinfo:1.10
--- pkgsrc/security/py-pip-audit/distinfo:1.9   Tue May 10 05:59:58 2022
+++ pkgsrc/security/py-pip-audit/distinfo       Sat May 28 08:58:27 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2022/05/10 05:59:58 wiz Exp $
+$NetBSD: distinfo,v 1.10 2022/05/28 08:58:27 wiz Exp $
 
-BLAKE2s (pip-audit-2.2.1.tar.gz) = 196e35249c9761315e30a0e5cfa8b35aadbf1c0376373f1c5bfcea0bd6e60e14
-SHA512 (pip-audit-2.2.1.tar.gz) = e3d5fe57988ec786b05c26af310a0a43dc0915ce9e5b92d97fa540d002c6debaf7bfbe5911e18b3989db5113593ad8aa9b26f8a527fad10ebf775020d70fcb06
-Size (pip-audit-2.2.1.tar.gz) = 58227 bytes
+BLAKE2s (pip-audit-2.3.0.tar.gz) = b76d95c18ab56876d0df26e65e745514759a22f33eea87bc5a30365015c2c123
+SHA512 (pip-audit-2.3.0.tar.gz) = b54587c9a96498f7bbe901b9ff004f66987568b1c05769714d5b0bfae26b554cc9e0d7405b7c5f1168c46dd6de1e798b5e3a71666f7ca85b9d98e883c2e49101
+Size (pip-audit-2.3.0.tar.gz) = 59091 bytes



Home | Main Index | Thread Index | Old Index