pkgsrc-WIP-changes archive

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

pre-commit: Update to 1.21.0



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Sat Jan 4 17:05:27 2020 +0900
Changeset:	35ae18b6371a24a0a4f4d3eedb6c4b53679a45b9

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

Log Message:
pre-commit: Update to 1.21.0

Features

* Add conda as a new language.
  * #1204 issue by @xhochy.
  * #1232 PR by @xhochy.
* Add top-level configuration files for file selection.
  * #1220 issue by @TheButlah.
  * #1248 PR by @asottile.
* Rework --verbose / verbose to be more consistent with normal runs.
  * #1249 PR by @asottile.
* Add support for the pre-merge-commit git hook.
  * #1210 PR by @asottile.
  * this requires git 2.24+.
* Add pre-commit autoupdate --freeze which produces "frozen" revisions.
  * #1068 issue by @SkypLabs.
  * #1256 PR by @asottile.
* Display hook runtime duration when run with --verbose.
  * #1144 issue by @potiuk.
  * #1257 PR by @asottile.

Fixes

* Produce better error message when erroneously running inside of .git.
  * #1219 issue by @Nusserdt.
  * #1224 PR by @asottile.
  * Note: git has since fixed this bug: git/git@36fd304d
* Produce better error message when hook installation fails.
  * #1250 issue by @asottile.
  * #1251 PR by @asottile.
* Fix cloning when GIT_SSL_CAINFO is necessary.
  * #1253 issue by @igankevich.
  * #1254 PR by @igankevich.
* Fix pre-commit try-repo for bare, on-disk repositories.
  * #1258 issue by @webknjaz.
  * #1259 PR by @asottile.
* Add some whitespace to pre-commit autoupdate to improve terminal autolink.
  * #1261 issue by @yhoiseth.
  * #1262 PR by @yhoiseth.

Misc.

* Minor code documentation updates.
  * #1200 PR by @ryanrhee.
  * #1201 PR by @ryanrhee.

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

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

diffstat:
 pre-commit/Makefile | 3 ++-
 pre-commit/PLIST    | 4 ++++
 pre-commit/distinfo | 8 ++++----
 3 files changed, 10 insertions(+), 5 deletions(-)

diffs:
diff --git a/pre-commit/Makefile b/pre-commit/Makefile
index 50a7ca0b95..cb4e861287 100644
--- a/pre-commit/Makefile
+++ b/pre-commit/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	pre_commit-1.20.0
+DISTNAME=	pre_commit-1.21.0
 PKGNAME=	${DISTNAME:S/_/-/}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pre_commit/}
@@ -12,6 +12,7 @@ LICENSE=	mit
 
 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
 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
diff --git a/pre-commit/PLIST b/pre-commit/PLIST
index 7a207806cf..1cca8e1c65 100644
--- a/pre-commit/PLIST
+++ b/pre-commit/PLIST
@@ -98,6 +98,8 @@ ${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
@@ -129,6 +131,7 @@ ${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/conda.py
 ${PYSITELIB}/pre_commit/languages/docker.py
 ${PYSITELIB}/pre_commit/languages/docker_image.py
 ${PYSITELIB}/pre_commit/languages/fail.py
@@ -170,6 +173,7 @@ ${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_environment.yml
 ${PYSITELIB}/pre_commit/resources/empty_template_main.go
 ${PYSITELIB}/pre_commit/resources/empty_template_main.rs
 ${PYSITELIB}/pre_commit/resources/empty_template_package.json
diff --git a/pre-commit/distinfo b/pre-commit/distinfo
index 230b05bec9..566077adc0 100644
--- a/pre-commit/distinfo
+++ b/pre-commit/distinfo
@@ -1,6 +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
+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


Home | Main Index | Thread Index | Old Index