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