package init
This commit is contained in:
parent
679be69f47
commit
3b57a8be35
BIN
pytest-runner-4.0.tar.gz
Normal file
BIN
pytest-runner-4.0.tar.gz
Normal file
Binary file not shown.
59
python-pytest-runner.spec
Normal file
59
python-pytest-runner.spec
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user