From e277f5378a02bf9a57acd8af5a3622063d98d47e27d40dbf78500a9318f4d144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 29 Aug 2022 19:41:28 +0000 Subject: [PATCH] Accepting request 1000039 from home:bnavigator:branches:devel:languages:python - Update to 3.1.2 * Refresh packaging. Require Python 3.7 or later. - v3.1.1: Rely on PEP 420 for namespace package. - v3.1.0: Refresh packaging. Remove unneeded dependency on six. - Switch to PEP517 and remove obsolete jaraco.base requirement OBS-URL: https://build.opensuse.org/request/show/1000039 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.logging?expand=0&rev=7 --- jaraco.logging-3.0.0.tar.gz | 3 --- jaraco.logging-3.1.2.tar.gz | 3 +++ python-jaraco.logging.changes | 9 +++++++++ python-jaraco.logging.spec | 37 ++++++++++++++++------------------- 4 files changed, 29 insertions(+), 23 deletions(-) delete mode 100644 jaraco.logging-3.0.0.tar.gz create mode 100644 jaraco.logging-3.1.2.tar.gz diff --git a/jaraco.logging-3.0.0.tar.gz b/jaraco.logging-3.0.0.tar.gz deleted file mode 100644 index ac9c82e..0000000 --- a/jaraco.logging-3.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:31716fe84d3d5df39d95572942513bd4bf8ae0a478f64031eff4c2ea9e83434e -size 10739 diff --git a/jaraco.logging-3.1.2.tar.gz b/jaraco.logging-3.1.2.tar.gz new file mode 100644 index 0000000..f6b401b --- /dev/null +++ b/jaraco.logging-3.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93a70b8b3767779ad6c7b56ee98579ced77b69f16abbcae749f62c2c59e67931 +size 8107 diff --git a/python-jaraco.logging.changes b/python-jaraco.logging.changes index 06aae55..af8c2e0 100644 --- a/python-jaraco.logging.changes +++ b/python-jaraco.logging.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Aug 29 13:18:26 UTC 2022 - Ben Greiner + +- Update to 3.1.2 + * Refresh packaging. Require Python 3.7 or later. +- v3.1.1: Rely on PEP 420 for namespace package. +- v3.1.0: Refresh packaging. Remove unneeded dependency on six. +- Switch to PEP517 and remove obsolete jaraco.base requirement + ------------------------------------------------------------------- Mon Mar 9 14:19:58 UTC 2020 - Marketa Calabkova diff --git a/python-jaraco.logging.spec b/python-jaraco.logging.spec index 757bbc1..c3840e9 100644 --- a/python-jaraco.logging.spec +++ b/python-jaraco.logging.spec @@ -1,7 +1,7 @@ # # spec file for package python-jaraco.logging # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,24 +16,24 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-jaraco.logging -Version: 3.0.0 +Version: 3.1.2 Release: 0 Summary: Tools to work with logging License: MIT Group: Development/Languages/Python 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 base >= 3.7} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools >= 56} +BuildRequires: %{python_module setuptools_scm >= 3.4.1} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tempora} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-jaraco.base >= 6.1 Requires: python-tempora BuildArch: noarch %python_subpackages @@ -43,31 +43,28 @@ 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 -%python_build +%pyproject_wheel %install -%python_install - -%{python_expand rm -f %{buildroot}%{$python_sitelib}/jaraco/__init__.py* \ - %{buildroot}%{$python_sitelib}/jaraco/__pycache__/__init__.* -$python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/jaraco/ -$python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/jaraco/ -%fdupes %{buildroot}%{$python_sitelib} -} +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +# work around for gh#pytest-dev/pytest#3396 until gh#pytest-dev/pytest#10088 lands in a pytest release +touch jaraco/__init__.py +cp -r %{python3_sitelib}/jaraco/* jaraco/ +%pytest --doctest-modules %files %{python_files} %license LICENSE %doc docs/*.rst README.rst CHANGES.rst -%{python_sitelib}/jaraco.logging-%{version}-py*.egg-info +%{python_sitelib}/jaraco.logging-%{version}*-info %{python_sitelib}/jaraco/logging.py* +%dir %{python_sitelib}/jaraco +%pycache_only %dir %{python_sitelib}/jaraco/__pycache__ %pycache_only %{python_sitelib}/jaraco/__pycache__/logging*.py* %changelog