Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-proselint for
openSUSE:Factory checked in at 2021-07-12 21:40:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-proselint (Old)
and /work/SRC/openSUSE:Factory/.python-proselint.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-proselint"
Mon Jul 12 21:40:10 2021 rev:10 rq:905848 version:0.11.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-proselint/python-proselint.changes
2020-08-18 15:10:32.564028040 +0200
+++
/work/SRC/openSUSE:Factory/.python-proselint.new.2625/python-proselint.changes
2021-07-12 21:40:25.064023223 +0200
@@ -1,0 +2,26 @@
+Mon Jul 12 13:16:11 UTC 2021 - Matej Cepl <[email protected]>
+
+- Update to 0.11.3:
+ - fix package bundling to include proselintrc (#1195)
+
+-------------------------------------------------------------------
+Thu Jul 8 00:03:06 UTC 2021 - Matej Cepl <[email protected]>
+
+- Update to 0.11.2:
+ - correct false positives in lexical_illusions.misc
+ - fix package metadata and pypi upload (hotfix release)
+ - add warning for missing corpus
+ - reduce false positives for uncomparables.misc
+ - correct "attorney and not a republic" mondegreen
+ - correct unbound line and column in error printing
+ - fix false positive in misc.but
+ - add --config CLI argument
+ - add exceptions for proselint.tools.existence_check
+ - use regex for lexical_illusions.misc
+ - implement project-wide proselintrc
+Removed upstreamed patches:
+ - disable-empty-test.patch
+ - remove_nose.patch
+ - test-use-sys-executable.patch
+
+-------------------------------------------------------------------
Old:
----
disable-empty-test.patch
proselint-0.10.2.tar.gz
remove_nose.patch
test-use-sys-executable.patch
New:
----
proselint-0.11.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-proselint.spec ++++++
--- /var/tmp/diff_new_pack.jw39l3/_old 2021-07-12 21:40:25.672018430 +0200
+++ /var/tmp/diff_new_pack.jw39l3/_new 2021-07-12 21:40:25.672018430 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-proselint
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,20 +18,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
+%define modname proselint
Name: python-proselint
-Version: 0.10.2
+Version: 0.11.3
Release: 0
Summary: A linter for prose
License: BSD-3-Clause
URL: https://github.com/amperser/proselint
-Source:
https://files.pythonhosted.org/packages/source/p/proselint/proselint-%{version}.tar.gz
-# test_weasel_words_misc is empty in release v0.10.2, and contains
nose.SkipTest
-Patch0: disable-empty-test.patch
-Patch1: test-use-sys-executable.patch
-# PATCH-FEATURE-UPSTREAM remove_nose.patch gh#amperser/proselint#1097
[email protected]
-# this patch makes things totally awesome
-Patch2: remove_nose.patch
+Source:
https://github.com/amperser/%{modname}/archive/refs/tags/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-click
@@ -39,7 +37,7 @@
Requires: python-future
Requires: python-six
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module click}
@@ -67,13 +65,18 @@
sed -i -e '/^#!\//, 1d' proselint/*.py
+# We don't like hidden configuration files in /usr/lib
+cp proselint/.proselintrc proselintrc
+
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/proselint
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%{python_expand %fdupes %{buildroot}%{$python_sitelib}
+rm -v %{buildroot}%{$python_sitelib}/proselint/.proselintrc
+}
%post
%python_install_alternative proselint
@@ -82,17 +85,13 @@
%python_uninstall_alternative proselint
%check
-mkdir ~/bin
-export PATH=~/bin:$PATH
-%{python_expand cp %{buildroot}%{_bindir}/proselint-%{$python_bin_suffix}
~/bin/proselint
-PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest
-}
+%pytest
%files %{python_files}
-%doc CHANGELOG.md README.md
+%doc CHANGELOG.md README.md proselintrc
%license LICENSE.md
%python_alternative %{_bindir}/proselint
%{python_sitelib}/proselint/
-%{python_sitelib}/proselint-%{version}-py*.egg-info
+%{python_sitelib}/proselint-%{version}.dist-info
%changelog
++++++ proselint-0.10.2.tar.gz -> proselint-0.11.3.tar.gz ++++++
++++ 62786 lines of diff (skipped)