1
0

Accepting request 717597 from devel:languages:python

- Update to 2.9.2:
  * Small fixes in metadata

OBS-URL: https://build.opensuse.org/request/show/717597
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-coveralls?expand=0&rev=3
This commit is contained in:
2019-07-22 15:20:16 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:736dda01f64beda240e1500d5f264b969495b05fcb325c7c0eb7ebbfd1210b70
size 7825

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38a8c55849308b136f9b831e7ac972f9b6d0068d0087cd75dc147ac6a0e8e360
size 9022

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 22 13:22:16 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.9.2:
* Small fixes in metadata
-------------------------------------------------------------------
Tue Dec 4 12:52:59 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -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}