Skip to content

Commit

Permalink
py-pip-audit: update to 2.4.2.
Browse files Browse the repository at this point in the history
Fixed

    CLI: the --format=markdown and --format=columns output formats
    are no longer broken by long vulnerability descriptions from
    the OSV and PyPI vulnerability sources (#323)
  • Loading branch information
wiz committed Jul 24, 2022
1 parent 5e13a33 commit 0b1faab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions security/py-pip-audit/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.16 2022/07/14 13:21:26 wiz Exp $
# $NetBSD: Makefile,v 1.17 2022/07/24 11:09:03 wiz Exp $

DISTNAME= pip-audit-2.4.1
DISTNAME= pip-audit-2.4.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security python
# pypi file does not include tests
Expand All @@ -15,11 +15,13 @@ COMMENT= Scan Python environments for known vulnerabilities
LICENSE= apache-2.0

TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
# unlisted but used
DEPENDS+= ${PYPKGPREFIX}-cachecontrol>=0.12.10:../../devel/py-cachecontrol
DEPENDS+= ${PYPKGPREFIX}-cyclonedx-python-lib>=2.0.0:../../security/py-cyclonedx-python-lib
DEPENDS+= ${PYPKGPREFIX}-html5lib>=1.1:../../textproc/py-html5lib
DEPENDS+= ${PYPKGPREFIX}-packaging>=21.0.0:../../devel/py-packaging
DEPENDS+= ${PYPKGPREFIX}-pip-api>=0.0.28:../../devel/py-pip-api
DEPENDS+= ${PYPKGPREFIX}-pip-requirements-parser>=31.2.0:../../devel/py-pip-requirements-parser
DEPENDS+= ${PYPKGPREFIX}-resolvelib>=0.8.0:../../devel/py-resolvelib
DEPENDS+= ${PYPKGPREFIX}-rich>=12.4:../../comms/py-rich
DEPENDS+= ${PYPKGPREFIX}-toml>=0.10:../../textproc/py-toml
Expand All @@ -34,8 +36,8 @@ post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pip-audit pip-audit-${PYVERSSUFFIX} || ${TRUE}

# as of 2.4.1
# 1 failed, 157 passed
# as of 2.4.2
# 1 failed, 166 passed
TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib:${WRKSRC}/build/lib/test
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
Expand Down
8 changes: 4 additions & 4 deletions security/py-pip-audit/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.13 2022/07/14 13:21:26 wiz Exp $
$NetBSD: distinfo,v 1.14 2022/07/24 11:09:03 wiz Exp $

BLAKE2s (pip-audit-2.4.1.tar.gz) = b2bed521ee037bd06b185b92bb89490220f542d2acfffabde89cae375225f2c1
SHA512 (pip-audit-2.4.1.tar.gz) = 6cfebdbe4579caefcf66709eed208b41859147abfece107eb1c40b2418bc6e0c330d797f9361c78e9959003573dbb1310fc94577f2aeb7e7651114db8a7dcb2f
Size (pip-audit-2.4.1.tar.gz) = 64521 bytes
BLAKE2s (pip-audit-2.4.2.tar.gz) = cbe07fd08e42463683a0c6cdbb6c13307d1fb7bcdca2c3b1c0ede8576936b97e
SHA512 (pip-audit-2.4.2.tar.gz) = a6c824652dc129c2e99d0a38f57332f4f52102806f8bab8b3a891adbdd783531a9d026622086685458510bffc0cd966417bad54e62eaf9e5b0b381bb092d5113
Size (pip-audit-2.4.2.tar.gz) = 65415 bytes

0 comments on commit 0b1faab

Please sign in to comment.