python-pytest-runner/python-pytest-runner.spec
2022-10-20 09:33:33 +08:00

55 lines
1.3 KiB
RPMSpec

Name: python-pytest-runner
Version: 6.0.0
Release: 1
Summary: Provide setup.py test support for pytest runner
License: MIT
URL: https://github.com/pytest-dev/pytest-runner/
Source0: https://files.pythonhosted.org/packages/2b/b2/5a07a37f314d3c0457c5431fd5b130e04355fa143f042356f77dd1570d36/pytest-runner-6.0.0.tar.gz
Patch0: 0001-add-setup.py.patch
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
Provides: python-pytest-runner
Requires: python3-pytest
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%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}
%patch0
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-pytest-runner
%doc README.rst LICENSE
%{python3_sitelib}/*
%changelog
* Wed Oct 19 2022 wangjunqi <wangjunqi@kylinos.cn> - 6.0.0-1
- Update package to version 6.0.0
* Wed Jun 29 2022 caodongxia <caodongxia@h-partners.com> - 5.3.2-1
- Update to 5.3.2
* 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