15
0
Files
python-daiquiri/python-daiquiri.spec
Dirk Mueller 56152bda66 Accepting request 1039435 from home:yarunachalam:branches:devel:languages:python
- Update to 3.2.1
  * chore: add custom LogRecord classes to avoid ignore
  * fix(output): correct Datadog handler class
  * fix: use _ version
- Update to 3.2.0
  * chore: type everything
  * refactor: remove Python 2 support leftover
  * chore: configure black
- Update to 3.1.1
  * fix: add missing py.typed
- Update to 3.1.0 
  * fix: update setup.cfg

OBS-URL: https://build.opensuse.org/request/show/1039435
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-daiquiri?expand=0&rev=25
2022-12-02 10:46:52 +00:00

61 lines
1.7 KiB
RPMSpec

#
# spec file for package python-daiquiri
#
# 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
# 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/
#
%global skip_python2 1
Name: python-daiquiri
Version: 3.2.1
Release: 0
Summary: Library to configure Python logging
License: Apache-2.0
URL: https://github.com/jd/daiquiri
Source: https://files.pythonhosted.org/packages/source/d/daiquiri/daiquiri-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-json-logger}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-python-json-logger
BuildArch: noarch
%python_subpackages
%description
The daiquiri library provides a way to configure logging. It also
provides some custom formatters and handlers.
%prep
%setup -q -n daiquiri-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest daiquiri/tests
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/daiquiri
%{python_sitelib}/daiquiri-%{version}*-info
%changelog