Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sentry-sdk/
Date: Thu, 18 Aug 2022 06:18:51
Message-Id: 1660803512.1ba4ee1a10425ee98a110dae14daf107ec184aad.mgorny@gentoo
1 commit: 1ba4ee1a10425ee98a110dae14daf107ec184aad
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 18 05:07:01 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 18 06:18:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ba4ee1a
7
8 dev-python/sentry-sdk: Revert "drop 1.7.2"
9
10 Wrong version.
11
12 Reverts: 6b302b75e8fb42006c3eda973dd9e3a5ad648241
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 dev-python/sentry-sdk/Manifest | 1 +
16 dev-python/sentry-sdk/sentry-sdk-1.7.2.ebuild | 91 +++++++++++++++++++++++++++
17 2 files changed, 92 insertions(+)
18
19 diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest
20 index f14a04e1c031..94d927a49f41 100644
21 --- a/dev-python/sentry-sdk/Manifest
22 +++ b/dev-python/sentry-sdk/Manifest
23 @@ -1,4 +1,5 @@
24 DIST sentry-sdk-1.6.0.gh.tar.gz 249637 BLAKE2B c4d6788c80184ce9127ed85dfb5305363fd27bcbebd74763e4c14c4fed35dd05069ad4a244fa2d8a59f8cb618df22d4d864bf72510fe42600d23fcc6bf8228cf SHA512 d2999831af595ed7f1861ec78887e46887eea8c4c931f22bd4003aede508511287f67eb6100232362a110d16b7bdec892572225440be52a9bd37952c30478f15
25 +DIST sentry-sdk-1.7.2.gh.tar.gz 254370 BLAKE2B e65b2236bfec9279a4aa05b77c9492547f657e461a7c96c4158acb6bc0887571186bfa71893dce34251ef8d783fb5d583b25aa12539c5db7993cec65fdf05229 SHA512 9fe2c283a326b78c8be95500e4916bb633dc7369960a4e0ef69c0f29de74c38db81f43b3931c47d50431ee7f1a66a2b18e8c4fc02ce71c404a5e9700644cb76c
26 DIST sentry-sdk-1.8.0.gh.tar.gz 286488 BLAKE2B d47f33a1c83cfffa6e4a801a6fdfde132d4cfe1b734e464c4db60e97abf53ebe503c53c3edd89d1a84e655a348a4463a75c3475d4824d03cd9b95733b13b5532 SHA512 aa3be96dbc55265f17371d8f20f8b3116b4310cbc1d078b62beeb1fd90bdbb840db85c25309e16f793a188d373c6dbcfd11a104db21b60221a5fb06d8deacc2d
27 DIST sentry-sdk-1.9.0.gh.tar.gz 290271 BLAKE2B fcb4c45c129faf23a1177167e2bdd567a7ff228abbaa782676abb16c29e9c4cccef89f67ae5cd28c4f2b25e6687152fdc5eab0c7d981021a8df16374dc4e1fec SHA512 4f287bad8e9dd8eaad8f8a31d7335ccf6bfe72cc0ba8c0b26abcbd7e326bad886709d001976966a7b917f39e1ca249fa881abf29778cfd4bd65c63f05a6f6ef2
28 DIST sentry-sdk-1.9.1.gh.tar.gz 270398 BLAKE2B 66ee16816d312b38df737c5ecb0ecc4a2189c932c162bbedf165f2a153029e95c389372a4638d5f71f669ac780710769e4708c3e7673573d1b1e79a29cbf93c9 SHA512 5997252aeee900125e42d7275627359ca5382707162b93e45b238c11a181ac724fea327fa1b29deed63dbf800463d10c9d2a8e8943c32b907e4eac055e399297
29
30 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.7.2.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.7.2.ebuild
31 new file mode 100644
32 index 000000000000..ac1650bb3f7f
33 --- /dev/null
34 +++ b/dev-python/sentry-sdk/sentry-sdk-1.7.2.ebuild
35 @@ -0,0 +1,91 @@
36 +# Copyright 1999-2022 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=8
40 +
41 +DISTUTILS_USE_PEP517=setuptools
42 +PYTHON_COMPAT=( python3_{8..10} )
43 +
44 +inherit distutils-r1
45 +
46 +DESCRIPTION="Python client for Sentry"
47 +HOMEPAGE="
48 + https://sentry.io/
49 + https://github.com/getsentry/sentry-python/
50 + https://pypi.org/project/sentry-sdk/
51 +"
52 +SRC_URI="
53 + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz
54 + -> ${P}.gh.tar.gz
55 +"
56 +S="${WORKDIR}/sentry-python-${PV}"
57 +
58 +LICENSE="PSF-2"
59 +SLOT="0"
60 +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
61 +
62 +RDEPEND="
63 + dev-python/urllib3[${PYTHON_USEDEP}]
64 + dev-python/certifi[${PYTHON_USEDEP}]
65 +"
66 +BDEPEND="
67 + test? (
68 + dev-python/asttokens[${PYTHON_USEDEP}]
69 + dev-python/django[${PYTHON_USEDEP}]
70 + dev-python/executing[${PYTHON_USEDEP}]
71 + dev-python/fakeredis[${PYTHON_USEDEP}]
72 + dev-python/flask-login[${PYTHON_USEDEP}]
73 + dev-python/gevent[${PYTHON_USEDEP}]
74 + dev-python/jsonschema[${PYTHON_USEDEP}]
75 + dev-python/pyrsistent[${PYTHON_USEDEP}]
76 + dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
77 + dev-python/pytest-django[${PYTHON_USEDEP}]
78 + dev-python/pytest-forked[${PYTHON_USEDEP}]
79 + dev-python/pytest-localserver[${PYTHON_USEDEP}]
80 + dev-python/werkzeug[${PYTHON_USEDEP}]
81 + dev-python/zope-event[${PYTHON_USEDEP}]
82 + $(python_gen_cond_dep '
83 + dev-python/eventlet[${PYTHON_USEDEP}]
84 + ' python3_{8..9})
85 + )
86 +"
87 +
88 +distutils_enable_tests pytest
89 +
90 +EPYTEST_IGNORE=(
91 + # tests require Internet access
92 + tests/integrations/httpx/test_httpx.py
93 + tests/integrations/requests/test_requests.py
94 + tests/integrations/stdlib/test_httplib.py
95 + tests/integrations/flask/test_flask.py
96 + tests/integrations/django/test_basic.py
97 + # wtf is it supposed to do?!
98 + tests/integrations/gcp/test_gcp.py
99 + # broken by rq-1.10.1 (optional dep)
100 + tests/integrations/rq/test_rq.py
101 + # fastapi is not packaged
102 + tests/integrations/asgi/test_fastapi.py
103 + # TODO
104 + tests/integrations/bottle
105 +)
106 +
107 +EPYTEST_DESELECT=(
108 + # hangs
109 + 'tests/test_transport.py::test_transport_works'
110 + # TODO
111 + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
112 + tests/test_client.py::test_databag_depth_stripping
113 + tests/test_client.py::test_databag_string_stripping
114 + tests/test_client.py::test_databag_breadth_stripping
115 + tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates
116 + tests/integrations/asgi/test_asgi.py::test_websocket
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 +)