pkgsrc-WIP-changes archive

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

pre-commit: Update to 2.4.0



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Sat May 16 13:15:10 2020 +0900
Changeset:	bbdac16bfca01b545e3c6b50c0cc3ba873382829

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

Log Message:
pre-commit: Update to 2.4.0

Features

* Add support for post-commit hooks
* Silence pip version warning in python installation error
* Improve python healthy() when upgrading operating systems.
* language: python_venv is now an alias to language: python (and will be
  removed in a future version).
* Speed up python healthy() check.
* pre-commit autoupdate now tries to maintain quoting style of rev.

Fixes

* Fix installation of go modules in repo: local.
* Fix committing with unstaged files and a failing post-checkout hook.
* Fix installation of node hooks with system node installed on freebsd.
* Fix ruby hooks when GEM_PATH is set globally.
* Improve error message when pre-commit autoupdate / pre-commit
  migrate-config are run but the pre-commit configuration is not valid yaml.

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

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 | 8 ++++----
 3 files changed, 6 insertions(+), 8 deletions(-)

diffs:
diff --git a/pre-commit/Makefile b/pre-commit/Makefile
index 71e481d5e1..3d68f096d2 100644
--- a/pre-commit/Makefile
+++ b/pre-commit/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	pre_commit-2.3.0
+DISTNAME=	pre_commit-2.4.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 43c1134dfc..a290ce184e 100644
--- a/pre-commit/PLIST
+++ b/pre-commit/PLIST
@@ -118,8 +118,6 @@ ${PYSITELIB}/pre_commit/languages/pygrep.pyo
 ${PYSITELIB}/pre_commit/languages/pygrep.pyc
 ${PYSITELIB}/pre_commit/languages/python.pyo
 ${PYSITELIB}/pre_commit/languages/python.pyc
-${PYSITELIB}/pre_commit/languages/python_venv.pyo
-${PYSITELIB}/pre_commit/languages/python_venv.pyc
 ${PYSITELIB}/pre_commit/languages/ruby.pyo
 ${PYSITELIB}/pre_commit/languages/ruby.pyc
 ${PYSITELIB}/pre_commit/languages/rust.pyo
@@ -141,7 +139,6 @@ ${PYSITELIB}/pre_commit/languages/node.py
 ${PYSITELIB}/pre_commit/languages/perl.py
 ${PYSITELIB}/pre_commit/languages/pygrep.py
 ${PYSITELIB}/pre_commit/languages/python.py
-${PYSITELIB}/pre_commit/languages/python_venv.py
 ${PYSITELIB}/pre_commit/languages/ruby.py
 ${PYSITELIB}/pre_commit/languages/rust.py
 ${PYSITELIB}/pre_commit/languages/script.py
@@ -175,6 +172,7 @@ ${PYSITELIB}/pre_commit/resources/empty_template_.npmignore
 ${PYSITELIB}/pre_commit/resources/empty_template_Cargo.toml
 ${PYSITELIB}/pre_commit/resources/empty_template_Makefile.PL
 ${PYSITELIB}/pre_commit/resources/empty_template_environment.yml
+${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
diff --git a/pre-commit/distinfo b/pre-commit/distinfo
index cd7921dccc..9b99f565b5 100644
--- a/pre-commit/distinfo
+++ b/pre-commit/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (pre_commit-2.3.0.tar.gz) = 4134385d3bcf06a9d97578afd1ed08df1e7f7589
-RMD160 (pre_commit-2.3.0.tar.gz) = c9419ec77d81d7149226daef48c287c21af62d91
-SHA512 (pre_commit-2.3.0.tar.gz) = 53c11252ef08949a89f5ca574ee7cf838dd2c6b922c4ba1ff330f3d6b1a1bce9b27704e0e41357cfa6ff13806b2ad7df64d0772e47108016ea9323b4c1f2c89f
-Size (pre_commit-2.3.0.tar.gz) = 148604 bytes
+SHA1 (pre_commit-2.4.0.tar.gz) = c8f3a3644daf08907fe10a77b69ff70aab9d905e
+RMD160 (pre_commit-2.4.0.tar.gz) = ff14731d4cfbdd731ea507225f03ba37a5f188f7
+SHA512 (pre_commit-2.4.0.tar.gz) = 211720642d539146ee72d95d272aaa28df1d3ac559cbdd1e5e8459b568d6907f069b3caf385211261cbdc18f3c302dc6edde0192ca84c9d0ee14b560e1e03f2b
+Size (pre_commit-2.4.0.tar.gz) = 151246 bytes


Home | Main Index | Thread Index | Old Index