2012-03-05 18:01:42 +01:00
|
|
|
#
|
2021-12-20 02:04:54 +01:00
|
|
|
# spec file
|
2012-03-05 18:01:42 +01:00
|
|
|
#
|
2023-01-04 11:17:29 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2012-03-05 18:01:42 +01:00
|
|
|
#
|
|
|
|
# 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.
|
2013-04-23 11:39:08 +02:00
|
|
|
|
2018-09-17 11:46:23 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-03-05 18:01:42 +01:00
|
|
|
#
|
|
|
|
|
2017-02-27 18:33:58 +01:00
|
|
|
|
Accepting request 965098 from home:bnavigator:branches:devel:languages:python:pytest
- Update to 7.1.1
* #9767: Fixed a regression in pytest 7.1.0 where some
conftest.py files outside of the source tree (e.g. in the
[site-packages]{.title-ref} directory) were not picked up.
- python-pytest5 is gone. Remove the libalts stopgap
- Update to 7.1.0
* Big changelog for 7.x series, see
https://docs.pytest.org/en/7.1.x/changelog.html for details
- Breaking changes:
* #8838: As per our policy, the following features have been
deprecated in the 6.X series and are now removed:
+ pytest._fillfuncargs function.
+ pytest_warning_captured hook - use pytest_warning_recorded
instead.
+ -k -foobar syntax - use -k 'not foobar' instead.
+ -k foobar: syntax.
* pytest.collect module - import from pytest directly.
* #9437: Dropped support for Python 3.6, which reached
end-of-life at 2021-12-23.
* #7259: The Node.reportinfo() function first return value type
has been expanded from py.path.local | str to os.PathLike[str]
| str.
Most plugins which refer to reportinfo() only define it as part
of a custom pytest.Item implementation. Since py.path.local is
a os.PathLike[str], these plugins are unaffacted.
Plugins and users which call reportinfo(), use the first return
value and interact with it as a py.path.local, would need to
adjust by calling py.path.local(fspath). Although preferably,
avoid the legacy py.path.local and use pathlib.Path, or use
item.location or item.path, instead.
Note: pytest was not able to provide a deprecation period for
this change.
* #8246: --version now writes version information to stdout
rather than stderr.
* #8733: Drop a workaround for pyreadline that made it work with
--pdb. The workaround was introduced in #1281 in 2015, however
since then pyreadline seems to have gone unmaintained, is
generating warnings, and will stop working on Python 3.10.
* #9061: Using pytest.approx() in a boolean context now raises an
error hinting at the proper usage.
It is apparently common for users to mistakenly use
pytest.approx like this:
assert pytest.approx(actual, expected)
While the correct usage is:
assert actual == pytest.approx(expected)
The new error message helps catch those mistakes.
* #9277: The pytest.Instance collector type has been removed.
Importing pytest.Instance or _pytest.python.Instance returns a
dummy type and emits a deprecation warning. See The
pytest.Instance collector for details.
* If you have concerns about the removal of a specific feature,
please add a comment to issue #9308.
- Drop patches
* pytest-pr8664-py3.10-test_trial_error-fail.patch
* pytest-pr9173-importlib-py310.patch
* pytest-pr9417-py3.10.1-fail.patch
OBS-URL: https://build.opensuse.org/request/show/965098
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=100
2022-03-26 23:07:24 +01:00
|
|
|
%if 0%{?suse_version} > 1500
|
2021-10-20 20:25:03 +02:00
|
|
|
%bcond_without libalternatives
|
|
|
|
%else
|
|
|
|
%bcond_with libalternatives
|
|
|
|
%endif
|
|
|
|
|
2019-01-07 09:53:28 +01:00
|
|
|
%global flavor @BUILD_FLAVOR@%{nil}
|
|
|
|
%if "%{flavor}" == "test"
|
2019-07-09 13:33:21 +02:00
|
|
|
%define psuffix -%{flavor}
|
2019-01-07 09:53:28 +01:00
|
|
|
%bcond_without test
|
|
|
|
%else
|
2019-06-07 13:42:48 +02:00
|
|
|
%define psuffix %{nil}
|
2019-01-07 09:53:28 +01:00
|
|
|
%bcond_with test
|
|
|
|
%endif
|
Accepting request 965098 from home:bnavigator:branches:devel:languages:python:pytest
- Update to 7.1.1
* #9767: Fixed a regression in pytest 7.1.0 where some
conftest.py files outside of the source tree (e.g. in the
[site-packages]{.title-ref} directory) were not picked up.
- python-pytest5 is gone. Remove the libalts stopgap
- Update to 7.1.0
* Big changelog for 7.x series, see
https://docs.pytest.org/en/7.1.x/changelog.html for details
- Breaking changes:
* #8838: As per our policy, the following features have been
deprecated in the 6.X series and are now removed:
+ pytest._fillfuncargs function.
+ pytest_warning_captured hook - use pytest_warning_recorded
instead.
+ -k -foobar syntax - use -k 'not foobar' instead.
+ -k foobar: syntax.
* pytest.collect module - import from pytest directly.
* #9437: Dropped support for Python 3.6, which reached
end-of-life at 2021-12-23.
* #7259: The Node.reportinfo() function first return value type
has been expanded from py.path.local | str to os.PathLike[str]
| str.
Most plugins which refer to reportinfo() only define it as part
of a custom pytest.Item implementation. Since py.path.local is
a os.PathLike[str], these plugins are unaffacted.
Plugins and users which call reportinfo(), use the first return
value and interact with it as a py.path.local, would need to
adjust by calling py.path.local(fspath). Although preferably,
avoid the legacy py.path.local and use pathlib.Path, or use
item.location or item.path, instead.
Note: pytest was not able to provide a deprecation period for
this change.
* #8246: --version now writes version information to stdout
rather than stderr.
* #8733: Drop a workaround for pyreadline that made it work with
--pdb. The workaround was introduced in #1281 in 2015, however
since then pyreadline seems to have gone unmaintained, is
generating warnings, and will stop working on Python 3.10.
* #9061: Using pytest.approx() in a boolean context now raises an
error hinting at the proper usage.
It is apparently common for users to mistakenly use
pytest.approx like this:
assert pytest.approx(actual, expected)
While the correct usage is:
assert actual == pytest.approx(expected)
The new error message helps catch those mistakes.
* #9277: The pytest.Instance collector type has been removed.
Importing pytest.Instance or _pytest.python.Instance returns a
dummy type and emits a deprecation warning. See The
pytest.Instance collector for details.
* If you have concerns about the removal of a specific feature,
please add a comment to issue #9308.
- Drop patches
* pytest-pr8664-py3.10-test_trial_error-fail.patch
* pytest-pr9173-importlib-py310.patch
* pytest-pr9417-py3.10.1-fail.patch
OBS-URL: https://build.opensuse.org/request/show/965098
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=100
2022-03-26 23:07:24 +01:00
|
|
|
|
2019-07-09 13:32:41 +02:00
|
|
|
%define skip_python2 1
|
2019-06-07 13:42:48 +02:00
|
|
|
Name: python-pytest%{psuffix}
|
2022-11-29 14:20:25 +01:00
|
|
|
Version: 7.2.0
|
2012-03-05 18:01:42 +01:00
|
|
|
Release: 0
|
2020-10-29 10:38:57 +01:00
|
|
|
Summary: Simple powerful testing with Python
|
2013-04-23 11:39:08 +02:00
|
|
|
License: MIT
|
2018-06-25 11:35:39 +02:00
|
|
|
URL: https://github.com/pytest-dev/pytest
|
2017-11-02 10:24:10 +01:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
|
2022-12-05 09:53:03 +01:00
|
|
|
# PATCH-FIX-UPSTREAM fix-test-raising-repr.patch gh#pytest-dev/pytest#10473
|
|
|
|
Patch: fix-test-raising-repr.patch
|
2023-01-04 11:17:29 +01:00
|
|
|
# PATCH-FIX-UPSTREAM fix-tests-pygments-2.14.0.patch gh#pytest-dev/pytest#10632
|
|
|
|
Patch1: fix-tests-pygments-2.14.0.patch
|
Accepting request 965098 from home:bnavigator:branches:devel:languages:python:pytest
- Update to 7.1.1
* #9767: Fixed a regression in pytest 7.1.0 where some
conftest.py files outside of the source tree (e.g. in the
[site-packages]{.title-ref} directory) were not picked up.
- python-pytest5 is gone. Remove the libalts stopgap
- Update to 7.1.0
* Big changelog for 7.x series, see
https://docs.pytest.org/en/7.1.x/changelog.html for details
- Breaking changes:
* #8838: As per our policy, the following features have been
deprecated in the 6.X series and are now removed:
+ pytest._fillfuncargs function.
+ pytest_warning_captured hook - use pytest_warning_recorded
instead.
+ -k -foobar syntax - use -k 'not foobar' instead.
+ -k foobar: syntax.
* pytest.collect module - import from pytest directly.
* #9437: Dropped support for Python 3.6, which reached
end-of-life at 2021-12-23.
* #7259: The Node.reportinfo() function first return value type
has been expanded from py.path.local | str to os.PathLike[str]
| str.
Most plugins which refer to reportinfo() only define it as part
of a custom pytest.Item implementation. Since py.path.local is
a os.PathLike[str], these plugins are unaffacted.
Plugins and users which call reportinfo(), use the first return
value and interact with it as a py.path.local, would need to
adjust by calling py.path.local(fspath). Although preferably,
avoid the legacy py.path.local and use pathlib.Path, or use
item.location or item.path, instead.
Note: pytest was not able to provide a deprecation period for
this change.
* #8246: --version now writes version information to stdout
rather than stderr.
* #8733: Drop a workaround for pyreadline that made it work with
--pdb. The workaround was introduced in #1281 in 2015, however
since then pyreadline seems to have gone unmaintained, is
generating warnings, and will stop working on Python 3.10.
* #9061: Using pytest.approx() in a boolean context now raises an
error hinting at the proper usage.
It is apparently common for users to mistakenly use
pytest.approx like this:
assert pytest.approx(actual, expected)
While the correct usage is:
assert actual == pytest.approx(expected)
The new error message helps catch those mistakes.
* #9277: The pytest.Instance collector type has been removed.
Importing pytest.Instance or _pytest.python.Instance returns a
dummy type and emits a deprecation warning. See The
pytest.Instance collector for details.
* If you have concerns about the removal of a specific feature,
please add a comment to issue #9308.
- Drop patches
* pytest-pr8664-py3.10-test_trial_error-fail.patch
* pytest-pr9173-importlib-py310.patch
* pytest-pr9417-py3.10.1-fail.patch
OBS-URL: https://build.opensuse.org/request/show/965098
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=100
2022-03-26 23:07:24 +01:00
|
|
|
BuildRequires: %{python_module base >= 3.7}
|
|
|
|
BuildRequires: %{python_module setuptools_scm >= 6}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module tomli >= 1}
|
2017-11-02 10:24:10 +01:00
|
|
|
BuildRequires: fdupes
|
2021-10-20 20:25:03 +02:00
|
|
|
BuildRequires: python-rpm-macros >= 20210929
|
2021-01-06 11:52:08 +01:00
|
|
|
Requires: python-attrs >= 19.2.0
|
2022-11-29 14:20:25 +01:00
|
|
|
Requires: python-exceptiongroup
|
2020-08-24 20:43:11 +02:00
|
|
|
Requires: python-importlib-metadata >= 0.12
|
2020-08-24 20:07:07 +02:00
|
|
|
Requires: python-iniconfig
|
2019-06-07 13:42:48 +02:00
|
|
|
Requires: python-packaging
|
|
|
|
Requires: python-pluggy >= 0.12
|
2021-01-06 14:45:18 +01:00
|
|
|
Requires: python-setuptools
|
Accepting request 965098 from home:bnavigator:branches:devel:languages:python:pytest
- Update to 7.1.1
* #9767: Fixed a regression in pytest 7.1.0 where some
conftest.py files outside of the source tree (e.g. in the
[site-packages]{.title-ref} directory) were not picked up.
- python-pytest5 is gone. Remove the libalts stopgap
- Update to 7.1.0
* Big changelog for 7.x series, see
https://docs.pytest.org/en/7.1.x/changelog.html for details
- Breaking changes:
* #8838: As per our policy, the following features have been
deprecated in the 6.X series and are now removed:
+ pytest._fillfuncargs function.
+ pytest_warning_captured hook - use pytest_warning_recorded
instead.
+ -k -foobar syntax - use -k 'not foobar' instead.
+ -k foobar: syntax.
* pytest.collect module - import from pytest directly.
* #9437: Dropped support for Python 3.6, which reached
end-of-life at 2021-12-23.
* #7259: The Node.reportinfo() function first return value type
has been expanded from py.path.local | str to os.PathLike[str]
| str.
Most plugins which refer to reportinfo() only define it as part
of a custom pytest.Item implementation. Since py.path.local is
a os.PathLike[str], these plugins are unaffacted.
Plugins and users which call reportinfo(), use the first return
value and interact with it as a py.path.local, would need to
adjust by calling py.path.local(fspath). Although preferably,
avoid the legacy py.path.local and use pathlib.Path, or use
item.location or item.path, instead.
Note: pytest was not able to provide a deprecation period for
this change.
* #8246: --version now writes version information to stdout
rather than stderr.
* #8733: Drop a workaround for pyreadline that made it work with
--pdb. The workaround was introduced in #1281 in 2015, however
since then pyreadline seems to have gone unmaintained, is
generating warnings, and will stop working on Python 3.10.
* #9061: Using pytest.approx() in a boolean context now raises an
error hinting at the proper usage.
It is apparently common for users to mistakenly use
pytest.approx like this:
assert pytest.approx(actual, expected)
While the correct usage is:
assert actual == pytest.approx(expected)
The new error message helps catch those mistakes.
* #9277: The pytest.Instance collector type has been removed.
Importing pytest.Instance or _pytest.python.Instance returns a
dummy type and emits a deprecation warning. See The
pytest.Instance collector for details.
* If you have concerns about the removal of a specific feature,
please add a comment to issue #9308.
- Drop patches
* pytest-pr8664-py3.10-test_trial_error-fail.patch
* pytest-pr9173-importlib-py310.patch
* pytest-pr9417-py3.10.1-fail.patch
OBS-URL: https://build.opensuse.org/request/show/965098
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=100
2022-03-26 23:07:24 +01:00
|
|
|
Requires: python-tomli >= 1
|
2021-10-20 20:25:03 +02:00
|
|
|
%if %{with libalternatives}
|
|
|
|
Requires: alts
|
|
|
|
BuildRequires: alts
|
|
|
|
%else
|
2019-06-07 13:42:48 +02:00
|
|
|
Requires(post): update-alternatives
|
2021-05-14 12:31:12 +02:00
|
|
|
Requires(postun):update-alternatives
|
2021-10-20 20:25:03 +02:00
|
|
|
%endif
|
2019-07-09 13:32:41 +02:00
|
|
|
Obsoletes: python-pytest-doc
|
2019-06-07 13:42:48 +02:00
|
|
|
BuildArch: noarch
|
2019-01-07 09:53:28 +01:00
|
|
|
%if %{with test}
|
2019-09-23 15:19:22 +02:00
|
|
|
BuildRequires: %{python_module Jinja2}
|
|
|
|
BuildRequires: %{python_module Twisted}
|
|
|
|
BuildRequires: %{python_module decorator}
|
2020-04-27 12:52:01 +02:00
|
|
|
BuildRequires: %{python_module hypothesis >= 3.56}
|
2020-08-03 23:51:36 +02:00
|
|
|
# nose is really not REQUIRED, the test suite skips over particular
|
2020-08-03 23:05:07 +02:00
|
|
|
# tests, when the package is not available.
|
|
|
|
# BuildRequires: %%{python_module nose}
|
2019-09-23 15:19:22 +02:00
|
|
|
BuildRequires: %{python_module pexpect}
|
Accepting request 965098 from home:bnavigator:branches:devel:languages:python:pytest
- Update to 7.1.1
* #9767: Fixed a regression in pytest 7.1.0 where some
conftest.py files outside of the source tree (e.g. in the
[site-packages]{.title-ref} directory) were not picked up.
- python-pytest5 is gone. Remove the libalts stopgap
- Update to 7.1.0
* Big changelog for 7.x series, see
https://docs.pytest.org/en/7.1.x/changelog.html for details
- Breaking changes:
* #8838: As per our policy, the following features have been
deprecated in the 6.X series and are now removed:
+ pytest._fillfuncargs function.
+ pytest_warning_captured hook - use pytest_warning_recorded
instead.
+ -k -foobar syntax - use -k 'not foobar' instead.
+ -k foobar: syntax.
* pytest.collect module - import from pytest directly.
* #9437: Dropped support for Python 3.6, which reached
end-of-life at 2021-12-23.
* #7259: The Node.reportinfo() function first return value type
has been expanded from py.path.local | str to os.PathLike[str]
| str.
Most plugins which refer to reportinfo() only define it as part
of a custom pytest.Item implementation. Since py.path.local is
a os.PathLike[str], these plugins are unaffacted.
Plugins and users which call reportinfo(), use the first return
value and interact with it as a py.path.local, would need to
adjust by calling py.path.local(fspath). Although preferably,
avoid the legacy py.path.local and use pathlib.Path, or use
item.location or item.path, instead.
Note: pytest was not able to provide a deprecation period for
this change.
* #8246: --version now writes version information to stdout
rather than stderr.
* #8733: Drop a workaround for pyreadline that made it work with
--pdb. The workaround was introduced in #1281 in 2015, however
since then pyreadline seems to have gone unmaintained, is
generating warnings, and will stop working on Python 3.10.
* #9061: Using pytest.approx() in a boolean context now raises an
error hinting at the proper usage.
It is apparently common for users to mistakenly use
pytest.approx like this:
assert pytest.approx(actual, expected)
While the correct usage is:
assert actual == pytest.approx(expected)
The new error message helps catch those mistakes.
* #9277: The pytest.Instance collector type has been removed.
Importing pytest.Instance or _pytest.python.Instance returns a
dummy type and emits a deprecation warning. See The
pytest.Instance collector for details.
* If you have concerns about the removal of a specific feature,
please add a comment to issue #9308.
- Drop patches
* pytest-pr8664-py3.10-test_trial_error-fail.patch
* pytest-pr9173-importlib-py310.patch
* pytest-pr9417-py3.10.1-fail.patch
OBS-URL: https://build.opensuse.org/request/show/965098
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=100
2022-03-26 23:07:24 +01:00
|
|
|
BuildRequires: %{python_module numpy}
|
2019-07-09 13:32:41 +02:00
|
|
|
BuildRequires: %{python_module pygments-pytest}
|
|
|
|
BuildRequires: %{python_module pytest >= %{version}}
|
2019-09-23 15:19:22 +02:00
|
|
|
BuildRequires: %{python_module pytest-xdist}
|
|
|
|
BuildRequires: %{python_module requests}
|
2019-09-09 16:58:46 +02:00
|
|
|
BuildRequires: %{python_module xmlschema}
|
2019-09-23 15:19:22 +02:00
|
|
|
BuildRequires: lsof
|
2018-08-02 15:12:16 +02:00
|
|
|
%endif
|
2017-02-27 18:33:58 +01:00
|
|
|
%python_subpackages
|
2012-03-05 18:01:42 +01:00
|
|
|
|
|
|
|
%description
|
2020-10-29 10:38:57 +01:00
|
|
|
The pytest framework makes it easy to write small tests, yet scales to support
|
|
|
|
complex functional testing for applications and libraries.
|
2013-04-23 11:39:08 +02:00
|
|
|
|
2012-03-05 18:01:42 +01:00
|
|
|
%prep
|
2021-12-20 02:04:54 +01:00
|
|
|
%autosetup -p1 -n pytest-%{version}
|
2020-12-13 09:21:57 +01:00
|
|
|
# fix gh#pytest-dev/pytest#7891 still happening for Leap
|
|
|
|
sed -i '/^\[metadata\]/ a version = %{version}' setup.cfg
|
2022-11-29 14:20:25 +01:00
|
|
|
# Tests not failing with our current version of packages gh#pytest-dev/pytest#10042
|
|
|
|
sed -i '/pytest.mark.xfail(reason="#10042")/d' testing/test_debugging.py
|
2012-03-05 18:01:42 +01:00
|
|
|
|
|
|
|
%build
|
2017-02-27 18:33:58 +01:00
|
|
|
%python_build
|
2012-03-05 18:01:42 +01:00
|
|
|
|
|
|
|
%install
|
2019-01-07 09:53:28 +01:00
|
|
|
%if ! %{with test}
|
2017-11-02 10:24:10 +01:00
|
|
|
%python_install
|
2021-09-19 19:46:29 +02:00
|
|
|
%python_clone -a %{buildroot}%{_bindir}/pytest
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/py.test
|
2018-06-25 11:35:39 +02:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2019-01-07 09:53:28 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%check
|
|
|
|
%if %{with test}
|
2023-03-16 08:06:44 +01:00
|
|
|
# Disable broken tests with latest setuptools, gh#pytest-dev/pytest#10815
|
|
|
|
donttest="test_cmdline_python_namespace_package or test_syspath_prepend_with_namespace_packages"
|
|
|
|
%pytest -n auto -k "not ($donttest)"
|
2019-01-07 09:53:28 +01:00
|
|
|
%endif
|
2017-12-15 14:01:40 +01:00
|
|
|
|
2019-07-09 13:32:41 +02:00
|
|
|
%if ! %{with test}
|
2021-10-20 20:25:03 +02:00
|
|
|
|
|
|
|
%pre
|
|
|
|
# If libalternatives is used: Removing old update-alternatives entries.
|
|
|
|
%python_libalternatives_reset_alternative pytest
|
|
|
|
|
2013-06-25 07:42:24 +02:00
|
|
|
%post
|
2021-10-20 20:25:03 +02:00
|
|
|
%if ! %{with libalternatives}
|
2020-11-11 15:56:06 +01:00
|
|
|
# py.test was the master until Oct 2020. boo#1178547
|
|
|
|
alternatives=$(update-alternatives --quiet --list py.test 2> /dev/null) && (
|
|
|
|
update-alternatives --remove-all py.test
|
|
|
|
# reinstall group with new master for all existing flavors except ourself
|
|
|
|
for a in $alternatives; do
|
|
|
|
if [ $a != %{_bindir}/py.test-%{python_bin_suffix} ]; then
|
|
|
|
bin_suffix=${a##*-}
|
|
|
|
prio=${bin_suffix/./}
|
|
|
|
update-alternatives --quiet --install %{_bindir}/pytest pytest ${a/py.test/pytest} $prio \
|
|
|
|
--slave %{_bindir}/py.test py.test $a
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
) ||:
|
2021-10-20 20:25:03 +02:00
|
|
|
%endif
|
2020-10-29 10:38:57 +01:00
|
|
|
%python_install_alternative pytest py.test
|
2013-06-25 07:42:24 +02:00
|
|
|
|
2017-04-19 18:05:53 +02:00
|
|
|
%postun
|
2020-10-29 10:38:57 +01:00
|
|
|
%python_uninstall_alternative pytest
|
2013-06-25 07:42:24 +02:00
|
|
|
|
2017-02-27 18:33:58 +01:00
|
|
|
%files %{python_files}
|
2018-03-12 12:01:55 +01:00
|
|
|
%doc AUTHORS CHANGELOG.rst README.rst
|
|
|
|
%license LICENSE
|
2017-02-27 18:33:58 +01:00
|
|
|
%python_alternative %{_bindir}/pytest
|
2020-10-29 10:38:57 +01:00
|
|
|
%python_alternative %{_bindir}/py.test
|
2022-11-29 14:20:25 +01:00
|
|
|
%pycache_only %{python_sitelib}/__pycache__/*.pyc
|
2020-10-29 10:38:57 +01:00
|
|
|
%{python_sitelib}/_pytest
|
2022-11-29 14:20:25 +01:00
|
|
|
%{python_sitelib}/py.py
|
2020-10-29 10:38:57 +01:00
|
|
|
%{python_sitelib}/pytest
|
|
|
|
%{python_sitelib}/pytest-%{version}*-info
|
2019-01-07 09:53:28 +01:00
|
|
|
%endif
|
|
|
|
|
2012-03-05 18:01:42 +01:00
|
|
|
%changelog
|