!1 package init

Merge pull request !1 from sherlock2010/master
This commit is contained in:
openeuler-ci-bot 2020-03-06 22:11:11 +08:00 committed by Gitee
commit b1f1f135fb
2 changed files with 60 additions and 0 deletions

BIN
pytest-shutil-1.2.6.tar.gz Normal file

Binary file not shown.

60
python-pytest-shutil.spec Normal file
View File

@ -0,0 +1,60 @@
Name: python-pytest-shutil
Version: 1.2.6
Release: 6
Summary: A goodie-bag of unix shell and environment tools for py.test
License: MIT
URL: https://pypi.python.org/pypi/pytest-shutil
Source0: https://files.pythonhosted.org/packages/source/p/pytest-shutil/pytest-shutil-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-contextlib2 python2-devel python2-execnet python2-mock
BuildRequires: python2-path python2-pytest python2-setuptools-git python2-six
BuildRequires: python3-contextlib2 python3-devel python3-execnet python3-mock
BuildRequires: python3-path python3-pytest python3-setuptools_git python3-six
%description
This library is a goodie-bag of Unix shell and environment management tools for automated tests.
%package -n python2-pytest-shutil
Summary: A goodie-bag of unix shell and environment tools for py.test
%{?python_provide:%python_provide python2-pytest-shutil}
Requires: python2-pytest
%description -n python2-pytest-shutil
This library is a goodie-bag of Unix shell and environment management tools for automated tests.
%package -n python3-pytest-shutil
Summary: A goodie-bag of unix shell and environment tools for py.test
%{?python_provide:%python_provide python3-pytest-shutil}
Requires: python3-pytest
%description -n python3-pytest-shutil
This library is a goodie-bag of Unix shell and environment management tools for automated tests.
%prep
%autosetup -n pytest-shutil-%{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-shutil
%doc README.md CHANGES.md
%{python2_sitelib}/*
%files -n python3-pytest-shutil
%doc README.md CHANGES.md
%{python3_sitelib}/*
%changelog
* Wed Mar 4 2020 zhouyihang<zhouyihang1@huawei.com> - 1.2.6-6
- Pakcage init