python-pytest_cov 2.10.1-2 (aarch64;znver1;x86_64) 2021-13466
9999
Status | published | ||||||
Submitter | itchka [@T] compuserve.com | ||||||
Platform | rolling | ||||||
Repository | main | ||||||
URL | https://abf.openmandriva.org/build_lists/941903 | ||||||
Packages |
|
||||||
Build Date | 2021-01-11 08:11:53 +0000 UTC | ||||||
Last Updated | 2021-01-18 21:53:46.792302129 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary b0772fbfd26c3e927252951be9fb9177102cd431 commit b0772fbfd26c3e927252951be9fb9177102cd431 Author: Colin <itchka@compuserve.com> AuthorDate: Mon Jan 11 07:38:56 2021 +0000 Commit: Colin <itchka@compuserve.com> CommitDate: Mon Jan 11 07:38:56 2021 +0000 Bump --- python-pytest_cov.spec | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/python-pytest_cov.spec b/python-pytest_cov.spec index 9106b2a..9afa1d2 100644 --- a/python-pytest_cov.spec +++ b/python-pytest_cov.spec @@ -1,11 +1,12 @@ # Created by pyp2rpm-2.0.0 -%global pypi_name pytest-cov +%global pypi_name pytest_cov +%global alt_name pytest-cov %global with_python2 0 %define version 2.6.1 -Name: python-%{pypi_name} +Name: python-%{alt_name} Version: 2.10.1 -Release: 1 +Release: 2 Group: Development/Python Summary: This plugin produces coverage reports. @@ -20,7 +21,8 @@ BuildRequires: python-setuptools %if %{with_python2} BuildRequires: python2-devel BuildRequires: python2-setuptools -%endif # if with_python2 +%endif +# if with_python2 %description @@ -32,17 +34,19 @@ Summary: This plugin produces coverage reports. %description -n python2-%{pypi_name} This plugin produces coverage reports. Compared to just using coverage run this plugin does some extras: -%endif # with_python2 +%endif +# with_python2 %prep -%setup -q -n %{pypi_name}-%{version} +%setup -q -n %{alt_name}-%{version} %if %{with_python2} rm -rf %{py2dir} cp -a . %{py2dir} find %{py2dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python2}|' -%endif # with_python2 +%endif +# with_python2 %build @@ -52,7 +56,8 @@ find %{py2dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python2}|' pushd %{py2dir} %{__python2} setup.py build popd -%endif # with_python2 +%endif +# with_python2 %install @@ -61,21 +66,25 @@ popd pushd %{py2dir} %{__python2} setup.py install --skip-build --root %{buildroot} popd -%endif # with_python2 +%endif +# with_python2 %{__python} setup.py install --skip-build --root %{buildroot} %files %doc README.rst LICENSE CHANGELOG.rst -%{python_sitelib}/*/* -%{python_sitelib}/pytest-cov.pth +%{python3_sitelib}/%{pypi_name}/ +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info +%{python3_sitelib}/pytest-cov.pth %if %{with_python2} %files -n python2-%{pypi_name} %doc README.rst LICENSE CHANGELOG.rst -%{python2_sitelib}/*/* +%{python2_sitelib}/{pypi_name}/ +%{python2_sitelib}/%{pypi_name}-%{version}-py%{python2_version}.egg-info/ %{python2_sitelib}/pytest-cov.pth -%endif # with_python2 +%endif +# with_python2
Not Available
benbullard79 [@T] cox.net | No Comment. | 1186d 21hrs |
benbullard79 [@T] cox.net | No Comment. | 1186d 21hrs |