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: Thu, 20 Jan 2022 19:23:46
Message-Id: 1642706613.0ef4adac80aafdc12e57a71f7230c0e91d68fe00.arthurzam@gentoo
1 commit: 0ef4adac80aafdc12e57a71f7230c0e91d68fe00
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 20 19:08:38 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 20 19:23:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ef4adac
7
8 dev-python/sentry-sdk: add 1.5.3
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.5.3.ebuild | 80 +++++++++++++++++++++++++++
14 2 files changed, 81 insertions(+)
15
16 diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest
17 index cafb3cfd39f8..62a755b9e6a6 100644
18 --- a/dev-python/sentry-sdk/Manifest
19 +++ b/dev-python/sentry-sdk/Manifest
20 @@ -1,2 +1,3 @@
21 DIST sentry-sdk-1.5.1.tar.gz 234143 BLAKE2B 431216c66b195ef7f26fe74d5f2c6e4697d93209ccf650bc0f043f4e7c6bf38a3fa98f39f75d94bc66247a91d0b3e3b85f4fa1912c0f71827a912e65fb976468 SHA512 09e178e5abe2e47d29aee778c8fb48ea5e09efa278dd970e3c856dd04704ef63f3adba0edb68a73c09baa2291bae41cd6fd081dd9f0a2792c1edda480fe1f4b4
22 DIST sentry-sdk-1.5.2.tar.gz 238538 BLAKE2B b5ec8da91e6eaf76e5501a3e97e6a06f67b6afb887fcc161ca4c5c6750e294cdb2c72eb7f8ff62b06cb27410f580d3a7ce3aa5981282719a4e4eba3892781394 SHA512 5bac6ce88a2a2f9b6269d6c2483568cbb627e7fb338044272785d1fcd574c7772e47c7304bdc3082058883d53d7ca458f65b3ceeb6d7a7fd70b752b335105193
23 +DIST sentry-sdk-1.5.3.tar.gz 239237 BLAKE2B ce519926fd1873d1c94b76816c8e1d4831d0893ca030e7703d0976dd54930847bd4b1ab7f55ec45c0826bf4ae559a4d56e980f280973f660ff02061b02bd47a6 SHA512 47614f77f31aaaf4891da0dcf64c42e8f2bf42a6d776cba92beb5dab4de6ee28e0f65bd47293c14e9b847455293de021420592bb80af4a4e2e52a3bb89e5d869
24
25 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.5.3.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.5.3.ebuild
26 new file mode 100644
27 index 000000000000..f7fe237c12d9
28 --- /dev/null
29 +++ b/dev-python/sentry-sdk/sentry-sdk-1.5.3.ebuild
30 @@ -0,0 +1,80 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Python client for Sentry"
40 +HOMEPAGE="https://sentry.io/ https://pypi.org/project/sentry-sdk/"
41 +SRC_URI="https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +S="${WORKDIR}/sentry-python-${PV}"
43 +
44 +LICENSE="PSF-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
47 +
48 +RDEPEND="
49 + dev-python/urllib3[${PYTHON_USEDEP}]
50 + dev-python/certifi[${PYTHON_USEDEP}]
51 +"
52 +BDEPEND="
53 + test? (
54 + dev-python/asttokens[${PYTHON_USEDEP}]
55 + dev-python/django[${PYTHON_USEDEP}]
56 + dev-python/executing[${PYTHON_USEDEP}]
57 + dev-python/fakeredis[${PYTHON_USEDEP}]
58 + dev-python/flask-login[${PYTHON_USEDEP}]
59 + dev-python/gevent[${PYTHON_USEDEP}]
60 + dev-python/jsonschema[${PYTHON_USEDEP}]
61 + dev-python/pyrsistent[${PYTHON_USEDEP}]
62 + dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
63 + dev-python/pytest-django[${PYTHON_USEDEP}]
64 + dev-python/pytest-forked[${PYTHON_USEDEP}]
65 + dev-python/pytest-localserver[${PYTHON_USEDEP}]
66 + dev-python/werkzeug[${PYTHON_USEDEP}]
67 + dev-python/zope-event[${PYTHON_USEDEP}]
68 + $(python_gen_cond_dep '
69 + dev-python/eventlet[${PYTHON_USEDEP}]
70 + ' python3_{8..9})
71 + )
72 +"
73 +
74 +distutils_enable_tests pytest
75 +
76 +python_test() {
77 + local EPYTEST_IGNORE=(
78 + # tests require Internet access
79 + tests/integrations/httpx/test_httpx.py
80 + tests/integrations/requests/test_requests.py
81 + tests/integrations/stdlib/test_httplib.py
82 + # wtf is it supposed to do?!
83 + tests/integrations/gcp/test_gcp.py
84 + # broken by rq-1.10.1 (optional dep)
85 + tests/integrations/rq/test_rq.py
86 + )
87 +
88 + local EPYTEST_DESELECT=(
89 + # hangs
90 + 'tests/test_transport.py::test_transport_works'
91 + # TODO
92 + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
93 + tests/test_client.py::test_databag_depth_stripping
94 + tests/test_client.py::test_databag_string_stripping
95 + tests/test_client.py::test_databag_breadth_stripping
96 + # incompatible version?
97 + tests/integrations/falcon/test_falcon.py
98 + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated
99 + # test_circular_references: apparently fragile
100 + 'tests/integrations/threading/test_threading.py::test_circular_references'
101 + # test for new feature, fails with IndexError
102 + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler
103 + )
104 +
105 + # Prevent tests/integrations/modules/test_modules.py:test_basic failure
106 + # Needs to detect sentry-sdk in the installed modules
107 + distutils_install_for_testing
108 +
109 + epytest
110 +}