File python3-raven.spec of Package python3-raven

#
# spec file for package python3-raven
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#


Name:           python3-raven
Version:        5.5.0
Release:        0
Url:            https://pypi.python.org/pypi/raven
Summary:        A client for Sentry
License:        BSD-3-Clause
Group:          Development/Languages/Python
Source:         https://pypi.python.org/packages/source/r/raven/raven-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python3-aiohttp
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
Requires:       python3-aiohttp
Requires:       python3-certifi
BuildArch:      noarch

%description
Raven is a Python client for Sentry. It provides full out-of-the-box support for many
of the popular frameworks, including Django, Flask, and Pylons.
Raven also includes drop-in support for any WSGI-compatible web application.

%prep
%setup -q -n raven-%{version}

%build
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
rm -rf %{buildroot}/%{python3_sitelib}/raven/data/cacert.pem
chmod +x %{buildroot}/%{python3_sitelib}/raven/contrib/zope/__init__.py

%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
%{_bindir}/raven
%{python3_sitelib}/*

%changelog
openSUSE Build Service is sponsored by