pkgsrc-WIP-changes archive

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

pre-commit: move to py-pre-commit and add ${PYPKGPREFIX}



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Thu Jan 27 12:03:05 2022 +0100
Changeset:	3f17e0bc2395b50533dc3a45bc12158783d1c9a6

Modified Files:
	py-bidict/Makefile
	py-coconut/Makefile
	py-graphene-sqlalchemy/Makefile
	py-symbolic-equation/Makefile
Added Files:
	py-pre-commit/DESCR
	py-pre-commit/Makefile
	py-pre-commit/PLIST
	py-pre-commit/distinfo
Removed Files:
	pre-commit/DESCR
	pre-commit/Makefile
	pre-commit/PLIST
	pre-commit/distinfo

Log Message:
pre-commit: move to py-pre-commit and add ${PYPKGPREFIX}

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

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

diffstat:
 pre-commit/DESCR                |   7 --
 pre-commit/Makefile             |  35 -------
 pre-commit/PLIST                | 208 ----------------------------------------
 pre-commit/distinfo             |   5 -
 py-bidict/Makefile              |   2 +-
 py-coconut/Makefile             |   2 +-
 py-graphene-sqlalchemy/Makefile |   2 +-
 py-pre-commit/DESCR             |   7 ++
 py-pre-commit/Makefile          |  35 +++++++
 py-pre-commit/PLIST             | 208 ++++++++++++++++++++++++++++++++++++++++
 py-pre-commit/distinfo          |   5 +
 py-symbolic-equation/Makefile   |   2 +-
 12 files changed, 259 insertions(+), 259 deletions(-)

