1 |
commit: c408a0cf889ebcb5b55632da1c0fda81f99d975c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 30 06:53:38 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 30 07:14:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c408a0cf |
7 |
|
8 |
dev-python/sentry-sdk: Bump to 0.18.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/sentry-sdk/Manifest | 1 + |
13 |
dev-python/sentry-sdk/sentry-sdk-0.18.0.ebuild | 85 ++++++++++++++++++++++++++ |
14 |
2 files changed, 86 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest |
17 |
index 08ddd53d261..7f35a57c39e 100644 |
18 |
--- a/dev-python/sentry-sdk/Manifest |
19 |
+++ b/dev-python/sentry-sdk/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST sentry-sdk-0.16.3.tar.gz 170145 BLAKE2B bf619313fb3f49800f5384f0dfec3aa34ef |
21 |
DIST sentry-sdk-0.17.6.tar.gz 183157 BLAKE2B ea0f6af54c31abc785274fc75238a02b8c9f7a978881a01203e0928e100c18df2257ec4a3cef608141b6846c616566388134a4ec31364f26d0bc2b0fadbb0dac SHA512 1af433b5c2311612ad650ea196ddfedb444e9ccb424df72422759f8647fe6cc22bb81a15933f2716cf40313ce3b2e262c077168aa831758d057a1f2e5e1499ff |
22 |
DIST sentry-sdk-0.17.7.tar.gz 184034 BLAKE2B de71b2e270594abe2e16d7e2fb9db3028e3c2abd4539269562e8786e6d937352153da21d6366d5e0384e3de1dbd6fbabe3d5060a6f0f9953bd260fbd865c893d SHA512 2360321ec0231ba76c968ff4e6dc78d42a48106aa6aade73a1c1194f9406fbafea3b533994da42027b3479302756ed3ec6e44ce551cb01ce60397939beaeb6d4 |
23 |
DIST sentry-sdk-0.17.8.tar.gz 184271 BLAKE2B d34f881632e66d5db5cad0c6979de6c3c6205119af30b34996122ff7aff1ed7c3dd0c1603e57163f5d72c8525921f9af7c3e1c729adb14b43dbcee0aa4bd9fc5 SHA512 84ae0ca888457ed833b416320c45040e522a656d7c3ca0d64639f179e7be3237f53cfe4827e986a50d37bd7b61da765ed8c00ea663d478874cc47623ccf47a51 |
24 |
+DIST sentry-sdk-0.18.0.tar.gz 186389 BLAKE2B f531d68a1244c34d267cb332263c996afad31f7f72710b868e14850f06de6225a11fc37dca9ff820fc14d2f1b29919cfb10f59b7dc4449c0734458c6bd1b9816 SHA512 4c78418392668b1e061f0d6b88d3cc3511db138a99b08df50d2e610a7d8a5528ad83943ef1cfda8d508cb3b52f511f872ac87439460254a6b28348c9bb92406c |
25 |
|
26 |
diff --git a/dev-python/sentry-sdk/sentry-sdk-0.18.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-0.18.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..1e52e8d5510 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/sentry-sdk/sentry-sdk-0.18.0.ebuild |
31 |
@@ -0,0 +1,85 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{6..9} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Python client for Sentry" |
42 |
+HOMEPAGE="https://getsentry.com https://pypi.org/project/sentry-sdk/" |
43 |
+SRC_URI="https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+S="${WORKDIR}/sentry-python-${PV}" |
45 |
+ |
46 |
+LICENSE="PSF-2" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-python/urllib3[${PYTHON_USEDEP}] |
52 |
+ dev-python/certifi[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+BDEPEND=" |
55 |
+ test? ( |
56 |
+ dev-python/asttokens[${PYTHON_USEDEP}] |
57 |
+ <dev-python/dnspython-2[${PYTHON_USEDEP}] |
58 |
+ dev-python/executing[${PYTHON_USEDEP}] |
59 |
+ dev-python/eventlet[${PYTHON_USEDEP}] |
60 |
+ dev-python/fakeredis[${PYTHON_USEDEP}] |
61 |
+ dev-python/flask-login[${PYTHON_USEDEP}] |
62 |
+ dev-python/gevent[${PYTHON_USEDEP}] |
63 |
+ dev-python/jsonschema[${PYTHON_USEDEP}] |
64 |
+ dev-python/pyrsistent[${PYTHON_USEDEP}] |
65 |
+ dev-python/pytest-aiohttp[${PYTHON_USEDEP}] |
66 |
+ dev-python/pytest-forked[${PYTHON_USEDEP}] |
67 |
+ dev-python/pytest-localserver[${PYTHON_USEDEP}] |
68 |
+ dev-python/werkzeug[${PYTHON_USEDEP}] |
69 |
+ $(python_gen_cond_dep ' |
70 |
+ dev-python/aiocontextvars[${PYTHON_USEDEP}] |
71 |
+ dev-python/contextvars[${PYTHON_USEDEP}] |
72 |
+ ' python3_6) |
73 |
+ ) |
74 |
+" |
75 |
+ |
76 |
+distutils_enable_tests pytest |
77 |
+ |
78 |
+python_test() { |
79 |
+ local deselect=( |
80 |
+ # tests require Internet access |
81 |
+ --deselect tests/integrations/stdlib/test_httplib.py |
82 |
+ --deselect tests/integrations/requests/test_requests.py |
83 |
+ # wtf is it supposed to do?! |
84 |
+ --deselect tests/integrations/gcp/test_gcp.py |
85 |
+ # fails on py3.6, hangs on py3.7+ |
86 |
+ --deselect |
87 |
+ 'tests/test_transport.py::test_transport_works[eventlet' |
88 |
+ # TODO |
89 |
+ --deselect |
90 |
+ 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' |
91 |
+ --deselect |
92 |
+ tests/test_client.py::test_databag_depth_stripping |
93 |
+ --deselect |
94 |
+ tests/test_client.py::test_databag_string_stripping |
95 |
+ --deselect |
96 |
+ tests/test_client.py::test_databag_breadth_stripping |
97 |
+ # test_filename: apparently unhappy about pytest being called pytest |
98 |
+ --deselect 'tests/utils/test_general.py::test_filename' |
99 |
+ # test_circular_references: apparently fragile |
100 |
+ --deselect |
101 |
+ 'tests/integrations/threading/test_threading.py::test_circular_references' |
102 |
+ ) |
103 |
+ [[ ${EPYTHON} == python3.6 ]] && deselect+=( |
104 |
+ # broken with contextvars on py3.6 |
105 |
+ --deselect |
106 |
+ 'tests/utils/test_contextvars.py::test_leaks[greenlet]' |
107 |
+ --deselect |
108 |
+ 'tests/test_transport.py::test_transport_works[greenlet' |
109 |
+ ) |
110 |
+ |
111 |
+ # Prevent tests/integrations/modules/test_modules.py:test_basic failure |
112 |
+ # Needs to detect sentry-sdk in the installed modules |
113 |
+ distutils_install_for_testing |
114 |
+ |
115 |
+ pytest -vv "${deselect[@]}" || die "Tests failed with ${EPYTHON}" |
116 |
+} |