commit python-proselint for openSUSE:Factory

2023-09-01 Thread Source-Sync
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 2023-09-01 14:19:43

Comparing /work/SRC/openSUSE:Factory/python-proselint (Old)
 and  /work/SRC/openSUSE:Factory/.python-proselint.new.1766 (New)


Package is "python-proselint"

Fri Sep  1 14:19:43 2023 rev:13 rq:1108365 version:0.13.0

Changes:

--- /work/SRC/openSUSE:Factory/python-proselint/python-proselint.changes
2022-10-20 16:03:32.059233545 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-proselint.new.1766/python-proselint.changes  
2023-09-01 14:20:36.327218515 +0200
@@ -1,0 +2,7 @@
+Fri Sep  1 04:53:07 UTC 2023 - Steve Kowalik 
+
+- Remove future requirement, not required.
+- Switch to autosetup.
+- Drop python2 leftovers.
+
+---



Other differences:
--
++ python-proselint.spec ++
--- /var/tmp/diff_new_pack.OIKM3v/_old  2023-09-01 14:20:37.267252066 +0200
+++ /var/tmp/diff_new_pack.OIKM3v/_new  2023-09-01 14:20:37.271252209 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-proselint
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without python2
 %define modname proselint
 Name:   python-proselint
 Version:0.13.0
@@ -34,18 +32,13 @@
 BuildRequires:  python-rpm-macros
 Requires:   python-click
 Requires:   python-dbm
-Requires:   python-future
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
 BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module click}
 BuildRequires:  %{python_module dbm}
-BuildRequires:  %{python_module future}
 BuildRequires:  %{python_module pytest}
-%if %{with python2}
-BuildRequires:  python-mock
-%endif
 # /SECTION
 %python_subpackages
 
@@ -58,8 +51,7 @@
 existing tools.
 
 %prep
-%setup -q -n proselint-%{version}
-%autopatch -p1
+%autosetup -p1 -n proselint-%{version}
 
 sed -i -e '/^#!\//, 1d' proselint/*.py
 


commit python-proselint for openSUSE:Factory

2022-10-20 Thread Source-Sync
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 2022-10-20 16:03:31

Comparing /work/SRC/openSUSE:Factory/python-proselint (Old)
 and  /work/SRC/openSUSE:Factory/.python-proselint.new.2275 (New)


Package is "python-proselint"

Thu Oct 20 16:03:31 2022 rev:12 rq:1030156 version:0.13.0

Changes:

--- /work/SRC/openSUSE:Factory/python-proselint/python-proselint.changes
2022-02-13 00:15:44.148174032 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-proselint.new.2275/python-proselint.changes  
2022-10-20 16:03:32.059233545 +0200
@@ -1,0 +2,5 @@
+Thu Oct 20 10:05:08 UTC 2022 - pgaj...@suse.com
+
+- python-six is not required
+
+---



Other differences:
--
++ python-proselint.spec ++
--- /var/tmp/diff_new_pack.Tu9wC5/_old  2022-10-20 16:03:32.515234257 +0200
+++ /var/tmp/diff_new_pack.Tu9wC5/_new  2022-10-20 16:03:32.519234263 +0200
@@ -35,7 +35,6 @@
 Requires:   python-click
 Requires:   python-dbm
 Requires:   python-future
-Requires:   python-six
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
 BuildArch:  noarch
@@ -44,7 +43,6 @@
 BuildRequires:  %{python_module dbm}
 BuildRequires:  %{python_module future}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module six}
 %if %{with python2}
 BuildRequires:  python-mock
 %endif


commit python-proselint for openSUSE:Factory

2022-02-12 Thread Source-Sync
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 2022-02-13 00:15:25

Comparing /work/SRC/openSUSE:Factory/python-proselint (Old)
 and  /work/SRC/openSUSE:Factory/.python-proselint.new.1956 (New)


Package is "python-proselint"

Sun Feb 13 00:15:25 2022 rev:11 rq:953901 version:0.13.0

Changes:

--- /work/SRC/openSUSE:Factory/python-proselint/python-proselint.changes
2021-07-12 21:40:25.064023223 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-proselint.new.1956/python-proselint.changes  
2022-02-13 00:15:44.148174032 +0100
@@ -1,0 +2,16 @@
+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.
+
+---

Old:

  proselint-0.11.3.tar.gz

New:

  proselint-0.13.0.tar.gz



Other differences:
--
++ python-proselint.spec ++
--- /var/tmp/diff_new_pack.sgXL7Z/_old  2022-02-13 00:15:44.736175698 +0100
+++ /var/tmp/diff_new_pack.sgXL7Z/_new  2022-02-13 00:15:44.740175709 +0100
@@ -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 @@
 
 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 @@
 %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/

++ proselint-0.11.3.tar.gz -> proselint-0.13.0.tar.gz ++
 2712 lines of diff (skipped)


commit python-proselint for openSUSE:Factory

2021-07-12 Thread Source-Sync
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 
+
+- Update to 0.11.3:
+  - fix package bundling to include proselintrc (#1195)
+
+---
+Thu Jul  8 00:03:06 UTC 2021 - Matej Cepl 
+
+- 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 
mc...@suse.com
-# 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/