pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-pip-audit py-pip-audit: update to 1.1.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95392718d862
branches:  trunk
changeset: 371959:95392718d862
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 16 23:06:31 2022 +0000

description:
py-pip-audit: update to 1.1.2.

## [1.1.2] - 2022-01-13

### Fixed

* A pin on one of `pip-audit`'s dependencies was fixed
  ([#213](https://github.com/trailofbits/pip-audit/pull/213))

diffstat:

 security/py-pip-audit/Makefile                                           |   5 +-
 security/py-pip-audit/distinfo                                           |   9 +-
 security/py-pip-audit/patches/patch-test_dependency__source_test__pip.py |  30 ----------
 3 files changed, 6 insertions(+), 38 deletions(-)

diffs (62 lines):

diff -r d6308f00876d -r 95392718d862 security/py-pip-audit/Makefile
--- a/security/py-pip-audit/Makefile    Sun Jan 16 22:52:17 2022 +0000
+++ b/security/py-pip-audit/Makefile    Sun Jan 16 23:06:31 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2022/01/05 15:41:20 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2022/01/16 23:06:31 wiz Exp $
 
-DISTNAME=      pip-audit-1.1.1
+DISTNAME=      pip-audit-1.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    security python
 # pypi file does not include tests
 #MASTER_SITES= ${MASTER_SITE_PYPI:=p/pip-audit/}
diff -r d6308f00876d -r 95392718d862 security/py-pip-audit/distinfo
--- a/security/py-pip-audit/distinfo    Sun Jan 16 22:52:17 2022 +0000
+++ b/security/py-pip-audit/distinfo    Sun Jan 16 23:06:31 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/12/12 10:04:44 wiz Exp $
+$NetBSD: distinfo,v 1.5 2022/01/16 23:06:31 wiz Exp $
 
-BLAKE2s (pip-audit-1.1.1.tar.gz) = b87100864fbcc5c4dbc803697a6ce017df3f15b6275b011e23c2adbc86747107
-SHA512 (pip-audit-1.1.1.tar.gz) = f51c9911b57db1dcff74730041ef9cdc8913939c6d21bad1fcfc44feb1ce4c6d9cff00d6fd4e74c2defc04defdacac701c80dc8a65ef3e9fa9e3a10ac53dd9b7
-Size (pip-audit-1.1.1.tar.gz) = 42409 bytes
-SHA1 (patch-test_dependency__source_test__pip.py) = 8cdbbcba2e6d3207cef84046170e3cfb0bb8de59
+BLAKE2s (pip-audit-1.1.2.tar.gz) = b5619687d0de3db1ec091bd8a927ca94bf3a621c2f403daa1b107a1078f029b2
+SHA512 (pip-audit-1.1.2.tar.gz) = bc77a98d11ac3733427d31ed5cfcebafcbb41e73289702a1ad7f2dfb603e3bf6a82f9e81a556824eb0dd22ef45027c22d53678b01dbd6e371bf0a4324ef76bea
+Size (pip-audit-1.1.2.tar.gz) = 42811 bytes
diff -r d6308f00876d -r 95392718d862 security/py-pip-audit/patches/patch-test_dependency__source_test__pip.py
--- a/security/py-pip-audit/patches/patch-test_dependency__source_test__pip.py  Sun Jan 16 22:52:17 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-$NetBSD: patch-test_dependency__source_test__pip.py,v 1.1 2021/12/08 14:35:00 wiz Exp $
-
-https://github.com/trailofbits/pip-audit/commit/8d3e8137fc25a84c077f17909b033bd6752671f1
-
---- test/dependency_source/test_pip.py.orig    2021-12-06 19:13:47.000000000 +0000
-+++ test/dependency_source/test_pip.py
-@@ -7,7 +7,6 @@ import pretend  # type: ignore
- import pytest
- from packaging.version import Version
- 
--import pip_audit
- from pip_audit._dependency_source import pip
- from pip_audit._service.interface import ResolvedDependency, SkippedDependency
- 
-@@ -16,14 +15,11 @@ def test_pip_source():
-     source = pip.PipSource()
- 
-     # We're running under pytest, so we can safely assume that pytest is in
--    # our execution environment. We're also running pip_audit itself, so we
--    # can safely test for ourselves.
-+    # our execution environment.
-     pytest_spec = ResolvedDependency(name="pytest", version=Version(pytest.__version__))
--    pip_audit_spec = ResolvedDependency(name="pip-audit", version=Version(pip_audit.__version__))
- 
-     specs = list(source.collect())
-     assert pytest_spec in specs
--    assert pip_audit_spec in specs
- 
- 
- def test_pip_source_warns_about_old_pip(monkeypatch):



Home | Main Index | Thread Index | Old Index