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