pkgsrc-WIP-changes archive

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

pre-commit: Update to 2.17.0



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Sat Jan 22 09:44:26 2022 +0900
Changeset:	d9a70480106b4b31a90133da4db6d359d0a1b030

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

Log Message:
pre-commit: Update to 2.17.0

Features

* add warnings for regexes containing [\\/].
* upgrade supported ruby versions.
* allow language: conda to use mamba or micromamba via
PRE_COMMIT_USE_MAMBA=1 or PRE_COMMIT_USE_MICROMAMBA=1 respectively.
* display git --version in error report.
* add language: lua as a supported language.

Fixes

* temporarily add setuptools to the zipapp.
* use go install instead of go get for go 1.18+ support.
* fix language: r with a local renv and RENV_PROJECT set.
* forbid overriding entry in language: meta hooks which breaks them.
* always use #!/bin/sh on windows for hook script.

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

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

diffstat:
 pre-commit/Makefile | 2 +-
 pre-commit/PLIST    | 4 ++++
 pre-commit/distinfo | 6 +++---
 3 files changed, 8 insertions(+), 4 deletions(-)

diffs:
diff --git a/pre-commit/Makefile b/pre-commit/Makefile
index 9036a9195d..aac1262c0d 100644
--- a/pre-commit/Makefile
+++ b/pre-commit/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	pre_commit-2.16.0
+DISTNAME=	pre_commit-2.17.0
 PKGNAME=	${DISTNAME:S/_/-/}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pre_commit/}
diff --git a/pre-commit/PLIST b/pre-commit/PLIST
index a306e48790..fe09a73e11 100644
--- a/pre-commit/PLIST
+++ b/pre-commit/PLIST
@@ -107,6 +107,9 @@ ${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
 ${PYSITELIB}/pre_commit/languages/node.py
 ${PYSITELIB}/pre_commit/languages/node.pyc
 ${PYSITELIB}/pre_commit/languages/node.pyo
@@ -180,6 +183,7 @@ ${PYSITELIB}/pre_commit/resources/empty_template_go.mod
 ${PYSITELIB}/pre_commit/resources/empty_template_main.go
 ${PYSITELIB}/pre_commit/resources/empty_template_main.rs
 ${PYSITELIB}/pre_commit/resources/empty_template_package.json
+${PYSITELIB}/pre_commit/resources/empty_template_pre-commit-package-dev-1.rockspec
 ${PYSITELIB}/pre_commit/resources/empty_template_pre_commit_placeholder_package.gemspec
 ${PYSITELIB}/pre_commit/resources/empty_template_pubspec.yaml
 ${PYSITELIB}/pre_commit/resources/empty_template_renv.lock
diff --git a/pre-commit/distinfo b/pre-commit/distinfo
index 65dad9094e..c8c6107e5f 100644
--- a/pre-commit/distinfo
+++ b/pre-commit/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (pre_commit-2.16.0.tar.gz) = 64c3248f5be25f38d4a1849c2a8fb91eab5c7a9ca39284277fb8de3a8e7ec3d2
-SHA512 (pre_commit-2.16.0.tar.gz) = f09f221589b33a386f9f4a3495915c99e799bbbe5a8c2245163aeb2bd5b959b51b1cc464bf7cbbb2be8b54bf108f55ba20c41397bea4fc596602aff2b463399e
-Size (pre_commit-2.16.0.tar.gz) = 167300 bytes
+BLAKE2s (pre_commit-2.17.0.tar.gz) = 3c6229040b8fb72eb6e8d6143f3043226cb47376290dc27a6700fc904bb6bd26
+SHA512 (pre_commit-2.17.0.tar.gz) = 255801556b7718d1801dc957d3a8c20ab5f428ae2b3f8716397bbf3615ae191315daf952d9a7188466672dea0f05645cf5324c3e7b50f1a4cc5df0a0f3e12fad
+Size (pre_commit-2.17.0.tar.gz) = 170517 bytes


Home | Main Index | Thread Index | Old Index