pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pre-commit: Import pre-commit-1.20.0 as wip/pre-commit
Module Name: pkgsrc-wip
Committed By: Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By: iquiw
Date: Fri Dec 13 21:10:20 2019 +0900
Changeset: c3869029f92c341c5ec679332032131f033175ce
Modified Files:
Makefile
Added Files:
pre-commit/DESCR
pre-commit/Makefile
pre-commit/PLIST
pre-commit/distinfo
Log Message:
pre-commit: Import pre-commit-1.20.0 as wip/pre-commit
It is a multi-language package manager for pre-commit hooks. You specify a
list of hooks you want and pre-commit manages the installation and
execution of any hook written in any language before every
commit. pre-commit is specifically designed to not require root access. If
one of your developers doesn't have node installed but modifies a
JavaScript file, pre-commit automatically handles downloading and building
node to run eslint without root.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c3869029f92c341c5ec679332032131f033175ce
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
pre-commit/DESCR | 7 ++
pre-commit/Makefile | 27 ++++++++
pre-commit/PLIST | 185 ++++++++++++++++++++++++++++++++++++++++++++++++++++
pre-commit/distinfo | 6 ++
5 files changed, 226 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 0ed5fd2e12..af3e5dbe06 100644
--- a/Makefile
+++ b/Makefile
@@ -2996,6 +2996,7 @@ SUBDIR+= powwow
SUBDIR+= ppp
SUBDIR+= ppr
SUBDIR+= praat
+SUBDIR+= pre-commit
SUBDIR+= preftools
SUBDIR+= preload
SUBDIR+= premake
diff --git a/pre-commit/DESCR b/pre-commit/DESCR
new file mode 100644
index 0000000000..e3018f4788
--- /dev/null
+++ b/pre-commit/DESCR
@@ -0,0 +1,7 @@
+It is a multi-language package manager for pre-commit hooks. You specify a
+list of hooks you want and pre-commit manages the installation and
+execution of any hook written in any language before every
+commit. pre-commit is specifically designed to not require root access. If
+one of your developers doesn't have node installed but modifies a
+JavaScript file, pre-commit automatically handles downloading and building
+node to run eslint without root.
diff --git a/pre-commit/Makefile b/pre-commit/Makefile
new file mode 100644
index 0000000000..50a7ca0b95
--- /dev/null
+++ b/pre-commit/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME= pre_commit-1.20.0
+PKGNAME= ${DISTNAME:S/_/-/}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pre_commit/}
+
+MAINTAINER= iku.iwasa%gmail.com@localhost
+HOMEPAGE= https://pre-commit.com/
+COMMENT= Framework for managing and maintaining multi-language pre-commit hook
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-aspy.yaml-[0-9]*:../../wip/py-aspy.yaml
+DEPENDS+= ${PYPKGPREFIX}-cfgv>=2.0.0:../../wip/py-cfgv
+DEPENDS+= ${PYPKGPREFIX}-identify>=1.0.0:../../wip/py-identify
+DEPENDS+= ${PYPKGPREFIX}-nodeenv>=0.11.1:../../wip/py-nodeenv
+DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
+DEPENDS+= ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
+DEPENDS+= ${PYPKGPREFIX}-virtualenv>=15.2:../../devel/py-virtualenv
+
+USE_LANGUAGES= # none
+
+REPLACE_PYTHON= pre-commit.py
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/pre-commit/PLIST b/pre-commit/PLIST
new file mode 100644
index 0000000000..7a207806cf
--- /dev/null
+++ b/pre-commit/PLIST
@@ -0,0 +1,185 @@
+@comment $NetBSD$
+bin/pre-commit
+bin/pre-commit-validate-config
+bin/pre-commit-validate-manifest
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${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/__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/color_windows.pyo
+${PYSITELIB}/pre_commit/color_windows.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/five.pyo
+${PYSITELIB}/pre_commit/five.pyc
+${PYSITELIB}/pre_commit/git.pyo
+${PYSITELIB}/pre_commit/git.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/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
+${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/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/autoupdate.py
+${PYSITELIB}/pre_commit/commands/clean.py
+${PYSITELIB}/pre_commit/commands/gc.py
+${PYSITELIB}/pre_commit/commands/init_templatedir.py
+${PYSITELIB}/pre_commit/commands/install_uninstall.py
+${PYSITELIB}/pre_commit/commands/migrate_config.py
+${PYSITELIB}/pre_commit/commands/run.py
+${PYSITELIB}/pre_commit/commands/sample_config.py
+${PYSITELIB}/pre_commit/commands/try_repo.py
+${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/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/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/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
+${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
+${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/all.py
+${PYSITELIB}/pre_commit/languages/docker.py
+${PYSITELIB}/pre_commit/languages/docker_image.py
+${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
+${PYSITELIB}/pre_commit/languages/ruby.py
+${PYSITELIB}/pre_commit/languages/rust.py
+${PYSITELIB}/pre_commit/languages/script.py
+${PYSITELIB}/pre_commit/languages/swift.py
+${PYSITELIB}/pre_commit/languages/system.py
+${PYSITELIB}/pre_commit/logging_handler.py
+${PYSITELIB}/pre_commit/main.py
+${PYSITELIB}/pre_commit/make_archives.py
+${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/check_hooks_apply.py
+${PYSITELIB}/pre_commit/meta_hooks/check_useless_excludes.py
+${PYSITELIB}/pre_commit/meta_hooks/identity.py
+${PYSITELIB}/pre_commit/output.py
+${PYSITELIB}/pre_commit/parse_shebang.py
+${PYSITELIB}/pre_commit/prefix.py
+${PYSITELIB}/pre_commit/repository.py
+${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/empty_template_.npmignore
+${PYSITELIB}/pre_commit/resources/empty_template_Cargo.toml
+${PYSITELIB}/pre_commit/resources/empty_template_main.go
+${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/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/store.py
+${PYSITELIB}/pre_commit/util.py
+${PYSITELIB}/pre_commit/xargs.py
diff --git a/pre-commit/distinfo b/pre-commit/distinfo
new file mode 100644
index 0000000000..230b05bec9
--- /dev/null
+++ b/pre-commit/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (pre_commit-1.20.0.tar.gz) = 250b763eccb3c4cc92ca659d2189bbd0d5b28f93
+RMD160 (pre_commit-1.20.0.tar.gz) = 819c62761fcbd034bc9d3ae3ebb9105f4e6fd5aa
+SHA512 (pre_commit-1.20.0.tar.gz) = 5a0e9228d6087bc6e91a695bce9591b4c5bd73f92bcdb5d85fd6d75de81f8938abf35276adb5287c611a508d73381615187b32802bce6ea45fa0eb5236614ccd
+Size (pre_commit-1.20.0.tar.gz) = 145262 bytes
Home |
Main Index |
Thread Index |
Old Index