diff --git a/pytest-6.2.5.tar.gz b/pytest-6.2.5.tar.gz deleted file mode 100644 index de9655bf0577428955b00eb5b15bb7053db48ba5..0000000000000000000000000000000000000000 Binary files a/pytest-6.2.5.tar.gz and /dev/null differ diff --git a/pytest-7.3.1.tar.gz b/pytest-7.3.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2c988038a28988575e51c45285fee3739e59a867 Binary files /dev/null and b/pytest-7.3.1.tar.gz differ diff --git a/pytest.spec b/pytest.spec index 7294fa41f4ef1920d080066af6da004d69050e80..c59a1ece2f55a8cc96b8c9c0b4d800f9cc7d42b0 100644 --- a/pytest.spec +++ b/pytest.spec @@ -1,10 +1,10 @@ Name: pytest -Version: 6.2.5 +Version: 7.3.1 Release: 1 Summary: Simple powerful testing with Python License: MIT URL: https://pytest.org -Source0: https://files.pythonhosted.org/packages/4b/24/7d1f2d2537de114bdf1e6875115113ca80091520948d370c964b88070af2/pytest-6.2.5.tar.gz +Source0: https://files.pythonhosted.org/packages/ec/d9/36b65598f3d19d0a14d13dc87ad5fa42869ae53bb7471f619a30eaabc4bf/pytest-7.3.1.tar.gz %bcond_with tests %bcond_with optional_tests @@ -20,7 +20,7 @@ BuildRequires: python3-packaging BuildRequires: python3-pluggy >= 0.12 BuildRequires: python3-py >= 1.5.0 BuildRequires: python3-wcwidth - +Requires: python3-tomli %if %{with tests} BuildRequires: python3-hypothesis BuildRequires: python3-xmlschema @@ -40,17 +40,11 @@ BuildRequires: python3-pytest-timeout %endif %endif -%if %{with docs} -BuildRequires: %{_bindir}/rst2html -BuildRequires: make -%endif - BuildArch: noarch %description py.test provides simple, yet powerful testing for Python. - %package -n python3-%{name} Summary: Simple powerful testing with Python %{?python_provide:%python_provide python3-%{name}} @@ -62,6 +56,7 @@ py.test provides simple, yet powerful testing for Python. %package help Summary: Help documents for pytest + %description help Help documents for pytest. @@ -71,12 +66,6 @@ Help documents for pytest. %build %py3_build -%if %{with docs} -for f in README CHANGELOG CONTRIBUTING ; do - rst2html ${f}.rst > ${f}.html -done -%endif - %install %py3_install mv %{buildroot}%{_bindir}/pytest %{buildroot}%{_bindir}/pytest-%{python3_version} @@ -87,10 +76,6 @@ ln -snf py.test-%{python3_version} %{buildroot}%{_bindir}/py.test-3 ln -snf pytest-%{python3_version} %{buildroot}%{_bindir}/pytest ln -snf py.test-%{python3_version} %{buildroot}%{_bindir}/py.test -%if %{with docs} - mkdir -p _htmldocs/html -%endif - find %{buildroot}%{python3_sitelib} \ -name '*.py' \ -exec sed -i -e '1{/^#!/d}' {} \; @@ -117,27 +102,10 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ %{python3_sitelib}/pytest-*.egg-info/ %{python3_sitelib}/_pytest/ %{python3_sitelib}/pytest/ - -%files help -%doc CHANGELOG.html README.html CONTRIBUTING.html _htmldocs/html +%{python3_sitelib}/__pycache__/py.cpython-310.opt-1.pyc +%{python3_sitelib}/__pycache__/py.cpython-310.pyc +%{python3_sitelib}/py.py %changelog -* Mon Dec 13 2021 shixuantong - 6.2.5-1 -- update version to 6.2.5 - -* Wed Aug 18 2021 huangtianhua - 6.2.2-2 -- Add python3-toml as BuildRequires to fix python dist version error - -* Mon Jul 19 2021 OpenStack_SIG - 6.2.2-1 -- update to 6.2.2 - -* Mon Jan 11 2021 wutao - 5.4.3-1 -- Update to 5.4.3 - -* Mon Nov 2 2020 wutao - 3.6.4-4 -- disable python2 - -* Tue Dec 10 2019 mengxian - 3.6.4-2 -- Package init - - +* Thu Jun 8 2023 li-miaomiao_zhr - 7.3.1-1 +- Upgrade package pytest to version 7.3.1