Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-vim-vint for openSUSE:Factory
checked in at 2024-03-05 18:50:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-vim-vint (Old)
and /work/SRC/openSUSE:Factory/.python-vim-vint.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-vim-vint"
Tue Mar 5 18:50:49 2024 rev:8 rq:1154943 version:0.3.21
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-vim-vint/python-vim-vint.changes
2022-07-15 13:52:59.591573409 +0200
+++
/work/SRC/openSUSE:Factory/.python-vim-vint.new.1770/python-vim-vint.changes
2024-03-05 18:50:57.521689447 +0100
@@ -1,0 +2,6 @@
+Tue Mar 5 03:19:22 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to autosetup and pyproject macros.
+- Remove python2 leftovers.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-vim-vint.spec ++++++
--- /var/tmp/diff_new_pack.dooTlO/_old 2024-03-05 18:50:57.957705278 +0100
+++ /var/tmp/diff_new_pack.dooTlO/_new 2024-03-05 18:50:57.957705278 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-vim-vint
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,49 +16,36 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without python2
Name: python-vim-vint
Version: 0.3.21
Release: 0
Summary: Lint tool for Vim script Language
License: MIT
-Group: Development/Languages/Python
URL: https://github.com/Kuniwak/vint
Source: https://github.com/Kuniwak/vint/archive/v%{version}.tar.gz
Patch0: test-sys-executable.patch
BuildRequires: %{python_module PyYAML >= 3.11}
BuildRequires: %{python_module ansicolor >= 0.2.4}
BuildRequires: %{python_module chardet >= 2.3.0}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 2.6.4}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML >= 3.11
Requires: python-ansicolor >= 0.2.4
Requires: python-chardet >= 2.3.0
Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
-%if %{with python2}
-BuildRequires: python-enum34 >= 1.0.4
-BuildRequires: python-mock >= 1.0.1
-BuildRequires: python-pathlib
-BuildRequires: python-typing >= 3.6.2
-%endif
-%ifpython2
-Requires: python-enum34 >= 1.0.4
-Requires: python-pathlib >= 1.0.1
-Requires: python-typing >= 3.6.2
-%endif
%python_subpackages
%description
A lint tool for the Vim script Language.
%prep
-%setup -q -n vint-%{version}
-%patch0 -p1
+%autosetup -p1 -n vint-%{version}
sed -e 's/==/>=/g' \
-e 's/\~=/>=/g' \
-i setup.py \
@@ -67,10 +54,10 @@
sed -i -e '/^#!\//, 1d' vint/_bundles/vimlparser.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/vint
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -91,5 +78,5 @@
%doc README.rst
%python_alternative %{_bindir}/vint
%{python_sitelib}/vint
-%{python_sitelib}/vim_vint-%{version}*-info
+%{python_sitelib}/vim_vint-%{version}.dist-info