From 29cd25bc8fa884cebd0236798f578b59acca45f80ade0d682134df4ef6e95339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 22 Jul 2019 13:22:32 +0000 Subject: [PATCH] - 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 --- python-coveralls-2.9.1.tar.gz | 3 --- python-coveralls-2.9.2.tar.gz | 3 +++ python-python-coveralls.changes | 6 ++++++ python-python-coveralls.spec | 29 ++++++++++++++--------------- 4 files changed, 23 insertions(+), 18 deletions(-) delete mode 100644 python-coveralls-2.9.1.tar.gz create mode 100644 python-coveralls-2.9.2.tar.gz diff --git a/python-coveralls-2.9.1.tar.gz b/python-coveralls-2.9.1.tar.gz deleted file mode 100644 index bc24895..0000000 --- a/python-coveralls-2.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:736dda01f64beda240e1500d5f264b969495b05fcb325c7c0eb7ebbfd1210b70 -size 7825 diff --git a/python-coveralls-2.9.2.tar.gz b/python-coveralls-2.9.2.tar.gz new file mode 100644 index 0000000..523cceb --- /dev/null +++ b/python-coveralls-2.9.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38a8c55849308b136f9b831e7ac972f9b6d0068d0087cd75dc147ac6a0e8e360 +size 9022 diff --git a/python-python-coveralls.changes b/python-python-coveralls.changes index 57e1c38..be91f7e 100644 --- a/python-python-coveralls.changes +++ b/python-python-coveralls.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 13:22:16 UTC 2019 - Tomáš Chvátal + +- Update to 2.9.2: + * Small fixes in metadata + ------------------------------------------------------------------- Tue Dec 4 12:52:59 UTC 2018 - Matej Cepl diff --git a/python-python-coveralls.spec b/python-python-coveralls.spec index e821c7f..e670b45 100644 --- a/python-python-coveralls.spec +++ b/python-python-coveralls.spec @@ -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}