2024-01-05 16:30:55 +01:00
|
|
|
Name: python-pytest
|
2024-01-05 16:30:57 +01:00
|
|
|
Version: 7.4.2
|
2024-01-05 16:30:57 +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
|
|
|
|
BuildRequires: libpython3-devel
|
2024-01-05 16:30:55 +01:00
|
|
|
BuildRequires: python3.7dist(exceptiongroup)
|
2024-01-05 16:30:55 +01:00
|
|
|
BuildRequires: python3.7dist(importlib-metadata)
|
|
|
|
BuildRequires: python3.7dist(iniconfig)
|
|
|
|
BuildRequires: python3.7dist(packaging)
|
|
|
|
BuildRequires: python3.7dist(pluggy)
|
|
|
|
BuildRequires: python3.7dist(setuptools)
|
2024-01-05 16:30:55 +01:00
|
|
|
BuildRequires: python3.7dist(tomli)
|
2024-01-05 16:30:55 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pytest-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{python_inc} \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
|
2024-01-05 16:30:56 +01:00
|
|
|
%if "%{?with_pyver}" != "3"
|
|
|
|
# Rename any conflicting file outside of python site packages tree
|
|
|
|
for f in %{_bindir}/{pytest,py.test}; do
|
|
|
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
done
|
|
|
|
sed -i "\,%{_bindir}/pytest,d" %{name}.filelist
|
|
|
|
sed -i "\,%{_bindir}/py.test,d" %{name}.filelist
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:30:55 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:30:56 +01:00
|
|
|
%{_bindir}/py.test*
|
|
|
|
%{_bindir}/pytest*
|
2024-01-05 16:30:55 +01:00
|
|
|
%dir %{python_sitearch}/pytest-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/pytest-%{version}-py*.egg-info/*
|
|
|
|
%doc AUTHORS LICENSE
|
|
|
|
|
|
|
|
%changelog
|
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
|