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+.
This commit is contained in:
Iku Iwasa 2020-02-01 15:19:29 +09:00
parent 7994058878
commit 01e2192893
3 changed files with 13 additions and 14 deletions

View File

@ -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

View File

@ -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

View File

@ -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