2017-07-28 15:19:33 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-daiquiri
|
|
|
|
|
#
|
2022-03-10 01:10:04 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2017-07-28 15:19:33 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2018-12-04 13:22:25 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-07-28 15:19:33 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2020-11-10 07:54:48 +00:00
|
|
|
%global skip_python2 1
|
2017-07-28 15:19:33 +00:00
|
|
|
Name: python-daiquiri
|
2021-10-16 21:16:07 +00:00
|
|
|
Version: 3.0.1
|
2017-07-28 15:19:33 +00:00
|
|
|
Release: 0
|
2017-08-09 05:54:03 +00:00
|
|
|
Summary: Library to configure Python logging
|
2017-07-28 15:19:33 +00:00
|
|
|
License: Apache-2.0
|
2018-12-04 17:11:58 +00:00
|
|
|
URL: https://github.com/jd/daiquiri
|
2017-07-28 15:19:33 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/d/daiquiri/daiquiri-%{version}.tar.gz
|
2019-03-07 14:05:29 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
|
BuildRequires: %{python_module python-json-logger}
|
2020-04-02 09:18:26 +00:00
|
|
|
BuildRequires: %{python_module setuptools_scm}
|
2019-03-07 14:05:29 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
BuildRequires: fdupes
|
2017-07-28 15:19:33 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2017-08-08 06:39:26 +00:00
|
|
|
Requires: python-python-json-logger
|
2017-07-28 15:19:33 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
2017-08-09 05:54:03 +00:00
|
|
|
The daiquiri library provides a way to configure logging. It also
|
|
|
|
|
provides some custom formatters and handlers.
|
2017-07-28 15:19:33 +00:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n daiquiri-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%python_install
|
2019-03-07 14:05:29 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
%check
|
2019-09-13 10:09:52 +00:00
|
|
|
%pytest daiquiri/tests
|
2017-07-28 15:19:33 +00:00
|
|
|
|
|
|
|
|
%files %{python_files}
|
2018-12-04 17:11:58 +00:00
|
|
|
%license LICENSE
|
2020-04-02 09:18:26 +00:00
|
|
|
%doc README.rst
|
2022-11-16 16:55:27 +00:00
|
|
|
%{python_sitelib}/daiquiri
|
|
|
|
|
%{python_sitelib}/daiquiri-%{version}*-info
|
2017-07-28 15:19:33 +00:00
|
|
|
|
|
|
|
|
%changelog
|