- Remove not needed dep python-setuptools-git
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-fixture-config?expand=0&rev=16
This commit is contained in:
commit
96129d4b82
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
|
BIN
pytest-fixture-config-1.7.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pytest-fixture-config-1.7.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
pytest-fixture-config-1.8.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pytest-fixture-config-1.8.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
18
python-pytest-fixture-config-no-six.patch
Normal file
18
python-pytest-fixture-config-no-six.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
Index: pytest-fixture-config-1.7.0/tests/unit/test_fixture_config.py
|
||||||
|
===================================================================
|
||||||
|
--- pytest-fixture-config-1.7.0.orig/tests/unit/test_fixture_config.py
|
||||||
|
+++ pytest-fixture-config-1.7.0/tests/unit/test_fixture_config.py
|
||||||
|
@@ -1,11 +1,11 @@
|
||||||
|
import pytest
|
||||||
|
-from six.moves import reload_module
|
||||||
|
+from importlib import reload
|
||||||
|
|
||||||
|
# HACK: if the plugin is imported before the coverage plugin then all
|
||||||
|
# the top-level code will be omitted from coverage, so force it to be
|
||||||
|
# reloaded within this unit test under coverage
|
||||||
|
import pytest_fixture_config
|
||||||
|
-reload_module(pytest_fixture_config)
|
||||||
|
+reload(pytest_fixture_config)
|
||||||
|
|
||||||
|
from pytest_fixture_config import Config, requires_config, yield_requires_config
|
||||||
|
|
47
python-pytest-fixture-config.changes
Normal file
47
python-pytest-fixture-config.changes
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 4 11:33:53 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Remove not needed dep python-setuptools-git
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 22 06:08:51 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.8.0:
|
||||||
|
* Drop support for Python 2 and <3.6, removing compatibility code.
|
||||||
|
* Use stdlib unittest.mock instead of mock package.
|
||||||
|
* Removed usage of path.py and path in favour of pathlib.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 22 04:08:07 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to autosetup and pyproject macros.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 10 11:50:36 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Add %{?sle15_python_module_pythons}
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 8 11:00:15 UTC 2022 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- do not require six
|
||||||
|
- added patches
|
||||||
|
fix https://github.com/man-group/pytest-plugins/issues/209
|
||||||
|
+ python-pytest-fixture-config-no-six.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 17 03:39:57 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Add required BuildRequires on six.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 3 09:18:55 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.7.0:
|
||||||
|
* Support pytest 4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 20 11:40:45 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Intial commit, needed by pytest-virtualenv
|
61
python-pytest-fixture-config.spec
Normal file
61
python-pytest-fixture-config.spec
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-pytest-fixture-config
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# 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-fixture-config
|
||||||
|
Version: 1.8.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Fixture configuration utils for pytest
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/man-group/pytest-plugins
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-fixture-config/pytest-fixture-config-%{version}.tar.gz
|
||||||
|
# https://github.com/man-group/pytest-plugins/issues/209
|
||||||
|
Patch0: python-pytest-fixture-config-no-six.patch
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-pytest
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Fixture configuration utilities for pytest
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n pytest-fixture-config-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc README.md CHANGES.md
|
||||||
|
%license LICENSE
|
||||||
|
%{python_sitelib}/pytest_fixture_config.py
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/pytest_fixture_config*.py*
|
||||||
|
%{python_sitelib}/pytest_fixture_config-%{version}.dist-info
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user