Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sentry-sdk/
Date: Thu, 01 Sep 2022 19:42:12
Message-Id: 1662061310.bcacdd4e4d0e8d1a9899fdf732f0657ff06ea8b1.arthurzam@gentoo
1 commit: bcacdd4e4d0e8d1a9899fdf732f0657ff06ea8b1
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 1 18:43:03 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 1 19:41:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcacdd4e
7
8 dev-python/sentry-sdk: add 1.9.7
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/sentry-sdk/Manifest | 1 +
13 dev-python/sentry-sdk/sentry-sdk-1.9.7.ebuild | 96 +++++++++++++++++++++++++++
14 2 files changed, 97 insertions(+)
15
16 diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest
17 index cea8d00f22cb..1b94513dc246 100644
18 --- a/dev-python/sentry-sdk/Manifest
19 +++ b/dev-python/sentry-sdk/Manifest
20 @@ -1,2 +1,3 @@
21 DIST sentry-sdk-1.9.5.gh.tar.gz 272096 BLAKE2B 179be647b92a74a1836f26add33e4b98007d19eff7454eb4968a2029003b7c1601d2eecad162a109508942b2f65086db32df6191c7f7986b5ab831295a8d3775 SHA512 d909ea9552a845b7022fdbbd06e3c49b2f136ca66771f20cb74b82f9eda7f63bee6c095eddefad7623a224bb9d6bf2b775c3c9405a0b55cd520952c3fe67c22d
22 DIST sentry-sdk-1.9.6.gh.tar.gz 270120 BLAKE2B d5918f4ed21f3ee50d76a780416c458b3f917a314a9dfbdbe4b4b63727fa3b7ead61d04546b6ebf57c262143ccc694811e6f888ca1d39155aa98f3225508ab94 SHA512 ad8717f456706edb31e01e8c19b8b81d98b15423d62b2dba8a86fc78a4756c8176b4a0758ebb599f84dd4e6e85258c47e350c8f55e80314a4a70631966c83de6
23 +DIST sentry-sdk-1.9.7.gh.tar.gz 270209 BLAKE2B d1671bb45efa8aa785dc33a5d27e1d44843000809a88c4b081bbaca31be9ece65c6b192cadd46df912e1e1ca8650c7246f9946adb85117e88d13446965e190ac SHA512 d5c9a32e2c4001892cd03357d3b0cfe4c789eb0f4a12f6431920624795d4ed70a4055351541e12d9ee0be6e0fa689190e53c05fac53a27dad30e9f9fbe0711c1
24
25 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.9.7.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.9.7.ebuild
26 new file mode 100644
27 index 000000000000..9d1e2042e8f2
28 --- /dev/null
29 +++ b/dev-python/sentry-sdk/sentry-sdk-1.9.7.ebuild
30 @@ -0,0 +1,96 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Python client for Sentry"
42 +HOMEPAGE="
43 + https://sentry.io/
44 + https://github.com/getsentry/sentry-python/
45 + https://pypi.org/project/sentry-sdk/
46 +"
47 +SRC_URI="
48 + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz
49 + -> ${P}.gh.tar.gz
50 +"
51 +S="${WORKDIR}/sentry-python-${PV}"
52 +
53 +LICENSE="PSF-2"
54 +SLOT="0"
55 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
56 +
57 +RDEPEND="
58 + dev-python/urllib3[${PYTHON_USEDEP}]
59 + dev-python/certifi[${PYTHON_USEDEP}]
60 +"
61 +BDEPEND="
62 + test? (
63 + dev-python/asttokens[${PYTHON_USEDEP}]
64 + dev-python/django[${PYTHON_USEDEP}]
65 + dev-python/executing[${PYTHON_USEDEP}]
66 + dev-python/fakeredis[${PYTHON_USEDEP}]
67 + dev-python/flask-login[${PYTHON_USEDEP}]
68 + dev-python/gevent[${PYTHON_USEDEP}]
69 + dev-python/jsonschema[${PYTHON_USEDEP}]
70 + dev-python/pyrsistent[${PYTHON_USEDEP}]
71 + dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
72 + dev-python/pytest-django[${PYTHON_USEDEP}]
73 + dev-python/pytest-forked[${PYTHON_USEDEP}]
74 + dev-python/pytest-localserver[${PYTHON_USEDEP}]
75 + dev-python/werkzeug[${PYTHON_USEDEP}]
76 + dev-python/zope-event[${PYTHON_USEDEP}]
77 + $(python_gen_cond_dep '
78 + dev-python/eventlet[${PYTHON_USEDEP}]
79 + ' python3_{8..9})
80 + )
81 +"
82 +
83 +distutils_enable_tests pytest
84 +
85 +EPYTEST_IGNORE=(
86 + # tests require Internet access
87 + tests/integrations/httpx/test_httpx.py
88 + tests/integrations/requests/test_requests.py
89 + tests/integrations/stdlib/test_httplib.py
90 + tests/integrations/flask/test_flask.py
91 + tests/integrations/django/test_basic.py
92 + # wtf is it supposed to do?!
93 + tests/integrations/gcp/test_gcp.py
94 + # broken by rq-1.10.1 (optional dep)
95 + tests/integrations/rq/test_rq.py
96 + # fastapi is not packaged
97 + tests/integrations/asgi/test_fastapi.py
98 + # TODO
99 + tests/integrations/bottle
100 + # requires python-multipart (TODO: package it)
101 + tests/integrations/starlette
102 +)
103 +
104 +EPYTEST_DESELECT=(
105 + # hangs
106 + 'tests/test_transport.py::test_transport_works'
107 + # TODO
108 + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
109 + tests/test_client.py::test_databag_depth_stripping
110 + tests/test_client.py::test_databag_string_stripping
111 + tests/test_client.py::test_databag_breadth_stripping
112 + tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates
113 + tests/integrations/asgi/test_asgi.py::test_websocket
114 + tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style
115 + tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context
116 + # incompatible version?
117 + tests/integrations/falcon/test_falcon.py
118 + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated
119 + # test_circular_references: apparently fragile
120 + 'tests/integrations/threading/test_threading.py::test_circular_references'
121 + # test for new feature, fails with IndexError
122 + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler
123 + # TODO
124 + tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates
125 + tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled
126 +)