From e8b726881fe0f2ed3aa6df77d649b2abb1815012b6e74a7af7aa56416c41f63f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 12 Feb 2022 11:33:55 +0000 Subject: [PATCH] Accepting request 953812 from home:bfein:branches:devel:languages:python - Update to 0.13.0 - made memoize safe for both arguments and keyword arguments - now exports decorators that wrap meta-checks - Update to 0.12.0 - make am_pm checks case-sensitive - added --dump-config and --dump-default-config CLI arguments - now exports proselint.config.default - proselint.tools.lint now takes a config object instead of using load_options - Proselint no longer uses a proselintrc config file. Remove no longer needed commands from the spec. OBS-URL: https://build.opensuse.org/request/show/953812 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proselint?expand=0&rev=25 --- proselint-0.11.3.tar.gz | 3 --- proselint-0.13.0.tar.gz | 3 +++ python-proselint.changes | 16 ++++++++++++++++ python-proselint.spec | 13 ++++--------- 4 files changed, 23 insertions(+), 12 deletions(-) delete mode 100644 proselint-0.11.3.tar.gz create mode 100644 proselint-0.13.0.tar.gz diff --git a/proselint-0.11.3.tar.gz b/proselint-0.11.3.tar.gz deleted file mode 100644 index 554e64b..0000000 --- a/proselint-0.11.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5d1f6bb62863e2bb22df430529b9facc6f6eca2ab1f60eca5266747b71a7ef3 -size 874207 diff --git a/proselint-0.13.0.tar.gz b/proselint-0.13.0.tar.gz new file mode 100644 index 0000000..3939fe3 --- /dev/null +++ b/proselint-0.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:019783cb13a5b6546389764bdd2e505648063315b4307113ff8a93d03bde62e4 +size 875919 diff --git a/python-proselint.changes b/python-proselint.changes index 4450296..88b1f04 100644 --- a/python-proselint.changes +++ b/python-proselint.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Fri Feb 11 19:17:53 UTC 2022 - Benedikt Fein + +- Update to 0.13.0 + - made memoize safe for both arguments and keyword arguments + - now exports decorators that wrap meta-checks +- Update to 0.12.0 + - make am_pm checks case-sensitive + - added --dump-config and --dump-default-config CLI arguments + - now exports proselint.config.default + - proselint.tools.lint now takes a config object instead of + using load_options + +- Proselint no longer uses a proselintrc config file. + Remove no longer needed commands from the spec. + ------------------------------------------------------------------- Mon Jul 12 13:16:11 UTC 2021 - Matej Cepl diff --git a/python-proselint.spec b/python-proselint.spec index fec4d4d..8fa6947 100644 --- a/python-proselint.spec +++ b/python-proselint.spec @@ -1,7 +1,7 @@ # # spec file for package python-proselint # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %bcond_without python2 %define modname proselint Name: python-proselint -Version: 0.11.3 +Version: 0.13.0 Release: 0 Summary: A linter for prose License: BSD-3-Clause @@ -65,18 +65,13 @@ existing tools. sed -i -e '/^#!\//, 1d' proselint/*.py -# We don't like hidden configuration files in /usr/lib -cp proselint/.proselintrc proselintrc - %build %pyproject_wheel %install %pyproject_install %python_clone -a %{buildroot}%{_bindir}/proselint -%{python_expand %fdupes %{buildroot}%{$python_sitelib} -rm -v %{buildroot}%{$python_sitelib}/proselint/.proselintrc -} +%{python_expand %fdupes %{buildroot}%{$python_sitelib}} %post %python_install_alternative proselint @@ -88,7 +83,7 @@ rm -v %{buildroot}%{$python_sitelib}/proselint/.proselintrc %pytest %files %{python_files} -%doc CHANGELOG.md README.md proselintrc +%doc CHANGELOG.md README.md %license LICENSE.md %python_alternative %{_bindir}/proselint %{python_sitelib}/proselint/