Remove python2-pytest-virtualenv
This commit is contained in:
parent
84ec3e33d8
commit
bc72e3d89f
@ -1,36 +1,26 @@
|
|||||||
%global with_tests 0%{?_with_tests:1}
|
%global with_tests 0%{?_with_tests:1}
|
||||||
Name: python-pytest-virtualenv
|
Name: python-pytest-virtualenv
|
||||||
Version: 1.2.11
|
Version: 1.2.11
|
||||||
Release: 11
|
Release: 12
|
||||||
Summary: Virtualenv fixture for py.test
|
Summary: Virtualenv fixture for py.test
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pypi.python.org/pypi/pytest-virtualenv
|
URL: https://pypi.python.org/pypi/pytest-virtualenv
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/pytest-virtualenv/pytest-virtualenv-1.2.11.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/pytest-virtualenv/pytest-virtualenv-1.2.11.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel python3-devel python2-pytest python3-pytest
|
BuildRequires: python3-devel python3-pytest
|
||||||
BuildRequires: python2-six python3-six python2-setuptools_git python3-setuptools_git
|
BuildRequires: python3-six python3-setuptools_git
|
||||||
%if %{with_tests}
|
%if %{with_tests}
|
||||||
BuildRequires: python2-pytest-shutil python3-pytest-shutil
|
BuildRequires: python3-pytest-shutil
|
||||||
BuildRequires: python2-pytest-fixture-config python3-pytest-fixture-config python2-path python3-path
|
BuildRequires: python3-pytest-fixture-config python3-path
|
||||||
BuildRequires: python2-execnet python3-execnet python2-mock python3-mock python2-contextlib2
|
BuildRequires: python3-execnet python3-mock
|
||||||
BuildRequires: python3-contextlib2 python2-virtualenv python3-virtualenv
|
BuildRequires: python3-contextlib2 python3-virtualenv
|
||||||
%endif
|
%endif
|
||||||
Patch0: https://github.com/manahl/pytest-plugins/pull/91.patch
|
Patch0: 91.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Create a Python virtual environment in your test that cleans up on teardown.
|
Create a Python virtual environment in your test that cleans up on teardown.
|
||||||
The fixture has utility methods to install packages and list what's installed.
|
The fixture has utility methods to install packages and list what's installed.
|
||||||
|
|
||||||
%package -n python2-pytest-virtualenv
|
|
||||||
Summary: Virtualenv fixture for py.test
|
|
||||||
%python_provide python2-pytest-virtualenv
|
|
||||||
Requires: python2-pytest python2-pytest-shutil python2-pytest-fixture-config
|
|
||||||
Requires: python2-path python2-execnet python2-contextlib2 python2-virtualenv
|
|
||||||
|
|
||||||
%description -n python2-pytest-virtualenv
|
|
||||||
Create a Python virtual environment in your test that cleans up on teardown.
|
|
||||||
The fixture has utility methods to install packages and list what's installed.
|
|
||||||
|
|
||||||
%package -n python3-pytest-virtualenv
|
%package -n python3-pytest-virtualenv
|
||||||
Summary: Virtualenv fixture for py.test
|
Summary: Virtualenv fixture for py.test
|
||||||
%python_provide python3-pytest-virtualenv
|
%python_provide python3-pytest-virtualenv
|
||||||
@ -45,28 +35,24 @@ The fixture has utility methods to install packages and list what's installed.
|
|||||||
%autosetup -n pytest-virtualenv-%{version}
|
%autosetup -n pytest-virtualenv-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%if %{with_tests}
|
%if %{with_tests}
|
||||||
%check
|
%check
|
||||||
%{__python2} setup.py test
|
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n python2-pytest-virtualenv
|
|
||||||
%doc README.md CHANGES.md
|
|
||||||
%{python2_sitelib}/*
|
|
||||||
|
|
||||||
%files -n python3-pytest-virtualenv
|
%files -n python3-pytest-virtualenv
|
||||||
%doc README.md CHANGES.md
|
%doc README.md CHANGES.md
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri 11 Sep 2020 wangyue<wangyue92@huawei.com> - 1.2.11-12
|
||||||
|
- Remove python2-pytest-virtualenv
|
||||||
|
|
||||||
* Mon Jan 13 2020 Senlin Xia<xiasenlin1@huawei.com> - 1.2.11-11
|
* Mon Jan 13 2020 Senlin Xia<xiasenlin1@huawei.com> - 1.2.11-11
|
||||||
- Modify %prep
|
- Modify %prep
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user