- Don't remove installed LICENSE, new poetry doesn't install it.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-isort?expand=0&rev=23
This commit is contained in:
commit
c9e278db49
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
pytest-isort-4.0.0-gh.tar.gz
Normal file
3
pytest-isort-4.0.0-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8f0cd0809ee36354ce613f95a59e63a0ee6f0e87a3030b93b6082856f2e7011f
|
||||||
|
size 13610
|
92
python-pytest-isort.changes
Normal file
92
python-pytest-isort.changes
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- update to 4.0.0:
|
||||||
|
* Drop support for Python 3.7
|
||||||
|
* Add support for Python 3.10 and 3.11
|
||||||
|
* Add support for pytest 8
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 15 20:12:31 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 3.1.0
|
||||||
|
* Drop official support for Python 3.6.
|
||||||
|
* Drop usage of "py" dependency and use pytest capture instead
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 28 20:22:52 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 3.0.0
|
||||||
|
* Drop support for isort < 5
|
||||||
|
* Add suport for pytest 7
|
||||||
|
- Release 2.0.0
|
||||||
|
* BREAKING CHANGE: Files that are ignored in isort's own
|
||||||
|
configuration will now be skipped
|
||||||
|
- Release 1.3.0
|
||||||
|
* Fix issue with pytest >= 6.1
|
||||||
|
- Release 1.2.0
|
||||||
|
* Add support for pytest >= 6
|
||||||
|
- Drop pytest6.patch
|
||||||
|
- License change
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 25 11:53:40 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- Add patch pytest6.patch to fix tests
|
||||||
|
- Drop python2 because newer pytest is needed
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 11 23:13:19 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 1.1.0:
|
||||||
|
* Add support for isort >= 5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 3 07:31:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.0.0:
|
||||||
|
* BREAKING CHANGE: Drop support for Python 3.4
|
||||||
|
* Add support for pytest >= 5.x - fixes "from_parent" warning
|
||||||
|
* Add support for Python 3.7 and Python 3.8
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 11 08:48:37 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.3.1:
|
||||||
|
* Update packaging, source distribution now includes tests and wheel is universal
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 8 11:07:44 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.3.0:
|
||||||
|
* Improve display of test result by appending ::ISORT
|
||||||
|
* This release requires pytest 3.5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 14 14:11:43 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.2.1:
|
||||||
|
* Drop "pytest-cache" dependency, not required anymore - part of py.test itself
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 10 00:00:16 UTC 2018 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to 0.2.0
|
||||||
|
* Register marker to work with pytest's strict mode
|
||||||
|
* Add "official" support for Python 3.5 and 3.6
|
||||||
|
- Use license tag
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 22 15:37:10 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Initial version
|
61
python-pytest-isort.spec
Normal file
61
python-pytest-isort.spec
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-pytest-isort
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
|
Name: python-pytest-isort
|
||||||
|
Version: 4.0.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Pytest plugin to check import ordering using isort
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/stephrdev/pytest-isort/
|
||||||
|
Source: https://github.com/stephrdev/pytest-isort/archive/refs/tags/%{version}.tar.gz#/pytest-isort-%{version}-gh.tar.gz
|
||||||
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
|
BuildRequires: %{python_module isort >= 4.0}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module poetry-core >= 1}
|
||||||
|
BuildRequires: %{python_module pytest >= 6.2}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-isort >= 4.0
|
||||||
|
Requires: python-pytest >= 5.0
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
This is a pytest plugin to check import ordering using isort.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n pytest-isort-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc CHANGELOG.rst README.rst
|
||||||
|
%license LICENSE.rst
|
||||||
|
%{python_sitelib}/pytest_isort
|
||||||
|
%{python_sitelib}/pytest_isort-%{version}.dist-info
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user