pkgsrc-WIP-changes archive

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

pre-commit: Update to 2.0.1



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Sat Feb 1 15:19:29 2020 +0900
Changeset:	01e219289360f708357665b58b974b1222f55435

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

Log Message:
pre-commit: Update to 2.0.1

v2.0.1:
  Fixes
  * Fix ImportError in python 3.6.0 / 3.6.1 for typing.NoReturn

v2.0.0:
  Features
  * Expose PRE_COMMIT_REMOTE_NAME and PRE_COMMIT_REMOTE_URL as environment
    variables during pre-push hooks.

  Fixes
  * Fix python -m pre_commit --version to mention pre-commit instead of
    __main__.py.
  * Don't filter GIT_SSL_NO_VERIFY from environment when cloning.
  * Allow pre-commit init-templatedir to succeed even if core.hooksPath is
    set.

  Misc
  * Fix changelog date for 1.21.0.

  Updating
  * Removed pcre language, use pygrep instead.
  * Removed --tags-only argument to pre-commit autoupdate (it has done
    nothing since 0.14.0).
  * Remove python2 / python3.5 support. Note that pre-commit still supports
    running hooks written in python2, but pre-commit itself requires python
    3.6+.

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

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    | 15 ++++++---------
 pre-commit/distinfo |  8 ++++----
 3 files changed, 13 insertions(+), 14 deletions(-)

diffs:
diff --git a/pre-commit/Makefile b/pre-commit/Makefile
index cb4e861287..2e03e2f191 100644
--- a/pre-commit/Makefile
+++ b/pre-commit/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	pre_commit-1.21.0
+DISTNAME=	pre_commit-2.0.1
 PKGNAME=	${DISTNAME:S/_/-/}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pre_commit/}
@@ -10,6 +10,8 @@ HOMEPAGE=	https://pre-commit.com/
 COMMENT=	Framework for managing and maintaining multi-language pre-commit hook
 LICENSE=	mit
 
+PYTHON_VERSIONS_ACCEPTED=	38 37 36 # Only supports 3.6+ since pre-commit v2.0.0
+
 DEPENDS+=	${PYPKGPREFIX}-aspy.yaml-[0-9]*:../../wip/py-aspy.yaml
 DEPENDS+=	${PYPKGPREFIX}-cfgv>=2.0.0:../../wip/py-cfgv
 DEPENDS+=	${PYPKGPREFIX}-conda-[0-9]*:../../wip/py-conda
diff --git a/pre-commit/PLIST b/pre-commit/PLIST
index 1cca8e1c65..1677be6fd2 100644
--- a/pre-commit/PLIST
+++ b/pre-commit/PLIST
@@ -18,8 +18,6 @@ ${PYSITELIB}/pre_commit/clientlib.pyo
 ${PYSITELIB}/pre_commit/clientlib.pyc
 ${PYSITELIB}/pre_commit/color.pyo
 ${PYSITELIB}/pre_commit/color.pyc
-${PYSITELIB}/pre_commit/color_windows.pyo
-${PYSITELIB}/pre_commit/color_windows.pyc
 ${PYSITELIB}/pre_commit/constants.pyo
 ${PYSITELIB}/pre_commit/constants.pyc
 ${PYSITELIB}/pre_commit/envcontext.pyo
@@ -28,10 +26,10 @@ ${PYSITELIB}/pre_commit/error_handler.pyo
 ${PYSITELIB}/pre_commit/error_handler.pyc
 ${PYSITELIB}/pre_commit/file_lock.pyo
 ${PYSITELIB}/pre_commit/file_lock.pyc
-${PYSITELIB}/pre_commit/five.pyo
-${PYSITELIB}/pre_commit/five.pyc
 ${PYSITELIB}/pre_commit/git.pyo
 ${PYSITELIB}/pre_commit/git.pyc
+${PYSITELIB}/pre_commit/hook.pyo
+${PYSITELIB}/pre_commit/hook.pyc
 ${PYSITELIB}/pre_commit/logging_handler.pyo
 ${PYSITELIB}/pre_commit/logging_handler.pyc
 ${PYSITELIB}/pre_commit/main.pyo
