forked from pool/python-jaraco.logging
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:
commit
f972f09214
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8f7dbf01b75e4d9bac479312b66a94c80d0a6d28db453f397e30687ca42168d1
|
|
||||||
size 10356
|
|
3
jaraco.logging-3.0.0.tar.gz
Normal file
3
jaraco.logging-3.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:31716fe84d3d5df39d95572942513bd4bf8ae0a478f64031eff4c2ea9e83434e
|
||||||
|
size 10739
|
@ -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>
|
Tue Feb 26 07:01:40 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-jaraco.logging
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,27 +17,25 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-jaraco.logging
|
Name: python-jaraco.logging
|
||||||
Version: 2.0
|
Version: 3.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Tools to work with logging
|
Summary: Tools to work with logging
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
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
|
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 jaraco.base >= 6.1}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
BuildRequires: %{python_module tempora}
|
BuildRequires: %{python_module tempora}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-jaraco.base >= 6.1
|
Requires: python-jaraco.base >= 6.1
|
||||||
Requires: python-six
|
|
||||||
Requires: python-tempora
|
Requires: python-tempora
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -46,6 +44,7 @@ jaraco.logging Tools for working with logging.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n jaraco.logging-%{version}
|
%setup -q -n jaraco.logging-%{version}
|
||||||
sed -i 's/--flake8//' pytest.ini
|
sed -i 's/--flake8//' pytest.ini
|
||||||
|
sed -i 's/--black --cov//' pytest.ini
|
||||||
rm -rf jaraco.logging.egg-info
|
rm -rf jaraco.logging.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -62,9 +61,7 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/ja
|
|||||||
}
|
}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{python_expand py.test-%{$python_bin_suffix} \
|
%pytest
|
||||||
--ignore=_build.python2 --ignore=_build.python3
|
|
||||||
}
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user