testing/pre-commit: upgrade to 3.6.0

also, remove unapplied fix-importlib-metadata.patch
This commit is contained in:
Celeste 2023-12-10 15:20:41 +00:00 committed by omni
parent 03c2b1e02c
commit 4139b0ca5d
2 changed files with 2 additions and 15 deletions

View File

@ -1,7 +1,7 @@
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=pre-commit
pkgver=3.5.0
pkgver=3.6.0
pkgrel=0
pkgdesc="framework for managing and maintaining multi-language pre-commit hooks"
url="https://pre-commit.com"
@ -70,5 +70,5 @@ package() {
}
sha512sums="
c7504fa2d3ba70def3361af0fcc2f7a5454325125e27f44fbaa60906f1ac35b0fa1b646eaf326cb04d4d042ecb6786fbb8e9166099df1e687fa2a64a8113c244 pre-commit-3.5.0.tar.gz
4997dfe15d262b8d0c6de711b2543162fffe14f24ce41d3a3ba2014354861ef72eb3a9cc115125ed57ef3c25a12886f858189d684d343252ad8f46cc0c364935 pre-commit-3.6.0.tar.gz
"

View File

@ -1,13 +0,0 @@
diff --git i/pre_commit/constants.py w/pre_commit/constants.py
index 3f03cee..e092c19 100644
--- i/pre_commit/constants.py
+++ w/pre_commit/constants.py
@@ -8,7 +8,7 @@ MANIFEST_FILE = '.pre-commit-hooks.yaml'
# Bump when modifying `empty_template`
LOCAL_REPO_VERSION = '1'
-VERSION = importlib.metadata.version('pre_commit')
+VERSION = %%PKGVER%%
# `manual` is not invoked by any installed git hook. See #719
STAGES = (