diffs:
diff --git a/pre-commit/DESCR b/pre-commit/DESCR
deleted file mode 100644
index e3018f4788..0000000000
--- a/pre-commit/DESCR
+++ /dev/null
@@ -1,7 +0,0 @@
-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
deleted file mode 100644
index fed5e01de5..0000000000
--- a/pre-commit/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	pre_commit-2.17.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
-
-PYTHON_VERSIONS_INCOMPATIBLE=	27 # not supported
-
-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}-yaml>=5.1:../../textproc/py-yaml
-DEPENDS+=	${PYPKGPREFIX}-virtualenv>=20.0.8:../../wip/py-virtualenv20
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} < 38
-DEPENDS+=	${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
-.endif
-
-USE_LANGUAGES=	# none
-USE_TOOLS+=	bash
-
-REPLACE_PYTHON=	pre-commit.py
-REPLACE_BASH=	pre_commit/resources/hook-tmpl
-
-.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
deleted file mode 100644
index fe09a73e11..0000000000
--- a/pre-commit/PLIST
+++ /dev/null
@@ -1,208 +0,0 @@
-@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/__init__.pyc
-${PYSITELIB}/pre_commit/__init__.pyo
-${PYSITELIB}/pre_commit/__main__.py
-${PYSITELIB}/pre_commit/__main__.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__.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__.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/dart.py
-${PYSITELIB}/pre_commit/languages/dart.pyc
-${PYSITELIB}/pre_commit/languages/dart.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/lua.py
-${PYSITELIB}/pre_commit/languages/lua.pyc
-${PYSITELIB}/pre_commit/languages/lua.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/r.py
-${PYSITELIB}/pre_commit/languages/r.pyc
-${PYSITELIB}/pre_commit/languages/r.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/meta_hooks/__init__.py
-${PYSITELIB}/pre_commit/meta_hooks/__init__.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__.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_LICENSE.renv
-${PYSITELIB}/pre_commit/resources/empty_template_Makefile.PL
-${PYSITELIB}/pre_commit/resources/empty_template_activate.R
-${PYSITELIB}/pre_commit/resources/empty_template_environment.yml
-${PYSITELIB}/pre_commit/resources/empty_template_go.mod
-${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-package-dev-1.rockspec
-${PYSITELIB}/pre_commit/resources/empty_template_pre_commit_placeholder_package.gemspec
-${PYSITELIB}/pre_commit/resources/empty_template_pubspec.yaml
-${PYSITELIB}/pre_commit/resources/empty_template_renv.lock
-${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
deleted file mode 100644
index c8c6107e5f..0000000000
--- a/pre-commit/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD$
-
-BLAKE2s (pre_commit-2.17.0.tar.gz) = 3c6229040b8fb72eb6e8d6143f3043226cb47376290dc27a6700fc904bb6bd26
-SHA512 (pre_commit-2.17.0.tar.gz) = 255801556b7718d1801dc957d3a8c20ab5f428ae2b3f8716397bbf3615ae191315daf952d9a7188466672dea0f05645cf5324c3e7b50f1a4cc5df0a0f3e12fad
-Size (pre_commit-2.17.0.tar.gz) = 170517 bytes
diff --git a/py-bidict/Makefile b/py-bidict/Makefile
index c99ef1b63b..0690b0111f 100644
--- a/py-bidict/Makefile
+++ b/py-bidict/Makefile
@@ -19,7 +19,7 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
 BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-autodoc-typehints>=1.10.3:../../textproc/py-sphinx-autodoc-typehints
 BUILD_DEPENDS+=	${PYPKGPREFIX}-coverage>=5.2.1:../../devel/py-coverage
 BUILD_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.10.1:../../devel/py-test-cov
-#BUILD_DEPENDS+= ${PYPKGPREFIX}-pre-commit>=2.7.1:../../wip/py-pre-commit
+BUILD_DEPENDS+= ${PYPKGPREFIX}-pre-commit>=2.7.1:../../wip/py-pre-commit
 BUILD_DEPENDS+= ${PYPKGPREFIX}-tox>=3.12.1:../../devel/py-tox
 
 PYTHON_VERSIONED_DEPENDENCIES=	hypothesis:test
diff --git a/py-coconut/Makefile b/py-coconut/Makefile
index 306c5b118b..63e4beb960 100644
--- a/py-coconut/Makefile
+++ b/py-coconut/Makefile
@@ -25,7 +25,7 @@ BUILD_DEPENDS+=	${PYPKGPREFIX}-watchdog>=0.9:../../sysutils/py-watchdog
 BUILD_DEPENDS+=	${PYPKGPREFIX}-pygments>=2.3.1:../../textproc/py-pygments
 BUILD_DEPENDS+=	${PYPKGPREFIX}-pexpect>=4.8.0:../../devel/py-pexpect
 BUILD_DEPENDS+=	${PYPKGPREFIX}-mypy>=0.761:../../lang/py-mypy
-BUILD_DEPENDS+=	pre-commit>=2.8.2:../../wip/pre-commit
+BUILD_DEPENDS+=	${PYPKGPREFIX}-pre-commit>=2.8.2:../../wip/py-pre-commit
 DEPENDS+=	${PYPKGPREFIX}-cPyparsing>=2.4.5.0.1.1:../../wip/py-cPyparsing
 DEPENDS+=	${PYPKGPREFIX}-pygments>=2.3.1:../../textproc/py-pygments
 DEPENDS+=	${PYPKGPREFIX}-prompt_toolkit>=3.0.8:../../devel/py-prompt_toolkit
diff --git a/py-graphene-sqlalchemy/Makefile b/py-graphene-sqlalchemy/Makefile
index 46cf556cd4..5d92719dad 100644
--- a/py-graphene-sqlalchemy/Makefile
+++ b/py-graphene-sqlalchemy/Makefile
@@ -13,7 +13,7 @@ LICENSE=	mit
 #Force dependency for >= Py3.6
 BUILD_DEPENDS+=	${PYPKGPREFIX}-tox>=3.7.0:../../devel/py-tox
 BUILD_DEPENDS+=	${PYPKGPREFIX}-coveralls>=2.4.2:../../wip/py-coveralls
-BUILD_DEPENDS+=	pre-commit>=2.7.1:../../wip/pre-commit
+BUILD_DEPENDS+=	${PYPKGPREFIX}-pre-commit>=2.7.1:../../wip/py-pre-commit
 DEPENDS+=	${PYPKGPREFIX}-graphene>=2.1.3:../../wip/py-graphene
 DEPENDS+=	${PYPKGPREFIX}-promise>=2.3:../../wip/py-promise
 DEPENDS+=	${PYPKGPREFIX}-sqlalchemy>=1.2:../../databases/py-sqlalchemy
diff --git a/py-pre-commit/DESCR b/py-pre-commit/DESCR
new file mode 100644
index 0000000000..e3018f4788
--- /dev/null
+++ b/py-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/py-pre-commit/Makefile b/py-pre-commit/Makefile
new file mode 100644
index 0000000000..e5c24c3a3b
--- /dev/null
+++ b/py-pre-commit/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD$
+
+DISTNAME=	pre_commit-2.17.0
+PKGNAME=	${PYPKGPREFIX}-${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
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27 # not supported
+
+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}-yaml>=5.1:../../textproc/py-yaml
+DEPENDS+=	${PYPKGPREFIX}-virtualenv>=20.0.8:../../wip/py-virtualenv20
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+=	${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
+.endif
+
+USE_LANGUAGES=	# none
+USE_TOOLS+=	bash
+
+REPLACE_PYTHON=	pre-commit.py
+REPLACE_BASH=	pre_commit/resources/hook-tmpl
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-pre-commit/PLIST b/py-pre-commit/PLIST
new file mode 100644
index 0000000000..fe09a73e11
--- /dev/null
+++ b/py-pre-commit/PLIST
@@ -0,0 +1,208 @@
+@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/__init__.pyc
+${PYSITELIB}/pre_commit/__init__.pyo
+${PYSITELIB}/pre_commit/__main__.py
+${PYSITELIB}/pre_commit/__main__.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__.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__.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/dart.py
+${PYSITELIB}/pre_commit/languages/dart.pyc
+${PYSITELIB}/pre_commit/languages/dart.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/lua.py
+${PYSITELIB}/pre_commit/languages/lua.pyc
+${PYSITELIB}/pre_commit/languages/lua.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/r.py
+${PYSITELIB}/pre_commit/languages/r.pyc
+${PYSITELIB}/pre_commit/languages/r.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/meta_hooks/__init__.py
+${PYSITELIB}/pre_commit/meta_hooks/__init__.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__.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_LICENSE.renv
+${PYSITELIB}/pre_commit/resources/empty_template_Makefile.PL
+${PYSITELIB}/pre_commit/resources/empty_template_activate.R
+${PYSITELIB}/pre_commit/resources/empty_template_environment.yml
+${PYSITELIB}/pre_commit/resources/empty_template_go.mod
+${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-package-dev-1.rockspec
+${PYSITELIB}/pre_commit/resources/empty_template_pre_commit_placeholder_package.gemspec
+${PYSITELIB}/pre_commit/resources/empty_template_pubspec.yaml
+${PYSITELIB}/pre_commit/resources/empty_template_renv.lock
+${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/py-pre-commit/distinfo b/py-pre-commit/distinfo
new file mode 100644
index 0000000000..c8c6107e5f
--- /dev/null
+++ b/py-pre-commit/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (pre_commit-2.17.0.tar.gz) = 3c6229040b8fb72eb6e8d6143f3043226cb47376290dc27a6700fc904bb6bd26
+SHA512 (pre_commit-2.17.0.tar.gz) = 255801556b7718d1801dc957d3a8c20ab5f428ae2b3f8716397bbf3615ae191315daf952d9a7188466672dea0f05645cf5324c3e7b50f1a4cc5df0a0f3e12fad
+Size (pre_commit-2.17.0.tar.gz) = 170517 bytes
diff --git a/py-symbolic-equation/Makefile b/py-symbolic-equation/Makefile
index 31e134bc50..bd71b7fa4e 100644
--- a/py-symbolic-equation/Makefile
+++ b/py-symbolic-equation/Makefile
@@ -20,7 +20,7 @@ BUILD_DEPENDS+=	${PYPKGPREFIX}-ipython>=7.18.1:../../devel/py-ipython
 BUILD_DEPENDS+=	${PYPKGPREFIX}-jupyter_core>=4.6.3:../../devel/py-jupyter_core
 BUILD_DEPENDS+=	${PYPKGPREFIX}-nbsphinx>=0.7.1:../../wip/py-nbsphinx
 BUILD_DEPENDS+=	${PYPKGPREFIX}-test-nbval>=0.9.6:../../wip/py-test-nbval
-BUILD_DEPENDS+=	pre-commit>=2.7.1:../../wip/pre-commit
+BUILD_DEPENDS+=	${PYPKGPREFIX}-pre-commit>=2.7.1:../../wip/py-pre-commit
 BUILD_DEPENDS+=	${PYPKGPREFIX}-pylint>=1.9.3:../../devel/py-pylint
 BUILD_DEPENDS+=	${PYPKGPREFIX}-test>=5.3.5:../../devel/py-test
 BUILD_DEPENDS+=	${PYPKGPREFIX}-test-cov>=2.10.1:../../devel/py-test-cov


Home | Main Index | Thread Index | Old Index