2017-12-13 15:11:52 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-rollbar
|
|
|
|
#
|
2024-01-12 08:19:35 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2017-12-13 15:11:52 +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.
|
|
|
|
|
2019-03-25 14:40:27 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-12-13 15:11:52 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-rollbar
|
2024-01-12 08:19:35 +00:00
|
|
|
Version: 1.0.0
|
2017-12-13 15:11:52 +00:00
|
|
|
Release: 0
|
2022-01-24 01:57:25 +00:00
|
|
|
Summary: Report exceptions, errors, and log messages to Rollbar
|
2017-12-13 15:11:52 +00:00
|
|
|
License: MIT
|
2020-04-16 09:02:40 +00:00
|
|
|
URL: https://github.com/rollbar/pyrollbar
|
2017-12-13 15:11:52 +00:00
|
|
|
Source: https://github.com/rollbar/pyrollbar/archive/v%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module WebOb}
|
|
|
|
BuildRequires: %{python_module blinker}
|
2022-01-24 01:57:25 +00:00
|
|
|
BuildRequires: %{python_module httpx}
|
2020-06-03 09:15:12 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2017-12-13 15:11:52 +00:00
|
|
|
BuildRequires: %{python_module requests >= 0.12.1}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2022-01-24 01:57:25 +00:00
|
|
|
BuildRequires: %{python_module six >= 1.14.0}
|
2017-12-13 15:11:52 +00:00
|
|
|
BuildRequires: fdupes
|
2017-12-13 15:27:26 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2017-12-13 15:11:52 +00:00
|
|
|
Requires: python-requests >= 0.12.1
|
2019-03-26 14:06:33 +00:00
|
|
|
Requires: python-setuptools
|
2022-01-24 01:57:25 +00:00
|
|
|
Requires: python-six >= 1.14.0
|
2020-05-19 12:13:14 +00:00
|
|
|
Requires(post): update-alternatives
|
2022-01-24 01:57:25 +00:00
|
|
|
Requires(postun):update-alternatives
|
2017-12-13 15:11:52 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
Send messages and exceptions with arbitrary context, get back aggregates, and debug production issues quickly.
|
|
|
|
|
|
|
|
%prep
|
2022-01-24 01:57:25 +00:00
|
|
|
%autosetup -p1 -n pyrollbar-%{version}
|
2017-12-13 15:11:52 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%python_install
|
2020-05-19 12:13:14 +00:00
|
|
|
%python_clone -a %{buildroot}%{_bindir}/rollbar
|
2017-12-13 15:11:52 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%check
|
2023-02-20 12:18:02 +00:00
|
|
|
%pytest -k 'not (test_shorten_array or test_encode_empty_tuple)'
|
2017-12-13 15:11:52 +00:00
|
|
|
|
2020-05-19 12:13:14 +00:00
|
|
|
%post
|
|
|
|
%python_install_alternative rollbar
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%python_uninstall_alternative rollbar
|
|
|
|
|
2017-12-13 15:11:52 +00:00
|
|
|
%files %{python_files}
|
2022-01-24 01:57:25 +00:00
|
|
|
%doc README.md
|
2019-03-25 14:40:27 +00:00
|
|
|
%license LICENSE
|
2020-05-19 12:13:14 +00:00
|
|
|
%python_alternative %{_bindir}/rollbar
|
2023-02-20 12:18:02 +00:00
|
|
|
%{python_sitelib}/rollbar
|
|
|
|
%{python_sitelib}/rollbar-%{version}*-info
|
2017-12-13 15:11:52 +00:00
|
|
|
|
|
|
|
%changelog
|