@@ -56,7 +54,6 @@ ${PYSITELIB}/pre_commit/xargs.pyo
 ${PYSITELIB}/pre_commit/xargs.pyc
 ${PYSITELIB}/pre_commit/clientlib.py
 ${PYSITELIB}/pre_commit/color.py
-${PYSITELIB}/pre_commit/color_windows.py
 ${PYSITELIB}/pre_commit/commands/__init__.py
 ${PYSITELIB}/pre_commit/commands/__init__.pyo
 ${PYSITELIB}/pre_commit/commands/__init__.pyc
@@ -66,6 +63,8 @@ ${PYSITELIB}/pre_commit/commands/clean.pyo
 ${PYSITELIB}/pre_commit/commands/clean.pyc
 ${PYSITELIB}/pre_commit/commands/gc.pyo
 ${PYSITELIB}/pre_commit/commands/gc.pyc
+${PYSITELIB}/pre_commit/commands/hook_impl.pyo
+${PYSITELIB}/pre_commit/commands/hook_impl.pyc
 ${PYSITELIB}/pre_commit/commands/init_templatedir.pyo
 ${PYSITELIB}/pre_commit/commands/init_templatedir.pyc
 ${PYSITELIB}/pre_commit/commands/install_uninstall.pyo
@@ -81,6 +80,7 @@ ${PYSITELIB}/pre_commit/commands/try_repo.pyc
 ${PYSITELIB}/pre_commit/commands/autoupdate.py
 ${PYSITELIB}/pre_commit/commands/clean.py
 ${PYSITELIB}/pre_commit/commands/gc.py
+${PYSITELIB}/pre_commit/commands/hook_impl.py
 ${PYSITELIB}/pre_commit/commands/init_templatedir.py
 ${PYSITELIB}/pre_commit/commands/install_uninstall.py
 ${PYSITELIB}/pre_commit/commands/migrate_config.py
@@ -91,8 +91,8 @@ ${PYSITELIB}/pre_commit/constants.py
 ${PYSITELIB}/pre_commit/envcontext.py
 ${PYSITELIB}/pre_commit/error_handler.py
 ${PYSITELIB}/pre_commit/file_lock.py
-${PYSITELIB}/pre_commit/five.py
 ${PYSITELIB}/pre_commit/git.py
+${PYSITELIB}/pre_commit/hook.py
 ${PYSITELIB}/pre_commit/languages/__init__.py
 ${PYSITELIB}/pre_commit/languages/__init__.pyo
 ${PYSITELIB}/pre_commit/languages/__init__.pyc
@@ -112,8 +112,6 @@ ${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/pcre.pyo
-${PYSITELIB}/pre_commit/languages/pcre.pyc
 ${PYSITELIB}/pre_commit/languages/pygrep.pyo
 ${PYSITELIB}/pre_commit/languages/pygrep.pyc
 ${PYSITELIB}/pre_commit/languages/python.pyo
@@ -138,7 +136,6 @@ ${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/pcre.py
 ${PYSITELIB}/pre_commit/languages/pygrep.py
 ${PYSITELIB}/pre_commit/languages/python.py
 ${PYSITELIB}/pre_commit/languages/python_venv.py
diff --git a/pre-commit/distinfo b/pre-commit/distinfo
index 566077adc0..1149ab1cba 100644
--- a/pre-commit/distinfo
+++ b/pre-commit/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (pre_commit-1.21.0.tar.gz) = ad695a86e6d63d0c0a223d1bec1cd631489f2520
-RMD160 (pre_commit-1.21.0.tar.gz) = d56014a5f504f3f5c7952b93133e5836c2e4cb62
-SHA512 (pre_commit-1.21.0.tar.gz) = 045188f465843a3fa5a6c69a5879562c1a55994735ef6476ca05e6a6080d19396683f91252c2f68f712fafd6201f6a24bd463d57086e7ed6834d1e1c7d79a81b
-Size (pre_commit-1.21.0.tar.gz) = 145595 bytes
+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


Home | Main Index | Thread Index | Old Index