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:           Mon Dec  9 08:13:21 UTC 2024

Modified Files:
        pkgsrc/security/py-pip-audit: Makefile distinfo
Added Files:
        pkgsrc/security/py-pip-audit/patches: patch-pyproject.toml

Log Message:
py-pip-audit: remove unused dependencies

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/security/py-pip-audit/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/security/py-pip-audit/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/py-pip-audit/patches/patch-pyproject.toml

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.37 pkgsrc/security/py-pip-audit/Makefile:1.38
--- pkgsrc/security/py-pip-audit/Makefile:1.37  Mon Oct 14 06:45:57 2024
+++ pkgsrc/security/py-pip-audit/Makefile       Mon Dec  9 08:13:21 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.37 2024/10/14 06:45:57 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2024/12/09 08:13:21 wiz Exp $
 
 DISTNAME=      pip_audit-2.7.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+PKGREVISION=   1
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pip-audit/}
 
@@ -13,7 +14,6 @@ LICENSE=      apache-2.0
 TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.2:../../devel/py-flit_core
 DEPENDS+=      ${PYPKGPREFIX}-cachecontrol>=0.13.0:../../devel/py-cachecontrol
 DEPENDS+=      ${PYPKGPREFIX}-cyclonedx-python-lib>=5:../../security/py-cyclonedx-python-lib
-DEPENDS+=      ${PYPKGPREFIX}-html5lib>=1.1:../../textproc/py-html5lib
 DEPENDS+=      ${PYPKGPREFIX}-packaging>=23.0.0:../../devel/py-packaging
 DEPENDS+=      ${PYPKGPREFIX}-pip-api>=0.0.28:../../devel/py-pip-api
 DEPENDS+=      ${PYPKGPREFIX}-pip-requirements-parser>=32.0.0:../../devel/py-pip-requirements-parser

Index: pkgsrc/security/py-pip-audit/distinfo
diff -u pkgsrc/security/py-pip-audit/distinfo:1.30 pkgsrc/security/py-pip-audit/distinfo:1.31
--- pkgsrc/security/py-pip-audit/distinfo:1.30  Sun May  5 10:10:37 2024
+++ pkgsrc/security/py-pip-audit/distinfo       Mon Dec  9 08:13:21 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.30 2024/05/05 10:10:37 wiz Exp $
+$NetBSD: distinfo,v 1.31 2024/12/09 08:13:21 wiz Exp $
 
 BLAKE2s (pip_audit-2.7.3.tar.gz) = cf4e5d3bd5dce856399d7f3f4b7929dee4df476a1bec1d2166ed6573e682317c
 SHA512 (pip_audit-2.7.3.tar.gz) = 7b5861397c1c83ec49daa36bc48eb9ff0d2563935f9aabf778598f6f53335fdb43b114a3565654fc1329469c48dcfa67853023d205be085feb6b0d9125ac33b0
 Size (pip_audit-2.7.3.tar.gz) = 50365 bytes
+SHA1 (patch-pyproject.toml) = b6e86c93f5f3a46751c79296b182866ca0e86df3

Added files:

Index: pkgsrc/security/py-pip-audit/patches/patch-pyproject.toml
diff -u /dev/null pkgsrc/security/py-pip-audit/patches/patch-pyproject.toml:1.1
--- /dev/null   Mon Dec  9 08:13:21 2024
+++ pkgsrc/security/py-pip-audit/patches/patch-pyproject.toml   Mon Dec  9 08:13:21 2024
@@ -0,0 +1,23 @@
+$NetBSD: patch-pyproject.toml,v 1.1 2024/12/09 08:13:21 wiz Exp $
+
+Remove unused dependencies.
+https://github.com/pypa/pip-audit/issues/862
+
+--- pyproject.toml.orig        2024-12-09 08:12:10.647544090 +0000
++++ pyproject.toml
+@@ -29,7 +29,6 @@ classifiers = [
+ dependencies = [
+     "CacheControl[filecache] >= 0.13.0",
+     "cyclonedx-python-lib >= 5,< 8",
+-    "html5lib>=1.1",
+     "packaging>=23.0.0",                 # https://github.com/pypa/pip-audit/issues/464
+     "pip-api>=0.0.28",
+     "pip-requirements-parser>=32.0.0",
+@@ -55,7 +54,6 @@ lint = [
+     "setuptools",
+     "interrogate",
+     "mypy",
+-    "types-html5lib",
+     "types-requests",
+     "types-toml",
+ ]



Home | Main Index | Thread Index | Old Index