From 5ab5fe0462b26aaecd558eb1a8d23a40741d804ff015bb5ff5f15ec3072cc03e Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 2 May 2025 07:19:19 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + click-log-0.4.0.tar.gz | 3 ++ python-click-log.changes | 57 +++++++++++++++++++++++++++++++++++++ python-click-log.spec | 61 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 145 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 click-log-0.4.0.tar.gz create mode 100644 python-click-log.changes create mode 100644 python-click-log.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/click-log-0.4.0.tar.gz b/click-log-0.4.0.tar.gz new file mode 100644 index 0000000..b01d4bf --- /dev/null +++ b/click-log-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3970f8570ac54491237bcdb3d8ab5e3eef6c057df29f8c3d1151a51a9c23b975 +size 9985 diff --git a/python-click-log.changes b/python-click-log.changes new file mode 100644 index 0000000..1028239 --- /dev/null +++ b/python-click-log.changes @@ -0,0 +1,57 @@ +------------------------------------------------------------------- +Fri May 2 07:18:40 UTC 2025 - Steve Kowalik + +- Run the testsuite. +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- +Sun Mar 27 11:05:38 UTC 2022 - Dirk Müller + +- update to 0.4.0: + * compatibility declares with python >= 3.7 + +------------------------------------------------------------------- +Mon Oct 14 11:43:33 UTC 2019 - Matej Cepl + +- 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! + diff --git a/python-click-log.spec b/python-click-log.spec new file mode 100644 index 0000000..56fd16a --- /dev/null +++ b/python-click-log.spec @@ -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