package created using the webbuild interface [release 6.2.2-1mamba;Wed Mar 31 2021]
This commit is contained in:
parent
99621b9ffd
commit
f2416aa5da
@ -1,2 +1,4 @@
|
||||
# python-pytest
|
||||
|
||||
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries.
|
||||
|
||||
|
56
python-pytest.spec
Normal file
56
python-pytest.spec
Normal file
@ -0,0 +1,56 @@
|
||||
Name: python-pytest
|
||||
Version: 6.2.2
|
||||
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
|
||||
#(python3.7dist(pluggy): unidentified build requirement
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python-attrs-py3
|
||||
BuildRequires: python-importlib_metadata-py3
|
||||
BuildRequires: python-iniconfig-py3
|
||||
BuildRequires: python-packaging-py3
|
||||
BuildRequires: python-py-py3
|
||||
BuildRequires: python-setuptools-py3
|
||||
BuildRequires: python-toml-py3
|
||||
## 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
|
||||
* Wed Mar 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.2-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user