pkgsrc-WIP-changes archive

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

pre-commit: Update to 2.1.1



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Sat Feb 29 15:41:55 2020 +0900
Changeset:	25cb93e3c3f13b35dc45ff874e895634bfe8ff53

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

Log Message:
pre-commit: Update to 2.1.1

v2.1.1:
  Fixes
  * Temporarily restore python 3.6.0 support (broken in 2.0.0)

v2.1.0:
  Features
  * Replace aspy.yaml with sort_keys=False.
  * Add support for perl.

  Fixes
  * Improve .git/hooks/* shebang creation when pythons are in /usr/local/bin.

  Misc.
  * Add repository badge for pre-commit.

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

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

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

diffs:
diff --git a/pre-commit/Makefile b/pre-commit/Makefile
index 2e03e2f191..61e495d0d1 100644
--- a/pre-commit/Makefile
+++ b/pre-commit/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	pre_commit-2.0.1
+DISTNAME=	pre_commit-2.1.1
 PKGNAME=	${DISTNAME:S/_/-/}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pre_commit/}
@@ -23,7 +23,7 @@ DEPENDS+=	${PYPKGPREFIX}-virtualenv>=15.2:../../devel/py-virtualenv
 
 USE_LANGUAGES=	# none
 
-REPLACE_PYTHON=	pre-commit.py
+REPLACE_PYTHON=	pre-commit.py pre_commit/resources/hook-tmpl
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
diff --git a/pre-commit/PLIST b/pre-commit/PLIST
index 1677be6fd2..43c1134dfc 100644
--- a/pre-commit/PLIST
+++ b/pre-commit/PLIST
@@ -112,6 +112,8 @@ ${PYSITELIB}/pre_commit/languages/helpers.pyo
 ${PYSITELIB}/pre_commit/languages/helpers.pyc
 ${PYSITELIB}/pre_commit/languages/node.pyo
 ${PYSITELIB}/pre_commit/languages/node.pyc
+${PYSITELIB}/pre_commit/languages/perl.pyo
+${PYSITELIB}/pre_commit/languages/perl.pyc
 ${PYSITELIB}/pre_commit/languages/pygrep.pyo
 ${PYSITELIB}/pre_commit/languages/pygrep.pyc
 ${PYSITELIB}/pre_commit/languages/python.pyo
@@ -136,6 +138,7 @@ ${PYSITELIB}/pre_commit/languages/fail.py
 ${PYSITELIB}/pre_commit/languages/golang.py
 ${PYSITELIB}/pre_commit/languages/helpers.py
 ${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
@@ -170,6 +173,7 @@ ${PYSITELIB}/pre_commit/resources/empty_template_setup.pyo
 ${PYSITELIB}/pre_commit/resources/empty_template_setup.pyc
 ${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_main.go
 ${PYSITELIB}/pre_commit/resources/empty_template_main.rs
diff --git a/pre-commit/distinfo b/pre-commit/distinfo
index 1149ab1cba..076d73205b 100644
--- a/pre-commit/distinfo
+++ b/pre-commit/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (pre_commit-2.0.1.tar.gz) = 4ff8a477ab095b42e0743b039333d297aee3af84
-RMD160 (pre_commit-2.0.1.tar.gz) = a1492ed17400d5e3f628a0453734b3eb59263a04
-SHA512 (pre_commit-2.0.1.tar.gz) = b5515511ad65bb5f040c1b8e13936317d2d65d5b9c29e8354e209fdef0371d2566481c7aabdea317d3bad80450be77a085b099c8ebd2c90b841b1825281de6d1
-Size (pre_commit-2.0.1.tar.gz) = 147064 bytes
+SHA1 (pre_commit-2.1.1.tar.gz) = 7769b145a62a87af0ad0fa55363d42e5b37a55fe
+RMD160 (pre_commit-2.1.1.tar.gz) = 9374c9b5a20232d7069ad6a62e47161ff69036ec
+SHA512 (pre_commit-2.1.1.tar.gz) = d250a8ccf3e92c88b478909bb514a9813246ca915ea96cccbcf828940c55fc7300df2e5e2415482bac09f4ed5dbc474065060d44dfce23671712783d890dc153
+Size (pre_commit-2.1.1.tar.gz) = 147942 bytes


Home | Main Index | Thread Index | Old Index