15
0

- Run the testsuite.

- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click-log?expand=0&rev=10
This commit is contained in:
2025-05-02 07:19:19 +00:00
committed by Git OBS Bridge
commit 5ab5fe0462
5 changed files with 145 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
click-log-0.4.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3970f8570ac54491237bcdb3d8ab5e3eef6c057df29f8c3d1151a51a9c23b975
size 9985

57
python-click-log.changes Normal file
View File

@@ -0,0 +1,57 @@
-------------------------------------------------------------------
Fri May 2 07:18:40 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Run the testsuite.
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Sun Mar 27 11:05:38 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.4.0:
* compatibility declares with python >= 3.7
-------------------------------------------------------------------
Mon Oct 14 11:43:33 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
-------------------------------------------------------------------
Wed Jul 4 07:04:11 UTC 2018 - dmacvicar@suse.de
- Update to 0.3.2
* remove unused import
* use default root logger
* fix docu
* fix formating of logs
* simplify api
-------------------------------------------------------------------
Fri Jun 30 17:38:38 UTC 2017 - aloisio@gmx.com
- Update to version 0.1.8
- Converted to single-spec
-------------------------------------------------------------------
Sat Jul 9 16:47:15 UTC 2016 - arun@gmx.de
- update to version 0.1.4:
* added some links
* added docs
-------------------------------------------------------------------
Sun May 8 07:15:49 UTC 2016 - arun@gmx.de
- specfile:
* updated source url to files.pythonhosted.org
-------------------------------------------------------------------
Tue Jan 19 10:51:18 UTC 2016 - sleep_walker@opensuse.org
- polish spec (not only) with spec cleaner
-------------------------------------------------------------------
Tue Jan 19 00:06:07 UTC 2016 - sleep_walker@opensuse.org
- let there be python3-click-log!

61
python-click-log.spec Normal file
View File

@@ -0,0 +1,61 @@
#
# spec file for package python-click-log
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-click-log
Version: 0.4.0
Release: 0
Summary: Logging integration for Click
License: MIT
URL: https://github.com/click-contrib/click-log
Source: https://files.pythonhosted.org/packages/source/c/click-log/click-log-%{version}.tar.gz
BuildRequires: %{python_module click}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-click
BuildArch: noarch
%python_subpackages
%description
Integrates logging with click.
*This is rather experimental. See tests for usage for now.*
%prep
%setup -q -n click-log-%{version}
rm -rf click_log.egg-info
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/click_log
%{python_sitelib}/click_log-%{version}.dist-info
%changelog