automatic version update by autodist [release 8.0.0-1mamba;Thu Feb 08 2024]

This commit is contained in:
Automatic Build System 2024-02-08 23:41:03 +01:00
parent d0e5a2c11e
commit bf98c6ff15

View File

@ -1,5 +1,6 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-pytest Name: python-pytest
Version: 7.4.4 Version: 8.0.0
Release: 1mamba Release: 1mamba
Summary: The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries 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 Group: System/Libraries
@ -14,7 +15,6 @@ BuildRequires: libpython311-devel
BuildRequires: python3.11dist(iniconfig) BuildRequires: python3.11dist(iniconfig)
BuildRequires: python3.11dist(packaging) BuildRequires: python3.11dist(packaging)
BuildRequires: python3.11dist(pluggy) BuildRequires: python3.11dist(pluggy)
BuildRequires: python3.11dist(setuptools)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba BuildRequires: python3-devel >= 3.11.5-3mamba
@ -29,37 +29,38 @@ BuildRequires: python3-devel >= 3.11.5-3mamba
%setup -q -n pytest-%{version} %setup -q -n pytest-%{version}
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python} -m installer --destdir=%{buildroot} dist/*.whl
-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
%if "%{?with_pyver}" != "3" %if "%{?with_pyver}" != "3"
# Rename any conflicting file outside of python site packages tree # Rename any conflicting file outside of python site packages tree
for f in %{_bindir}/{pytest,py.test}; do for f in %{_bindir}/{py.test,pytest}; do
mv %{buildroot}${f}{,-%{?pyappend}} mv %{buildroot}${f}{,-%{?pyappend}}
done done
sed -i "\,%{_bindir}/pytest,d" %{name}.filelist
sed -i "\,%{_bindir}/py.test,d" %{name}.filelist
%endif %endif
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend}
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/py.test* %{_bindir}/py.test*
%{_bindir}/pytest* %{_bindir}/pytest*
%dir %{python_sitearch}/pytest-%{version}-py*.egg-info %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitearch}/pytest-%{version}-py*.egg-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
%doc AUTHORS LICENSE %doc AUTHORS LICENSE
%changelog %changelog
* Thu Feb 08 2024 Automatic Build System <autodist@openmamba.org> 8.0.0-1mamba
- automatic version update by autodist
* Sun Dec 31 2023 Automatic Build System <autodist@mambasoft.it> 7.4.4-1mamba * Sun Dec 31 2023 Automatic Build System <autodist@mambasoft.it> 7.4.4-1mamba
- automatic version update by autodist - automatic version update by autodist