From ac61aefd54a6f3ac1c7989c39f81c58c5092460f778d7bd95c8316a87b6f0dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 12 Aug 2019 14:18:35 +0000 Subject: [PATCH] Accepting request 722104 from home:jberry:python-sentry-sdk Python SDK for Sentry.io OBS-URL: https://build.opensuse.org/request/show/722104 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=1 --- .gitattributes | 23 +++++++++ .gitignore | 1 + python-sentry-sdk-0.10.2.tar.gz | 3 ++ python-sentry-sdk.changes | 14 +++++ python-sentry-sdk.spec | 90 +++++++++++++++++++++++++++++++++ 5 files changed, 131 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-sentry-sdk-0.10.2.tar.gz create mode 100644 python-sentry-sdk.changes create mode 100644 python-sentry-sdk.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-sentry-sdk-0.10.2.tar.gz b/python-sentry-sdk-0.10.2.tar.gz new file mode 100644 index 0000000..602c067 --- /dev/null +++ b/python-sentry-sdk-0.10.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b18f002dde09bb2986893dd7bb42a410f76d4c105cd02ce6f5723252869859ec +size 124485 diff --git a/python-sentry-sdk.changes b/python-sentry-sdk.changes new file mode 100644 index 0000000..90befd0 --- /dev/null +++ b/python-sentry-sdk.changes @@ -0,0 +1,14 @@ +------------------------------------------------------------------- +Fri Aug 9 22:36:25 UTC 2019 - Jimmy Berry + +- Set BuildArch to noarch. + +------------------------------------------------------------------- +Fri Aug 9 22:30:15 UTC 2019 - Jimmy Berry + +- Update to 0.10.2. + +------------------------------------------------------------------- +Fri Jun 7 10:19:06 UTC 2019 - ecsos@opensuse.org + +- initial version 0.9.0 diff --git a/python-sentry-sdk.spec b/python-sentry-sdk.spec new file mode 100644 index 0000000..38518f0 --- /dev/null +++ b/python-sentry-sdk.spec @@ -0,0 +1,90 @@ +# +# spec file for package python-sentry-sdk +# +# Copyright (c) 2019 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +Name: python-sentry-sdk +Version: 0.10.2 +Release: 0 +Summary: Python SDK for Sentry.io +License: BSD-2-Clause +Group: Development/Languages/Python +Url: https://github.com/getsentry/sentry-python +Source0: https://github.com/getsentry/sentry-python/archive/%{version}/%{name}-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +BuildRequires: %{python_module urllib3} +BuildRequires: %{python_module certifi} +BuildRequires: %{python_module Flask >= 0.8} +BuildRequires: %{python_module blinker >= 1.1} +BuildRequires: %{python_module bottle >= 0.12.13} +BuildRequires: %{python_module falcon >= 1.4} +# SECTION test requirements +BuildRequires: %{python_module hypothesis} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-django} +BuildRequires: %{python_module pytest-xdist} +BuildRequires: %{python_module pytest-localserver} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module tox} +BuildRequires: %{python_module Werkzeug} +#BuildRequires: %%{python_module Django} +BuildRequires: %{python_module rq} +BuildRequires: %{python_module pyramid} +BuildRequires: %{python_module tornado} +BuildRequires: %{python_module aiohttp} +# /SECTION +Requires: python-urllib3 +Requires: python-certifi +Requires: python-Flask >= 0.8 +Requires: python-blinker >= 1.1 +Requires: python-bottle >= 0.12.13 +Requires: python-falcon >= 1.4 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%python_subpackages + +%description +The new Python SDK for Sentry.io. +https://sentry.io/for/python/ + +%prep +%setup -q -n sentry-python-%{version} + +%build +# Remove export CFLAGS=... for noarch packages (unneeded) +export CFLAGS="%{optflags}" +%python_build + +%install +%python_install + +%check +export DJANGO_SETTINGS_MODULE=tests.integrations.django.myapp.settings +# skip integrations +#%%python_expand $python setup.py test + +%files %{python_files} +%defattr(-,root,root) +%doc +%{python_sitelib}/* +%pycache_only %{python_sitelib}/sentry_sdk/__pycache__/* +%pycache_only %{python_sitelib}/sentry_sdk/integrations/__pycache__/serverless.* + +%changelog