!1 Package init

Merge pull request !1 from lkx690/master
This commit is contained in:
openeuler-ci-bot 2020-03-14 17:57:18 +08:00 committed by Gitee
commit e4b3aba15c
2 changed files with 59 additions and 0 deletions

BIN
pytest-runner-4.0.tar.gz Normal file

Binary file not shown.

59
python-pytest-runner.spec Normal file
View File

@ -0,0 +1,59 @@
Name: python-pytest-runner
Version: 4.0
Release: 4
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 python2-pytest-runner
Summary: Provide setup.py test support for pytest runner
%{?python_provide:%python_provide python2-pytest-runner}
Requires: python2-pytest
BuildRequires: python2-devel python2-setuptools python2-setuptools_scm python2-pytest
%description -n python2-pytest-runner
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
%py2_build
%py3_build
%install
%py2_install
%py3_install
%check
%{__python2} setup.py test
%{__python3} setup.py test
%files -n python2-pytest-runner
%doc README.rst LICENSE
%{python2_sitelib}/*
%files -n python3-pytest-runner
%doc README.rst LICENSE
%{python3_sitelib}/*
%changelog
* Thu Mar 12 2020 likexin <likexin4@huawei.com> - 4.0-5
- package init