pkgsrc-WIP-changes archive

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

py-pre-commit: Update to 2.21.0



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Fri Dec 30 11:09:32 2022 +0900
Changeset:	9523d1f3e1fda06521893ebebea20d9a7c489feb

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

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

Pkgsrc changes:

* Increase py-virtualenv dependency version to 20.10.0.
* Use string comparison for _PYTHON_VERSION.

Upstream changes:

Features

* Require new-enough virtualenv to prevent 3.10 breakage
* Respect aliases with SKIP for environment install.
* Allow pre-commit run --files against unmerged paths.
* Also apply regex warnings to repo: local hooks.
* rust is now a "first class" language -- supporting language_version and
installation when not present.
* r now uses more-reliable binary installation.
* GIT_ALLOW_PROTOCOL is now passed through for git operations.
* GIT_ASKPASS is now passed through for git operations.
* Remove toml dependency by using cargo add directly.
* Support dotnet hooks which have dotted prefixes.

Fixes

* Properly adjust --commit-msg-filename if run from a sub directory.
* Simplify --intent-to-add detection by using git diff.
* Fix R.exe selection on windows.
* Skip default nuget source when installing dotnet packages.

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

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

diffstat:
 py-pre-commit/Makefile | 6 +++---
 py-pre-commit/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs:
diff --git a/py-pre-commit/Makefile b/py-pre-commit/Makefile
index 7a4d4ed7ba..28aeffb645 100644
--- a/py-pre-commit/Makefile
+++ b/py-pre-commit/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	pre_commit-2.20.0
+DISTNAME=	pre_commit-2.21.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pre_commit/}
@@ -18,9 +18,9 @@ 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.0.8:../../devel/py-virtualenv
+DEPENDS+=	${PYPKGPREFIX}-virtualenv>=20.10.0:../../devel/py-virtualenv
 .include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} < 38
+.if ${_PYTHON_VERSION} == "37"
 DEPENDS+=	${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
 .endif
 
diff --git a/py-pre-commit/distinfo b/py-pre-commit/distinfo
index c6850d04d2..e310f318d3 100644
--- a/py-pre-commit/distinfo
+++ b/py-pre-commit/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (pre_commit-2.20.0.tar.gz) = 66132683551d0276c0e8ae8b4bb39957747c7808e3ac0d73687855c33fe524fe
-SHA512 (pre_commit-2.20.0.tar.gz) = 482ddeebe0907061d75abf5c212abc85ceeb0718b1fdc57eb48be4adfdea04b9b2b6363c646aacb5724867c706a2d4f1b1398a64e9df360130a40892ff5088fb
-Size (pre_commit-2.20.0.tar.gz) = 172951 bytes
+BLAKE2s (pre_commit-2.21.0.tar.gz) = 482314b6af84932830b6cf0b647f5f1f5b46f2e07adff3f19841126e2027026e
+SHA512 (pre_commit-2.21.0.tar.gz) = 9fd957de64a2e15aaf9287135c9c3a56760aa12ede5bab26f2db5ee0f0aa4f8d4ca4236baee261e4eecde3c201f6b0a674c3d873c37b88f2b8f650a454aa64cf
+Size (pre_commit-2.21.0.tar.gz) = 174966 bytes


Home | Main Index | Thread Index | Old Index