Sync from SUSE:SLFO:Main python-python-json-logger revision 6e48b17c6cf1c7b81f397a039ad32c51

This commit is contained in:
Adrian Schröter 2024-05-03 22:36:20 +02:00
commit 02dd7d9889
4 changed files with 169 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

BIN
python-json-logger-2.0.7.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,88 @@
-------------------------------------------------------------------
Wed May 3 09:09:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.0.7:
* Fix inclusion of py.typed in pip packages - @sth
* Added pytest support with test file rename. Migrated to
assertEqual
* Parameter `rename_fields` in merge_record_extra is now
optional - @afallou
* Allow reserved attrs to be renamed - @henkhogan
* Support added for Python 3.11
* Now verifying builds in Pypy 3.9 as well
* Type annotations are now in the package - @louis-jaris
* Fix rename_fields for exc_info - @guilhermeferrari
* Cleaned up test file for PEP8 - @lopagela
* Cleaned up old Python 2 artifacts - @louis-jaris
* Dropped Python 3.5 support - @idomozes
* Moved type check via tox into 3.11 run only
* Added test run in Python3.6 (will keep for a little while
longer, but it's EOL so upgrade)
-------------------------------------------------------------------
Thu Oct 6 22:41:33 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 2.0.4 - 2022-07-11
Changed
Fix too strict regex for percentage style logging - @aberres
- Update to 2.0.3 - 2022-07-08
Added
Add PEP 561 marker/basic mypy configuration. - @bringhurst
Workaround logging.LogRecord.msg type of string. - @bringhurst
Changed
Changed a link archive of the reference page in case it's down. - @ahonnecke
Removed unnecessary try-except around OrderedDict usage - @sozofaan
Update documentation link to json module + use https - @deronnax
Dropped 3.5 support. - @bringhurst
-------------------------------------------------------------------
Sat Nov 6 18:37:44 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 2.0.2:
* drop python 3.4 support
-------------------------------------------------------------------
Fri May 28 08:49:54 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest rpm macro
-------------------------------------------------------------------
Mon Dec 21 14:29:29 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Disable Python 2 builds
- Add %doc README.md
- Update to v2.0.1
* Support Pypi long descripton
* rename output fields
- from v2.0.0
* New Changelog
* Added timezone support to timestamps - @lalten
* Refactored log record to function - @georgysavva
* Add python 3.8 support - @tommilligan
* Removed support for Python 2.7
* Removed Debian directory
-------------------------------------------------------------------
Thu May 9 08:26:21 UTC 2019 - pgajdos@suse.com
- version update to 0.1.11
* no upstream changelog
- run testsuite
- run spec cleaner
- install LICENSE
-------------------------------------------------------------------
Tue Dec 4 12:53:05 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Tue Aug 8 06:37:44 UTC 2017 - tbechtold@suse.com
- fix Requires
-------------------------------------------------------------------
Fri Jul 28 14:53:26 UTC 2017 - tbechtold@suse.com
- Initial packaging (version 0.1.7)

View File

@ -0,0 +1,55 @@
#
# spec file for package python-python-json-logger
#
# Copyright (c) 2023 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-python-json-logger
Version: 2.0.7
Release: 0
Summary: A python library adding a json log formatter
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/madzak/python-json-logger
Source: https://files.pythonhosted.org/packages/source/p/python-json-logger/python-json-logger-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: python-setuptools
BuildArch: noarch
%python_subpackages
%description
A python library adding a json log formatter.
%prep
%setup -q -n python-json-logger-%{version}
%build
%python_build
%install
%python_install
%check
%pyunittest discover -v
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%changelog