forked from pool/python-pytest-flakes
- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-flakes?expand=0&rev=12
This commit is contained in:
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-flakes-4.0.5.tar.gz
Normal file
3
pytest-flakes-4.0.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:953134e97215ae31f6879fbd7368c18d43f709dc2fab5b7777db2bb2bac3a924
|
||||||
|
size 7313
|
||||||
57
python-pytest-flakes.changes
Normal file
57
python-pytest-flakes.changes
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 7 06:49:38 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 10 21:23:01 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Update to version 4.0.5:
|
||||||
|
- Drop support for EOL Python 2.7 and 3.4
|
||||||
|
- Add python_requires to help pip
|
||||||
|
- Upgrade Python syntax with pyupgrade --py3-plus
|
||||||
|
- Require pytest 5+ to remove hasattr('from_parent') check
|
||||||
|
- Fix typo: setup.cfg or pytest.ini
|
||||||
|
- implement collect
|
||||||
|
- switch to cooperative ctors and correct node trees to future
|
||||||
|
proof
|
||||||
|
- Remove FlakesItem.collect
|
||||||
|
- Remove add_marker backward compat check
|
||||||
|
- Remove tokenize.open backward compat
|
||||||
|
- Prepare for upcoming pytest 7.0 deprecations
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 13 08:50:18 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to Version 4.0.1
|
||||||
|
* Maintenance of pytest-flakes has moved from fschulze to
|
||||||
|
asmeurer. The repo for pytest-flakes is now at
|
||||||
|
https://github.com/asmeurer/pytest-flakes/
|
||||||
|
* Fix test failures. [asmeurer]
|
||||||
|
* Fix deprecation warnings from pytest. [asmeurer]
|
||||||
|
* Fix invalid escape sequences. [akeeman]
|
||||||
|
- drop patches for fixed test
|
||||||
|
* remove-bad-test.patch
|
||||||
|
* replace-pytest-pep8-with-pytest-codestyle.patch
|
||||||
|
- no pytest-codestyle needed for packaging
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 6 14:13:07 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- use pytest macro
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 14 12:54:12 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix the pytest call
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 10 15:09:17 UTC 2018 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
- Remove conditional test variable from spec file and keep it enabled
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 20 11:23:22 UTC 2018 - Antonio Larrosa <alarrosa@suse.com> - 4.0.0
|
||||||
|
|
||||||
|
- Initial release of python-pytest-flakes 4.0.0
|
||||||
|
- Add remove-bad-test.patch to remove a test that seems to be wrong
|
||||||
64
python-pytest-flakes.spec
Normal file
64
python-pytest-flakes.spec
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-pytest-flakes
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: python-pytest-flakes
|
||||||
|
Version: 4.0.5
|
||||||
|
Release: 0
|
||||||
|
Summary: Pytest plugin to check source code with pyflakes
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/asmeurer/pytest-flakes
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-flakes/pytest-flakes-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
# Test requirements
|
||||||
|
BuildRequires: %{python_module pyflakes}
|
||||||
|
BuildRequires: %{python_module pytest >= 2.8.0}
|
||||||
|
# End of test requirements
|
||||||
|
BuildRequires: fdupes
|
||||||
|
Requires: python-pyflakes
|
||||||
|
Requires: python-pytest >= 2.8.0
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
py.test plugin for efficiently checking python source with pyflakes.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n pytest-flakes-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest test_flakes.py
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc README.rst
|
||||||
|
%license LICENSE
|
||||||
|
%{python_sitelib}/pytest_flakes.py
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/pytest_flakes.*pyc
|
||||||
|
%{python_sitelib}/pytest_flakes-%{version}.dist-info
|
||||||
|
|
||||||
|
%changelog
|
||||||
Reference in New Issue
Block a user