17
0

Compare commits

4 Commits

2 changed files with 15 additions and 7 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Jan 20 01:29:03 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Don't remove installed LICENSE, new poetry doesn't install it.
-------------------------------------------------------------------
Wed Aug 14 14:54:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
- switch to modern python for sle15
-------------------------------------------------------------------
Sat Mar 16 13:06:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
@@ -39,7 +49,7 @@ Tue Aug 25 11:53:40 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
Sat Jul 11 23:13:19 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to 1.1.0:
* Add support for isort >= 5
* Add support for isort >= 5
-------------------------------------------------------------------
Sun May 3 07:31:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-isort
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
#
%{?sle15_python_module_pythons}
Name: python-pytest-isort
Version: 4.0.0
Release: 0
@@ -46,10 +47,7 @@ This is a pytest plugin to check import ordering using isort.
%install
%pyproject_install
%{python_expand #
rm %{buildroot}%{$python_sitelib}/LICENSE.rst
%fdupes %{buildroot}%{$python_sitelib}
}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
@@ -58,6 +56,6 @@ rm %{buildroot}%{$python_sitelib}/LICENSE.rst
%doc CHANGELOG.rst README.rst
%license LICENSE.rst
%{python_sitelib}/pytest_isort
%{python_sitelib}/pytest_isort-%{version}*-info
%{python_sitelib}/pytest_isort-%{version}.dist-info
%changelog