2024-02-08 23:41:03 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-05 16:30:55 +01:00
|
|
|
Name: python-pytest
|
2024-04-28 14:30:01 +02:00
|
|
|
Version: 8.2.0
|
2024-01-05 16:30:58 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 16:30:55 +01:00
|
|
|
Summary: The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://docs.pytest.org/en/latest/
|
|
|
|
Source: https://pypi.debian.net/pytest/pytest-%{version}.tar.gz
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:30:57 +01:00
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(iniconfig)
|
|
|
|
BuildRequires: python3.11dist(packaging)
|
|
|
|
BuildRequires: python3.11dist(pluggy)
|
2024-01-05 16:30:55 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:30:57 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-05 16:30:55 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pytest-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-02-08 23:41:03 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-05 16:30:55 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-02-08 23:41:03 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-05 16:30:55 +01:00
|
|
|
|
2024-01-05 16:30:56 +01:00
|
|
|
%if "%{?with_pyver}" != "3"
|
|
|
|
# Rename any conflicting file outside of python site packages tree
|
2024-02-08 23:41:03 +01:00
|
|
|
for f in %{_bindir}/{py.test,pytest}; do
|
2024-01-05 16:30:56 +01:00
|
|
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
done
|
|
|
|
%endif
|
|
|
|
|
2024-02-08 23:41:03 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-05 16:30:55 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:30:56 +01:00
|
|
|
%{_bindir}/py.test*
|
|
|
|
%{_bindir}/pytest*
|
2024-02-08 23:41:03 +01:00
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
|
|
%{python_sitelib}/%{pkgname}/*
|
|
|
|
%dir %{python_sitelib}/_%{pkgname}
|
|
|
|
%{python_sitelib}/_%{pkgname}/*
|
|
|
|
%{python_sitelib}/__pycache__/py.cpython*.pyc
|
|
|
|
%{python_sitelib}/__pycache__/py.cpython*.pyc
|
|
|
|
%{python_sitelib}/py.py
|
2024-01-05 16:30:55 +01:00
|
|
|
%doc AUTHORS LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-04-28 14:30:01 +02:00
|
|
|
* Sun Apr 28 2024 Automatic Build System <autodist@openmamba.org> 8.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-27 20:33:26 +02:00
|
|
|
* Sat Apr 27 2024 Automatic Build System <autodist@openmamba.org> 8.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-10 21:22:59 +01:00
|
|
|
* Sun Mar 10 2024 Automatic Build System <autodist@openmamba.org> 8.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-04 11:44:05 +01:00
|
|
|
* Mon Mar 04 2024 Automatic Build System <autodist@openmamba.org> 8.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-27 10:18:45 +01:00
|
|
|
* Mon Feb 26 2024 Automatic Build System <autodist@openmamba.org> 8.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-17 21:44:46 +01:00
|
|
|
* Sat Feb 17 2024 Automatic Build System <autodist@openmamba.org> 8.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-08 23:41:03 +01:00
|
|
|
* Thu Feb 08 2024 Automatic Build System <autodist@openmamba.org> 8.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:58 +01:00
|
|
|
* Sun Dec 31 2023 Automatic Build System <autodist@mambasoft.it> 7.4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:58 +01:00
|
|
|
* Wed Oct 25 2023 Automatic Build System <autodist@mambasoft.it> 7.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:57 +01:00
|
|
|
* Wed Sep 27 2023 Automatic Build System <autodist@mambasoft.it> 7.4.2-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-05 16:30:57 +01:00
|
|
|
* Fri Sep 08 2023 Automatic Build System <autodist@mambasoft.it> 7.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:57 +01:00
|
|
|
* Sun Sep 03 2023 Automatic Build System <autodist@mambasoft.it> 7.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:56 +01:00
|
|
|
* Thu Aug 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 7.4.0-2mamba
|
|
|
|
- bump release to fix 7.2.2-2mamba changes elision
|
|
|
|
|
|
|
|
* Thu Aug 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 7.4.0-1mamba
|
|
|
|
- update to 7.4.0
|
|
|
|
|
|
|
|
* Tue Aug 15 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 7.2.2-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-05 16:30:56 +01:00
|
|
|
* Sat Mar 04 2023 Automatic Build System <autodist@mambasoft.it> 7.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:56 +01:00
|
|
|
* Sun Jan 15 2023 Automatic Build System <autodist@mambasoft.it> 7.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:55 +01:00
|
|
|
* Tue Oct 25 2022 Automatic Build System <autodist@mambasoft.it> 7.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:55 +01:00
|
|
|
* Fri Sep 02 2022 Automatic Build System <autodist@mambasoft.it> 7.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:55 +01:00
|
|
|
* Sun Apr 24 2022 Automatic Build System <autodist@mambasoft.it> 7.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:55 +01:00
|
|
|
* Fri Mar 18 2022 Automatic Build System <autodist@mambasoft.it> 7.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:55 +01:00
|
|
|
* Sun Mar 13 2022 Automatic Build System <autodist@mambasoft.it> 7.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:55 +01:00
|
|
|
* Sat Feb 12 2022 Automatic Build System <autodist@mambasoft.it> 7.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:55 +01:00
|
|
|
* Sat Feb 05 2022 Automatic Build System <autodist@mambasoft.it> 7.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:55 +01:00
|
|
|
* Tue Aug 31 2021 Automatic Build System <autodist@mambasoft.it> 6.2.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:55 +01:00
|
|
|
* Wed May 05 2021 Automatic Build System <autodist@mambasoft.it> 6.2.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:55 +01:00
|
|
|
* Sun Apr 04 2021 Automatic Build System <autodist@mambasoft.it> 6.2.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:30:55 +01:00
|
|
|
* Wed Mar 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.2-1mamba
|
|
|
|
- package created using the webbuild interface
|