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: Sat, 06 Aug 2022 13:09:36
Message-Id: 1659791363.e0a6a6125f54097c0687dadd6aaf129c44eaf620.arthurzam@gentoo
1 commit: e0a6a6125f54097c0687dadd6aaf129c44eaf620
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 6 12:17:43 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 6 13:09:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a6a612
7
8 dev-python/sentry-sdk: add 1.9.2
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.2.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 53e8fa1bc7a0..a7e5e706649c 100644
18 --- a/dev-python/sentry-sdk/Manifest
19 +++ b/dev-python/sentry-sdk/Manifest
20 @@ -3,3 +3,4 @@ DIST sentry-sdk-1.7.2.gh.tar.gz 254370 BLAKE2B e65b2236bfec9279a4aa05b77c9492547
21 DIST sentry-sdk-1.8.0.gh.tar.gz 286488 BLAKE2B d47f33a1c83cfffa6e4a801a6fdfde132d4cfe1b734e464c4db60e97abf53ebe503c53c3edd89d1a84e655a348a4463a75c3475d4824d03cd9b95733b13b5532 SHA512 aa3be96dbc55265f17371d8f20f8b3116b4310cbc1d078b62beeb1fd90bdbb840db85c25309e16f793a188d373c6dbcfd11a104db21b60221a5fb06d8deacc2d
22 DIST sentry-sdk-1.9.0.gh.tar.gz 290271 BLAKE2B fcb4c45c129faf23a1177167e2bdd567a7ff228abbaa782676abb16c29e9c4cccef89f67ae5cd28c4f2b25e6687152fdc5eab0c7d981021a8df16374dc4e1fec SHA512 4f287bad8e9dd8eaad8f8a31d7335ccf6bfe72cc0ba8c0b26abcbd7e326bad886709d001976966a7b917f39e1ca249fa881abf29778cfd4bd65c63f05a6f6ef2
23 DIST sentry-sdk-1.9.1.gh.tar.gz 270398 BLAKE2B 66ee16816d312b38df737c5ecb0ecc4a2189c932c162bbedf165f2a153029e95c389372a4638d5f71f669ac780710769e4708c3e7673573d1b1e79a29cbf93c9 SHA512 5997252aeee900125e42d7275627359ca5382707162b93e45b238c11a181ac724fea327fa1b29deed63dbf800463d10c9d2a8e8943c32b907e4eac055e399297
24 +DIST sentry-sdk-1.9.2.gh.tar.gz 270400 BLAKE2B 690e62c1b4f64677442ac46b15973173d96d587b71786f5c2e0a9e8d15aec7978b86b247a52ff15b6d0dc9665f8eafa4b1ad458d3aa3fca3447e7c9946503c69 SHA512 189916cf8b931df73eaa252bbc2f3beb53bf56529d50ebe79affd04e9684ffa89e1f66ec651b7dca6fbd5de641333ddd6f65512978ee06c2abb73617bd6f3ea2
25
26 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.9.2.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.9.2.ebuild
27 new file mode 100644
28 index 000000000000..9d1e2042e8f2
29 --- /dev/null
30 +++ b/dev-python/sentry-sdk/sentry-sdk-1.9.2.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 +)