Accepting request 784210 from devel:languages:python

Staging:I

OBS-URL: https://build.opensuse.org/request/show/784210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jaraco.logging?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-04-19 19:39:36 +00:00 committed by Git OBS Bridge
commit f972f09214
4 changed files with 15 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f7dbf01b75e4d9bac479312b66a94c80d0a6d28db453f397e30687ca42168d1
size 10356

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31716fe84d3d5df39d95572942513bd4bf8ae0a478f64031eff4c2ea9e83434e
size 10739

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 9 14:19:58 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 3.0.0
* Require Python 3.6 or later.
-------------------------------------------------------------------
Tue Feb 26 07:01:40 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

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