pkgsrc-WIP-changes archive

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

py-pre-commit: Update to 3.1.0



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Sat Feb 25 11:12:46 2023 +0900
Changeset:	08c82feb7ff65892320a3220578bf33e34742267

Modified Files:
	py-pre-commit/Makefile
	py-pre-commit/PLIST
	py-pre-commit/distinfo

Log Message:
py-pre-commit: Update to 3.1.0

Pkgsrc changes:

* Remove py-toml dependency, which was done in pre-commit v2.21.0.

Upstream changes:

Fixes

* Fix dotnet for .sln-based hooks for dotnet>=7.0.200.
* Prevent stashing when diff fails to execute.
* Dependencies are no longer sorted in repository key.

Updating

* Deprecate language: python_venv. Use language: python instead.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=08c82feb7ff65892320a3220578bf33e34742267

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

diffstat:
 py-pre-commit/Makefile |  3 +--
 py-pre-commit/PLIST    | 12 ++++++------
 py-pre-commit/distinfo |  6 +++---
 3 files changed, 10 insertions(+), 11 deletions(-)

diffs:
diff --git a/py-pre-commit/Makefile b/py-pre-commit/Makefile
index e8c1416a23..b68c6d7828 100644
--- a/py-pre-commit/Makefile
+++ b/py-pre-commit/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	pre_commit-3.0.4
+DISTNAME=	pre_commit-3.1.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pre_commit/}
@@ -16,7 +16,6 @@ DEPENDS+=	${PYPKGPREFIX}-cfgv>=2.0.0:../../wip/py-cfgv
 DEPENDS+=	${PYPKGPREFIX}-identify>=1.0.0:../../wip/py-identify
 DEPENDS+=	${PYPKGPREFIX}-nodeenv>=0.11.1:../../wip/py-nodeenv
 DEPENDS+=	${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
-DEPENDS+=	${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
 DEPENDS+=	${PYPKGPREFIX}-yaml>=5.1:../../textproc/py-yaml
 DEPENDS+=	${PYPKGPREFIX}-virtualenv>=20.10.0:../../devel/py-virtualenv
 
diff --git a/py-pre-commit/PLIST b/py-pre-commit/PLIST
index bc8da7e446..eb9fca922a 100644
--- a/py-pre-commit/PLIST
+++ b/py-pre-commit/PLIST
@@ -12,6 +12,9 @@ ${PYSITELIB}/pre_commit/__init__.pyo
 ${PYSITELIB}/pre_commit/__main__.py
 ${PYSITELIB}/pre_commit/__main__.pyc
 ${PYSITELIB}/pre_commit/__main__.pyo
+${PYSITELIB}/pre_commit/all_languages.py
+${PYSITELIB}/pre_commit/all_languages.pyc
+${PYSITELIB}/pre_commit/all_languages.pyo
 ${PYSITELIB}/pre_commit/clientlib.py
 ${PYSITELIB}/pre_commit/clientlib.pyc
 ${PYSITELIB}/pre_commit/clientlib.pyo
@@ -78,12 +81,12 @@ ${PYSITELIB}/pre_commit/git.pyo
 ${PYSITELIB}/pre_commit/hook.py
 ${PYSITELIB}/pre_commit/hook.pyc
 ${PYSITELIB}/pre_commit/hook.pyo
+${PYSITELIB}/pre_commit/lang_base.py
+${PYSITELIB}/pre_commit/lang_base.pyc
+${PYSITELIB}/pre_commit/lang_base.pyo
 ${PYSITELIB}/pre_commit/languages/__init__.py
 ${PYSITELIB}/pre_commit/languages/__init__.pyc
 ${PYSITELIB}/pre_commit/languages/__init__.pyo
-${PYSITELIB}/pre_commit/languages/all.py
-${PYSITELIB}/pre_commit/languages/all.pyc
-${PYSITELIB}/pre_commit/languages/all.pyo
 ${PYSITELIB}/pre_commit/languages/conda.py
 ${PYSITELIB}/pre_commit/languages/conda.pyc
 ${PYSITELIB}/pre_commit/languages/conda.pyo
@@ -108,9 +111,6 @@ ${PYSITELIB}/pre_commit/languages/fail.pyo
 ${PYSITELIB}/pre_commit/languages/golang.py
 ${PYSITELIB}/pre_commit/languages/golang.pyc
 ${PYSITELIB}/pre_commit/languages/golang.pyo
-${PYSITELIB}/pre_commit/languages/helpers.py
-${PYSITELIB}/pre_commit/languages/helpers.pyc
-${PYSITELIB}/pre_commit/languages/helpers.pyo
 ${PYSITELIB}/pre_commit/languages/lua.py
 ${PYSITELIB}/pre_commit/languages/lua.pyc
 ${PYSITELIB}/pre_commit/languages/lua.pyo
diff --git a/py-pre-commit/distinfo b/py-pre-commit/distinfo
index 00fd721019..21cc98bd17 100644
--- a/py-pre-commit/distinfo
+++ b/py-pre-commit/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (pre_commit-3.0.4.tar.gz) = 480a0ce002e8daa8b99fc6cb12fcbefd57394c3c998419c7062d100f470cdc8e
-SHA512 (pre_commit-3.0.4.tar.gz) = 5857dbc02056491335ce3bf9888afe8a0913e47ed770f962c4221f5c38d79536be6b5bf5237a112f68400c0901226f47879ec7586e5304bd9014c15e8e7decf8
-Size (pre_commit-3.0.4.tar.gz) = 176285 bytes
+BLAKE2s (pre_commit-3.1.0.tar.gz) = d8938f9b3602959298ab7d533143490ca6eae208280ad98e76fb7f682f49c6a0
+SHA512 (pre_commit-3.1.0.tar.gz) = c7996e6626dd6c199b577256302b75e1a66e1a3de5ba82fb44f5a6175a4c7d68fe7b5f329c3fc7c46ddf7e5efb6724ffeb5f63318a45c7f165508c2cae7a59ed
+Size (pre_commit-3.1.0.tar.gz) = 176326 bytes


Home | Main Index | Thread Index | Old Index