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, 16 Aug 2022 18:51:06
Message-Id: 1660675804.8ff32fad564d48a8dd6702dd562b9b99e2a7a64e.arthurzam@gentoo
1 commit: 8ff32fad564d48a8dd6702dd562b9b99e2a7a64e
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 16 18:29:12 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 16 18:50:04 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff32fad
7
8 dev-python/sentry-sdk: add 1.9.5
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.5.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 edf21c530efc..94d927a49f41 100644
18 --- a/dev-python/sentry-sdk/Manifest
19 +++ b/dev-python/sentry-sdk/Manifest
20 @@ -6,3 +6,4 @@ DIST sentry-sdk-1.9.1.gh.tar.gz 270398 BLAKE2B 66ee16816d312b38df737c5ecb0ecc4a2
21 DIST sentry-sdk-1.9.2.gh.tar.gz 270400 BLAKE2B 690e62c1b4f64677442ac46b15973173d96d587b71786f5c2e0a9e8d15aec7978b86b247a52ff15b6d0dc9665f8eafa4b1ad458d3aa3fca3447e7c9946503c69 SHA512 189916cf8b931df73eaa252bbc2f3beb53bf56529d50ebe79affd04e9684ffa89e1f66ec651b7dca6fbd5de641333ddd6f65512978ee06c2abb73617bd6f3ea2
22 DIST sentry-sdk-1.9.3.gh.tar.gz 270453 BLAKE2B e971c89ccdbe3831e49cf48db4673c54f4110878e45e92bf5f8142a876b8382fc714e9e3fc124c36495c8cda24efabad9486fc0cdb939a034c931a718e21c501 SHA512 4a31507635cbe3932ecb548273f32cfd6098d5ed4eed2771a37b79f98a4c97f12d50b89f63f357424355d5657bc2bdb3e49f0984db4e9c9ee7ee31b984d0367e
23 DIST sentry-sdk-1.9.4.gh.tar.gz 271140 BLAKE2B 07ba10c72ec61c1bd6a54899712b5880ddf4c4f67ae9f127184d0251e93ae0a7374441ba77eb54c871684152613db55a582ca98f787884ef834f658d743abccd SHA512 2b0089b29da002e6236b93033f36bc0a6ba08d4643021f6bc2e30807a84867030dad088e1ff6b917f5b9dbc2da06305c3e58cdd9f9c10009df5063640cb8796a
24 +DIST sentry-sdk-1.9.5.gh.tar.gz 272096 BLAKE2B 179be647b92a74a1836f26add33e4b98007d19eff7454eb4968a2029003b7c1601d2eecad162a109508942b2f65086db32df6191c7f7986b5ab831295a8d3775 SHA512 d909ea9552a845b7022fdbbd06e3c49b2f136ca66771f20cb74b82f9eda7f63bee6c095eddefad7623a224bb9d6bf2b775c3c9405a0b55cd520952c3fe67c22d
25
26 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.9.5.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.9.5.ebuild
27 new file mode 100644
28 index 000000000000..9d1e2042e8f2
29 --- /dev/null
30 +++ b/dev-python/sentry-sdk/sentry-sdk-1.9.5.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 +)