From 2a13a81fa6ed9b79fc160dfa2cdf5a3b8f5fc18eb6f7f527f7c026ca70efbadb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 9 Mar 2020 15:00:43 +0000 Subject: [PATCH] Accepting request 782993 from home:mcalabkova:branches:devel:languages:python - Update to 3.0.0 * Require Python 3.6 or later. OBS-URL: https://build.opensuse.org/request/show/782993 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.logging?expand=0&rev=5 --- jaraco.logging-2.0.tar.gz | 3 --- jaraco.logging-3.0.0.tar.gz | 3 +++ python-jaraco.logging.changes | 6 ++++++ python-jaraco.logging.spec | 15 ++++++--------- 4 files changed, 15 insertions(+), 12 deletions(-) delete mode 100644 jaraco.logging-2.0.tar.gz create mode 100644 jaraco.logging-3.0.0.tar.gz diff --git a/jaraco.logging-2.0.tar.gz b/jaraco.logging-2.0.tar.gz deleted file mode 100644 index 09dca44..0000000 --- a/jaraco.logging-2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8f7dbf01b75e4d9bac479312b66a94c80d0a6d28db453f397e30687ca42168d1 -size 10356 diff --git a/jaraco.logging-3.0.0.tar.gz b/jaraco.logging-3.0.0.tar.gz new file mode 100644 index 0000000..ac9c82e --- /dev/null +++ b/jaraco.logging-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31716fe84d3d5df39d95572942513bd4bf8ae0a478f64031eff4c2ea9e83434e +size 10739 diff --git a/python-jaraco.logging.changes b/python-jaraco.logging.changes index 66a6bb0..06aae55 100644 --- a/python-jaraco.logging.changes +++ b/python-jaraco.logging.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 9 14:19:58 UTC 2020 - Marketa Calabkova + +- Update to 3.0.0 + * Require Python 3.6 or later. + ------------------------------------------------------------------- Tue Feb 26 07:01:40 UTC 2019 - John Vandenberg diff --git a/python-jaraco.logging.spec b/python-jaraco.logging.spec index 9877ce8..757bbc1 100644 --- a/python-jaraco.logging.spec +++ b/python-jaraco.logging.spec @@ -1,7 +1,7 @@ # # spec file for package python-jaraco.logging # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,27 +17,25 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-jaraco.logging -Version: 2.0 +Version: 3.0.0 Release: 0 Summary: Tools to work with logging License: MIT Group: Development/Languages/Python -Url: https://github.com/jaraco/jaraco.logging +URL: https://github.com/jaraco/jaraco.logging Source0: https://files.pythonhosted.org/packages/source/j/jaraco.logging/jaraco.logging-%{version}.tar.gz BuildRequires: %{python_module jaraco.base >= 6.1} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} BuildRequires: %{python_module tempora} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-jaraco.base >= 6.1 -Requires: python-six Requires: python-tempora BuildArch: noarch - %python_subpackages %description @@ -46,6 +44,7 @@ jaraco.logging Tools for working with logging. %prep %setup -q -n jaraco.logging-%{version} sed -i 's/--flake8//' pytest.ini +sed -i 's/--black --cov//' pytest.ini rm -rf jaraco.logging.egg-info %build @@ -62,9 +61,7 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/ja } %check -%{python_expand py.test-%{$python_bin_suffix} \ - --ignore=_build.python2 --ignore=_build.python3 -} +%pytest %files %{python_files} %license LICENSE