forked from pool/python-python-coveralls
- Update to 2.9.2:
* Small fixes in metadata OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-coveralls?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
cf61e3a124
commit
29cd25bc8f
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-coveralls
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,19 +18,27 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-python-coveralls
|
||||
Version: 2.9.1
|
||||
Version: 2.9.2
|
||||
Release: 0
|
||||
Summary: Python interface to coveralls io API
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/z4r/python-coveralls
|
||||
URL: https://github.com/z4r/python-coveralls
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-coveralls/python-coveralls-%{version}.tar.gz
|
||||
Source1: python-coveralls-example.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: git
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-PyYAML
|
||||
Requires: python-coverage >= 4.4
|
||||
Requires: python-requests
|
||||
Requires: python-six
|
||||
Conflicts: python-coveralls
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module coverage >= 4.0.3}
|
||||
BuildRequires: %{python_module coverage >= 4.4}
|
||||
BuildRequires: %{python_module httpretty}
|
||||
BuildRequires: %{python_module pycodestyle}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
@@ -39,15 +47,6 @@ BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module six}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: git
|
||||
Requires: python-PyYAML
|
||||
Requires: python-coverage >= 4.0.3
|
||||
Requires: python-requests
|
||||
Requires: python-six
|
||||
Conflicts: python-coveralls
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -57,7 +56,7 @@ This package provides a module to interface with the https://coveralls.io API.
|
||||
%prep
|
||||
%setup -q -n python-coveralls-%{version}
|
||||
sed -i 's|coverage==4.0.3|coverage>=4.0.3|' setup.py
|
||||
tar -xvzf %{S:1}
|
||||
tar -xvzf %{SOURCE1}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -68,7 +67,7 @@ tar -xvzf %{S:1}
|
||||
|
||||
%check
|
||||
pushd python-coveralls-example
|
||||
%python_expand py.test example/tests.py --cov=example
|
||||
%pytest example/tests.py --cov=example
|
||||
popd
|
||||
|
||||
%files %{python_files}
|
||||
|
||||
Reference in New Issue
Block a user