46 lines
1.2 KiB
RPMSpec
46 lines
1.2 KiB
RPMSpec
Name: python-pytest-runner
|
|
Version: 4.0
|
|
Release: 6
|
|
Summary: Provide setup.py test support for pytest runner
|
|
License: MIT
|
|
URL: https://pypi.python.org/pypi/pytest-runner
|
|
Source0: https://files.pythonhosted.org/packages/source/p/pytest-runner/pytest-runner-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Setup scripts can use pytest-runner to add setup.py test support
|
|
for pytest runner.
|
|
|
|
%package -n python3-pytest-runner
|
|
Summary: Provide setup.py test support for pytest runner
|
|
%{?python_provide:%python_provide python3-pytest-runner}
|
|
Requires: python3-pytest
|
|
BuildRequires: python3-devel python3-setuptools python3-setuptools_scm python3-pytest
|
|
|
|
%description -n python3-pytest-runner
|
|
Setup scripts can use pytest-runner to add setup.py test support
|
|
for pytest runner.
|
|
|
|
%prep
|
|
%autosetup -n pytest-runner-%{version} -p1
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%check
|
|
%{__python3} setup.py test
|
|
|
|
%files -n python3-pytest-runner
|
|
%doc README.rst LICENSE
|
|
%{python3_sitelib}/*
|
|
|
|
%changelog
|
|
* Fri Sep 11 2020 wangyue<wangyue92@huawei.com> - 4.0-6
|
|
- Remove python2-pytest-runner
|
|
|
|
* Thu Mar 12 2020 likexin <likexin4@huawei.com> - 4.0-5
|
|
- package init
|