python-pytest/python-pytest.spec

72 lines
2.2 KiB
RPMSpec

Name: python-pytest
Version: 7.0.1
Release: 1mamba
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
BuildRequires: python3.7dist(attrs)
BuildRequires: python3.7dist(importlib-metadata)
BuildRequires: python3.7dist(iniconfig)
BuildRequires: python3.7dist(packaging)
BuildRequires: python3.7dist(pluggy)
BuildRequires: python3.7dist(py)
BuildRequires: python3.7dist(setuptools)
BuildRequires: python3.7dist(tomli)
## 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
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/pytest-%{version}-py*.egg-info
%{python_sitearch}/pytest-%{version}-py*.egg-info/*
%doc AUTHORS LICENSE
%changelog
* Sat Feb 12 2022 Automatic Build System <autodist@mambasoft.it> 7.0.1-1mamba
- automatic version update by autodist
* Sat Feb 05 2022 Automatic Build System <autodist@mambasoft.it> 7.0.0-1mamba
- automatic version update by autodist
* Tue Aug 31 2021 Automatic Build System <autodist@mambasoft.it> 6.2.5-1mamba
- automatic version update by autodist
* Wed May 05 2021 Automatic Build System <autodist@mambasoft.it> 6.2.4-1mamba
- automatic version update by autodist
* Sun Apr 04 2021 Automatic Build System <autodist@mambasoft.it> 6.2.3-1mamba
- automatic version update by autodist
* Wed Mar 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.2-1mamba
- package created using the webbuild interface