pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pre-commit: Update to 2.8.2
Module Name: pkgsrc-wip
Committed By: Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By: iquiw
Date: Sat Oct 31 09:21:31 2020 +0900
Changeset: c866b1e859f0e21bc65bf604b1ceadeef1e78785
Modified Files:
pre-commit/Makefile
pre-commit/PLIST
pre-commit/distinfo
Log Message:
pre-commit: Update to 2.8.2
2.8.2 - 2020-10-30
Fixes
* Fix installation of ruby hooks with language_version: default
2.8.1 - 2020-10-28
Fixes
* Allow default language_version of system when the homedir is /
2.8.0 - 2020-10-28
Features
* Update rbenv / ruby-build
* Update sample-config versions
* Add new language: dotnet
* Add --negate option to language: pygrep hooks
* Add zipapp support
* Run pre-commit through https://pre-commit.ci
* Add new language: coursier (a jvm-based package manager)
* Exit with distinct codes: 1 (user error), 3 (unexpected error), 130 (^C)
Fixes
* Improve healthy() check for language: node + language_version: system
hooks when the system executable goes missing.
* Fix excess whitespace in error log traceback
* Fix posixlike shebang invocations with shim executables of the git hook
script on windows.
* Remove hard-coded C:\PythonXX\python.exe path on windows as it caused
confusion (and virtualenv can sometimes do better)
* Fix language: ruby hooks when --format-executable is present in a gemrc
* Move cygwin / win32 mismatch error earlier to catch msys2 mismatches
* Remove -p workaround for old virtualenv
* Fix language: node installations to not symlink outside of the
environment
* Don't identify shim executables as valid system for defaulting
language_version for language: node / language: ruby
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c866b1e859f0e21bc65bf604b1ceadeef1e78785
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 | 219 +++++++++++++++++++++++++++-------------------------
pre-commit/distinfo | 8 +-
3 files changed, 120 insertions(+), 111 deletions(-)
diffs:
diff --git a/pre-commit/Makefile b/pre-commit/Makefile
index 577772e1df..cde2155177 100644
--- a/pre-commit/Makefile
+++ b/pre-commit/Makefile
@@ -1,6 +1,6 @@
# $NetBSD$
-DISTNAME= pre_commit-2.7.1
+DISTNAME= pre_commit-2.8.2
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pre_commit/}
@@ -10,7 +10,7 @@ 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
+PYTHON_VERSIONS_ACCEPTED= 39 38 37 36 # Only supports 3.6+ since pre-commit v2.0.0
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 a290ce184e..b2de001747 100644
--- a/pre-commit/PLIST
+++ b/pre-commit/PLIST
@@ -9,165 +9,164 @@ ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pre_commit/__init__.py
-${PYSITELIB}/pre_commit/__main__.py
-${PYSITELIB}/pre_commit/__init__.pyo
${PYSITELIB}/pre_commit/__init__.pyc
-${PYSITELIB}/pre_commit/__main__.pyo
+${PYSITELIB}/pre_commit/__init__.pyo
+${PYSITELIB}/pre_commit/__main__.py
${PYSITELIB}/pre_commit/__main__.pyc
-${PYSITELIB}/pre_commit/clientlib.pyo
-${PYSITELIB}/pre_commit/clientlib.pyc
-${PYSITELIB}/pre_commit/color.pyo
-${PYSITELIB}/pre_commit/color.pyc
-${PYSITELIB}/pre_commit/constants.pyo
-${PYSITELIB}/pre_commit/constants.pyc
-${PYSITELIB}/pre_commit/envcontext.pyo
-${PYSITELIB}/pre_commit/envcontext.pyc
-${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/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
-${PYSITELIB}/pre_commit/main.pyc
-${PYSITELIB}/pre_commit/make_archives.pyo
-${PYSITELIB}/pre_commit/make_archives.pyc
-${PYSITELIB}/pre_commit/output.pyo
-${PYSITELIB}/pre_commit/output.pyc
-${PYSITELIB}/pre_commit/parse_shebang.pyo
-${PYSITELIB}/pre_commit/parse_shebang.pyc
-${PYSITELIB}/pre_commit/prefix.pyo
-${PYSITELIB}/pre_commit/prefix.pyc
-${PYSITELIB}/pre_commit/repository.pyo
-${PYSITELIB}/pre_commit/repository.pyc
-${PYSITELIB}/pre_commit/staged_files_only.pyo
-${PYSITELIB}/pre_commit/staged_files_only.pyc
-${PYSITELIB}/pre_commit/store.pyo
-${PYSITELIB}/pre_commit/store.pyc
-${PYSITELIB}/pre_commit/util.pyo
-${PYSITELIB}/pre_commit/util.pyc
-${PYSITELIB}/pre_commit/xargs.pyo
-${PYSITELIB}/pre_commit/xargs.pyc
+${PYSITELIB}/pre_commit/__main__.pyo
${PYSITELIB}/pre_commit/clientlib.py
+${PYSITELIB}/pre_commit/clientlib.pyc
+${PYSITELIB}/pre_commit/clientlib.pyo
${PYSITELIB}/pre_commit/color.py
+${PYSITELIB}/pre_commit/color.pyc
+${PYSITELIB}/pre_commit/color.pyo
${PYSITELIB}/pre_commit/commands/__init__.py
-${PYSITELIB}/pre_commit/commands/__init__.pyo
${PYSITELIB}/pre_commit/commands/__init__.pyc
-${PYSITELIB}/pre_commit/commands/autoupdate.pyo
-${PYSITELIB}/pre_commit/commands/autoupdate.pyc
-${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
-${PYSITELIB}/pre_commit/commands/install_uninstall.pyc
-${PYSITELIB}/pre_commit/commands/migrate_config.pyo
-${PYSITELIB}/pre_commit/commands/migrate_config.pyc
-${PYSITELIB}/pre_commit/commands/run.pyo
-${PYSITELIB}/pre_commit/commands/run.pyc
-${PYSITELIB}/pre_commit/commands/sample_config.pyo
-${PYSITELIB}/pre_commit/commands/sample_config.pyc
-${PYSITELIB}/pre_commit/commands/try_repo.pyo
-${PYSITELIB}/pre_commit/commands/try_repo.pyc
+${PYSITELIB}/pre_commit/commands/__init__.pyo
${PYSITELIB}/pre_commit/commands/autoupdate.py
+${PYSITELIB}/pre_commit/commands/autoupdate.pyc
+${PYSITELIB}/pre_commit/commands/autoupdate.pyo
${PYSITELIB}/pre_commit/commands/clean.py
+${PYSITELIB}/pre_commit/commands/clean.pyc
+${PYSITELIB}/pre_commit/commands/clean.pyo
${PYSITELIB}/pre_commit/commands/gc.py
+${PYSITELIB}/pre_commit/commands/gc.pyc
+${PYSITELIB}/pre_commit/commands/gc.pyo
${PYSITELIB}/pre_commit/commands/hook_impl.py
+${PYSITELIB}/pre_commit/commands/hook_impl.pyc
+${PYSITELIB}/pre_commit/commands/hook_impl.pyo
${PYSITELIB}/pre_commit/commands/init_templatedir.py
+${PYSITELIB}/pre_commit/commands/init_templatedir.pyc
+${PYSITELIB}/pre_commit/commands/init_templatedir.pyo
${PYSITELIB}/pre_commit/commands/install_uninstall.py
+${PYSITELIB}/pre_commit/commands/install_uninstall.pyc
+${PYSITELIB}/pre_commit/commands/install_uninstall.pyo
${PYSITELIB}/pre_commit/commands/migrate_config.py
+${PYSITELIB}/pre_commit/commands/migrate_config.pyc
+${PYSITELIB}/pre_commit/commands/migrate_config.pyo
${PYSITELIB}/pre_commit/commands/run.py
+${PYSITELIB}/pre_commit/commands/run.pyc
+${PYSITELIB}/pre_commit/commands/run.pyo
${PYSITELIB}/pre_commit/commands/sample_config.py
+${PYSITELIB}/pre_commit/commands/sample_config.pyc
+${PYSITELIB}/pre_commit/commands/sample_config.pyo
${PYSITELIB}/pre_commit/commands/try_repo.py
+${PYSITELIB}/pre_commit/commands/try_repo.pyc
+${PYSITELIB}/pre_commit/commands/try_repo.pyo
${PYSITELIB}/pre_commit/constants.py
+${PYSITELIB}/pre_commit/constants.pyc
+${PYSITELIB}/pre_commit/constants.pyo
${PYSITELIB}/pre_commit/envcontext.py
+${PYSITELIB}/pre_commit/envcontext.pyc
+${PYSITELIB}/pre_commit/envcontext.pyo
${PYSITELIB}/pre_commit/error_handler.py
+${PYSITELIB}/pre_commit/error_handler.pyc
+${PYSITELIB}/pre_commit/error_handler.pyo
+${PYSITELIB}/pre_commit/errors.py
+${PYSITELIB}/pre_commit/errors.pyc
+${PYSITELIB}/pre_commit/errors.pyo
${PYSITELIB}/pre_commit/file_lock.py
+${PYSITELIB}/pre_commit/file_lock.pyc
+${PYSITELIB}/pre_commit/file_lock.pyo
${PYSITELIB}/pre_commit/git.py
+${PYSITELIB}/pre_commit/git.pyc
+${PYSITELIB}/pre_commit/git.pyo
${PYSITELIB}/pre_commit/hook.py
+${PYSITELIB}/pre_commit/hook.pyc
+${PYSITELIB}/pre_commit/hook.pyo
${PYSITELIB}/pre_commit/languages/__init__.py
-${PYSITELIB}/pre_commit/languages/__init__.pyo
${PYSITELIB}/pre_commit/languages/__init__.pyc
-${PYSITELIB}/pre_commit/languages/all.pyo
-${PYSITELIB}/pre_commit/languages/all.pyc
-${PYSITELIB}/pre_commit/languages/conda.pyo
-${PYSITELIB}/pre_commit/languages/conda.pyc
-${PYSITELIB}/pre_commit/languages/docker.pyo
-${PYSITELIB}/pre_commit/languages/docker.pyc
-${PYSITELIB}/pre_commit/languages/docker_image.pyo
-${PYSITELIB}/pre_commit/languages/docker_image.pyc
-${PYSITELIB}/pre_commit/languages/fail.pyo
-${PYSITELIB}/pre_commit/languages/fail.pyc
-${PYSITELIB}/pre_commit/languages/golang.pyo
-${PYSITELIB}/pre_commit/languages/golang.pyc
-${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
-${PYSITELIB}/pre_commit/languages/python.pyc
-${PYSITELIB}/pre_commit/languages/ruby.pyo
-${PYSITELIB}/pre_commit/languages/ruby.pyc
-${PYSITELIB}/pre_commit/languages/rust.pyo
-${PYSITELIB}/pre_commit/languages/rust.pyc
-${PYSITELIB}/pre_commit/languages/script.pyo
-${PYSITELIB}/pre_commit/languages/script.pyc
-${PYSITELIB}/pre_commit/languages/swift.pyo
-${PYSITELIB}/pre_commit/languages/swift.pyc
-${PYSITELIB}/pre_commit/languages/system.pyo
-${PYSITELIB}/pre_commit/languages/system.pyc
+${PYSITELIB}/pre_commit/languages/__init__.pyo
${PYSITELIB}/pre_commit/languages/all.py
+${PYSITELIB}/pre_commit/languages/all.pyc
+${PYSITELIB}/pre_commit/languages/all.pyo
${PYSITELIB}/pre_commit/languages/conda.py
+${PYSITELIB}/pre_commit/languages/conda.pyc
+${PYSITELIB}/pre_commit/languages/conda.pyo
+${PYSITELIB}/pre_commit/languages/coursier.py
+${PYSITELIB}/pre_commit/languages/coursier.pyc
+${PYSITELIB}/pre_commit/languages/coursier.pyo
${PYSITELIB}/pre_commit/languages/docker.py
+${PYSITELIB}/pre_commit/languages/docker.pyc
+${PYSITELIB}/pre_commit/languages/docker.pyo
${PYSITELIB}/pre_commit/languages/docker_image.py
+${PYSITELIB}/pre_commit/languages/docker_image.pyc
+${PYSITELIB}/pre_commit/languages/docker_image.pyo
+${PYSITELIB}/pre_commit/languages/dotnet.py
+${PYSITELIB}/pre_commit/languages/dotnet.pyc
+${PYSITELIB}/pre_commit/languages/dotnet.pyo
${PYSITELIB}/pre_commit/languages/fail.py
+${PYSITELIB}/pre_commit/languages/fail.pyc
+${PYSITELIB}/pre_commit/languages/fail.pyo
${PYSITELIB}/pre_commit/languages/golang.py
+${PYSITELIB}/pre_commit/languages/golang.pyc
+${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/node.py
+${PYSITELIB}/pre_commit/languages/node.pyc
+${PYSITELIB}/pre_commit/languages/node.pyo
${PYSITELIB}/pre_commit/languages/perl.py
+${PYSITELIB}/pre_commit/languages/perl.pyc
+${PYSITELIB}/pre_commit/languages/perl.pyo
${PYSITELIB}/pre_commit/languages/pygrep.py
+${PYSITELIB}/pre_commit/languages/pygrep.pyc
+${PYSITELIB}/pre_commit/languages/pygrep.pyo
${PYSITELIB}/pre_commit/languages/python.py
+${PYSITELIB}/pre_commit/languages/python.pyc
+${PYSITELIB}/pre_commit/languages/python.pyo
${PYSITELIB}/pre_commit/languages/ruby.py
+${PYSITELIB}/pre_commit/languages/ruby.pyc
+${PYSITELIB}/pre_commit/languages/ruby.pyo
${PYSITELIB}/pre_commit/languages/rust.py
+${PYSITELIB}/pre_commit/languages/rust.pyc
+${PYSITELIB}/pre_commit/languages/rust.pyo
${PYSITELIB}/pre_commit/languages/script.py
+${PYSITELIB}/pre_commit/languages/script.pyc
+${PYSITELIB}/pre_commit/languages/script.pyo
${PYSITELIB}/pre_commit/languages/swift.py
+${PYSITELIB}/pre_commit/languages/swift.pyc
+${PYSITELIB}/pre_commit/languages/swift.pyo
${PYSITELIB}/pre_commit/languages/system.py
+${PYSITELIB}/pre_commit/languages/system.pyc
+${PYSITELIB}/pre_commit/languages/system.pyo
${PYSITELIB}/pre_commit/logging_handler.py
+${PYSITELIB}/pre_commit/logging_handler.pyc
+${PYSITELIB}/pre_commit/logging_handler.pyo
${PYSITELIB}/pre_commit/main.py
+${PYSITELIB}/pre_commit/main.pyc
+${PYSITELIB}/pre_commit/main.pyo
${PYSITELIB}/pre_commit/make_archives.py
+${PYSITELIB}/pre_commit/make_archives.pyc
+${PYSITELIB}/pre_commit/make_archives.pyo
${PYSITELIB}/pre_commit/meta_hooks/__init__.py
-${PYSITELIB}/pre_commit/meta_hooks/__init__.pyo
${PYSITELIB}/pre_commit/meta_hooks/__init__.pyc
-${PYSITELIB}/pre_commit/meta_hooks/check_hooks_apply.pyo
-${PYSITELIB}/pre_commit/meta_hooks/check_hooks_apply.pyc
-${PYSITELIB}/pre_commit/meta_hooks/check_useless_excludes.pyo
-${PYSITELIB}/pre_commit/meta_hooks/check_useless_excludes.pyc
-${PYSITELIB}/pre_commit/meta_hooks/identity.pyo
-${PYSITELIB}/pre_commit/meta_hooks/identity.pyc
+${PYSITELIB}/pre_commit/meta_hooks/__init__.pyo
${PYSITELIB}/pre_commit/meta_hooks/check_hooks_apply.py
+${PYSITELIB}/pre_commit/meta_hooks/check_hooks_apply.pyc
+${PYSITELIB}/pre_commit/meta_hooks/check_hooks_apply.pyo
${PYSITELIB}/pre_commit/meta_hooks/check_useless_excludes.py
+${PYSITELIB}/pre_commit/meta_hooks/check_useless_excludes.pyc
+${PYSITELIB}/pre_commit/meta_hooks/check_useless_excludes.pyo
${PYSITELIB}/pre_commit/meta_hooks/identity.py
+${PYSITELIB}/pre_commit/meta_hooks/identity.pyc
+${PYSITELIB}/pre_commit/meta_hooks/identity.pyo
${PYSITELIB}/pre_commit/output.py
+${PYSITELIB}/pre_commit/output.pyc
+${PYSITELIB}/pre_commit/output.pyo
${PYSITELIB}/pre_commit/parse_shebang.py
+${PYSITELIB}/pre_commit/parse_shebang.pyc
+${PYSITELIB}/pre_commit/parse_shebang.pyo
${PYSITELIB}/pre_commit/prefix.py
+${PYSITELIB}/pre_commit/prefix.pyc
+${PYSITELIB}/pre_commit/prefix.pyo
${PYSITELIB}/pre_commit/repository.py
+${PYSITELIB}/pre_commit/repository.pyc
+${PYSITELIB}/pre_commit/repository.pyo
${PYSITELIB}/pre_commit/resources/__init__.py
-${PYSITELIB}/pre_commit/resources/__init__.pyo
${PYSITELIB}/pre_commit/resources/__init__.pyc
-${PYSITELIB}/pre_commit/resources/empty_template_setup.pyo
-${PYSITELIB}/pre_commit/resources/empty_template_setup.pyc
+${PYSITELIB}/pre_commit/resources/__init__.pyo
${PYSITELIB}/pre_commit/resources/empty_template_.npmignore
${PYSITELIB}/pre_commit/resources/empty_template_Cargo.toml
${PYSITELIB}/pre_commit/resources/empty_template_Makefile.PL
@@ -178,11 +177,21 @@ ${PYSITELIB}/pre_commit/resources/empty_template_main.rs
${PYSITELIB}/pre_commit/resources/empty_template_package.json
${PYSITELIB}/pre_commit/resources/empty_template_pre_commit_dummy_package.gemspec
${PYSITELIB}/pre_commit/resources/empty_template_setup.py
+${PYSITELIB}/pre_commit/resources/empty_template_setup.pyc
+${PYSITELIB}/pre_commit/resources/empty_template_setup.pyo
${PYSITELIB}/pre_commit/resources/hook-tmpl
${PYSITELIB}/pre_commit/resources/rbenv.tar.gz
${PYSITELIB}/pre_commit/resources/ruby-build.tar.gz
${PYSITELIB}/pre_commit/resources/ruby-download.tar.gz
${PYSITELIB}/pre_commit/staged_files_only.py
+${PYSITELIB}/pre_commit/staged_files_only.pyc
+${PYSITELIB}/pre_commit/staged_files_only.pyo
${PYSITELIB}/pre_commit/store.py
+${PYSITELIB}/pre_commit/store.pyc
+${PYSITELIB}/pre_commit/store.pyo
${PYSITELIB}/pre_commit/util.py
+${PYSITELIB}/pre_commit/util.pyc
+${PYSITELIB}/pre_commit/util.pyo
${PYSITELIB}/pre_commit/xargs.py
+${PYSITELIB}/pre_commit/xargs.pyc
+${PYSITELIB}/pre_commit/xargs.pyo
diff --git a/pre-commit/distinfo b/pre-commit/distinfo
index 56debe6143..25232cb922 100644
--- a/pre-commit/distinfo
+++ b/pre-commit/distinfo
@@ -1,6 +1,6 @@
$NetBSD$
-SHA1 (pre_commit-2.7.1.tar.gz) = c1e2dcdbb3dbb132e08ba22ef4c0814be8203aaa
-RMD160 (pre_commit-2.7.1.tar.gz) = 623e1c8ad5c16ea86ba1f6a2ddd31cbc5aadf65c
-SHA512 (pre_commit-2.7.1.tar.gz) = 58815347abd3f1c16d3429302bd2f83bc9661a1125d9ed5f6e13a47cec328eab6c4776abd367608aa1f93ad4ca9cca4a3794330700c2c2df14016899894e94d1
-Size (pre_commit-2.7.1.tar.gz) = 151878 bytes
+SHA1 (pre_commit-2.8.2.tar.gz) = 1e69ea98f74b5a199884a15d6124978073427cd8
+RMD160 (pre_commit-2.8.2.tar.gz) = 8e6143c63f59188f3d7a818df4f95ea5f6d80939
+SHA512 (pre_commit-2.8.2.tar.gz) = 95132a99eac0eef15134d1e11c8006b0ba9112d9a46ea357f76ca40b4680d1d8e2590ace2b8eceeb654ca890e6e600aa22189ccfaa1ad7ea6f5658741243ffb4
+Size (pre_commit-2.8.2.tar.gz) = 161896 bytes
Home |
Main Index |
Thread Index |
Old Index