From d95d85e53cd206460b8069276719c51b1a0a92759b9fe9c8f5a1ea7123f0de6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 4 May 2020 05:27:19 +0000 Subject: [PATCH] Accepting request 799916 from home:apersaud:branches:devel:languages:python * added skip_python2 back to spec file - specfile: * be more specific in %files section - update to version 2.3.0: * Features + Calculate character width using `east_asian_width` - #1378 PR by @sophgn. + Use `language_version: system` by default for `node` hooks if `node` / `npm` are globally installed. - #1388 PR by @asottile. * Fixes + No longer use a hard-coded user id for docker hooks on windows - #1371 PR by @killuazhu. + Fix colors on windows during `git commit` - #1381 issue by @Cielquan. - #1382 PR by @asottile. + Produce readable error message for incorrect argument count to `hook-impl` - #1394 issue by @pip9ball. - #1395 PR by @asottile. + Fix installations which involve an upgrade of `pip` on windows - #1398 issue by @xiaohuazi123. - #1399 PR by @asottile. + Preserve line endings in `pre-commit autoupdate` - #1402 PR by @utek. OBS-URL: https://build.opensuse.org/request/show/799916 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=6 --- pre_commit-2.2.0.tar.gz | 3 --- pre_commit-2.3.0.tar.gz | 3 +++ python-pre-commit.changes | 25 +++++++++++++++++++++++++ python-pre-commit.spec | 6 +++--- 4 files changed, 31 insertions(+), 6 deletions(-) delete mode 100644 pre_commit-2.2.0.tar.gz create mode 100644 pre_commit-2.3.0.tar.gz diff --git a/pre_commit-2.2.0.tar.gz b/pre_commit-2.2.0.tar.gz deleted file mode 100644 index 6f9321e..0000000 --- a/pre_commit-2.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:53a5d39e8b2063a004ecdabd4b459ae826cfe47eca449720e4fdde06a7d43cc0 -size 216542 diff --git a/pre_commit-2.3.0.tar.gz b/pre_commit-2.3.0.tar.gz new file mode 100644 index 0000000..443e631 --- /dev/null +++ b/pre_commit-2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cbe534c57d0e0e17b0a739d71bb0d33a3bc295e65d6d125860bcfc7053abd645 +size 217937 diff --git a/python-pre-commit.changes b/python-pre-commit.changes index 9995618..5acb711 100644 --- a/python-pre-commit.changes +++ b/python-pre-commit.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat May 2 21:01:03 UTC 2020 - Arun Persaud + +- specfile: + * be more specific in %files section + +- update to version 2.3.0: + * Features + + Calculate character width using `east_asian_width` - #1378 PR by + @sophgn. + + Use `language_version: system` by default for `node` hooks if + `node` / `npm` are globally installed. - #1388 PR by @asottile. + * Fixes + + No longer use a hard-coded user id for docker hooks on windows - + #1371 PR by @killuazhu. + + Fix colors on windows during `git commit` - #1381 issue by + @Cielquan. - #1382 PR by @asottile. + + Produce readable error message for incorrect argument count to + `hook-impl` - #1394 issue by @pip9ball. - #1395 PR by + @asottile. + + Fix installations which involve an upgrade of `pip` on windows - + #1398 issue by @xiaohuazi123. - #1399 PR by @asottile. + + Preserve line endings in `pre-commit autoupdate` - #1402 PR by + @utek. + ------------------------------------------------------------------- Wed Mar 18 11:26:55 UTC 2020 - Marketa Calabkova diff --git a/python-pre-commit.spec b/python-pre-commit.spec index c8122ca..6244673 100644 --- a/python-pre-commit.spec +++ b/python-pre-commit.spec @@ -18,9 +18,8 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-pre-commit -Version: 2.2.0 +Version: 2.3.0 Release: 0 Summary: Multi-language pre-commit hooks License: MIT @@ -91,6 +90,7 @@ git init . %{_bindir}/pre-commit-validate-manifest %{_bindir}/pre-commit %{_bindir}/pre-commit-validate-config -%{python_sitelib}/* +%{python_sitelib}/pre_commit +%{python_sitelib}/pre_commit-%{version}-py*.egg-info %changelog