diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-11-19 18:12:05 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-11-19 19:17:29 +0100 |
commit | 1430634b4867d8ae5d1235743f4fd76bea440917 (patch) | |
tree | 035ec86a3c9de92655b8a5b0aec77e2a8fc1581f /dev-python/sentry-sdk | |
parent | package.mask: Masked =sys-libs/libcap-ng-0.8.1 (diff) | |
download | gentoo-1430634b4867d8ae5d1235743f4fd76bea440917.tar.gz gentoo-1430634b4867d8ae5d1235743f4fd76bea440917.tar.bz2 gentoo-1430634b4867d8ae5d1235743f4fd76bea440917.zip |
dev-python/sentry-sdk: Bump to 0.19.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/sentry-sdk')
-rw-r--r-- | dev-python/sentry-sdk/Manifest | 1 | ||||
-rw-r--r-- | dev-python/sentry-sdk/sentry-sdk-0.19.4.ebuild | 87 |
2 files changed, 88 insertions, 0 deletions
diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index ae77f4b20e36..df2ff6ed86e8 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -4,3 +4,4 @@ DIST sentry-sdk-0.18.0.tar.gz 186389 BLAKE2B f531d68a1244c34d267cb332263c996afad DIST sentry-sdk-0.19.1.tar.gz 186747 BLAKE2B ae26751ac2e640b86b3c7426829e699cfdbd1c35e70edf0f1f835e35da82f658990a5f61adc4e7b93b032f6c9824d0df90bb2146f125c1fb846c3436228d5516 SHA512 dd4234a36920893e55026ba5ab8b1476cbc91b035a4b4c78f9dcf29cc8e232dc49c6f7312b8fb3d64cf469552d08ef5cadb65d3a7fb58ba73b87e43375c27c8d DIST sentry-sdk-0.19.2.tar.gz 199116 BLAKE2B c7e362003746e98e65c33eda3cca91c35cfc81d13d90a88ee70f75f33f564cfde3dfbf8d7a9fa17eadebeffdcd7381835d44d9bbde2c0b2f6268e8f265ba55b1 SHA512 a78c3d16f8414093e9b5e74e56893ba5734716ef5782d39a4dc61194e843ab8c5a17cb3a291c96bc0bbcc1b3b49aa84d50f30d8b41b9916de40e187fb3b0bdbb DIST sentry-sdk-0.19.3.tar.gz 205847 BLAKE2B dfd74fffdd9bf8075e43c2a86131f5aca04a84b198efa0625e4b2f71963fa9438897909ac45b44277696e516b339a1a8b5f42362243bbc4ff205086217e9e20e SHA512 e99df3290874c5080bee0152e062a63b0e3dac3db4726d0f93c71fc9f1b89b16bd386d26280b3cd364282121e4b6bc3843a53f2e830919a3aa710da1cae1b36f +DIST sentry-sdk-0.19.4.tar.gz 205992 BLAKE2B fdf7d1a29a04be01bc3b7dd7ef7ee0ad33bb03241d9c62e152aa829b2faddb52e7307705ec4f7d89db912ac625de477999167ea66372bcf9304caef31fb65aa4 SHA512 bc8d23b6767a1809ecb4d43becbe266f1e068cfb953cbad280313e54fd3d679308eace42fd880f356bac2f216894e45ee1b51eb2fc74f73f9e433bae406a2a37 diff --git a/dev-python/sentry-sdk/sentry-sdk-0.19.4.ebuild b/dev-python/sentry-sdk/sentry-sdk-0.19.4.ebuild new file mode 100644 index 000000000000..c95a72931379 --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-0.19.4.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 + +DESCRIPTION="Python client for Sentry" +HOMEPAGE="https://getsentry.com https://pypi.org/project/sentry-sdk/" +SRC_URI="https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/sentry-python-${PV}" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + <dev-python/dnspython-2[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/eventlet[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/gevent[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/aiocontextvars[${PYTHON_USEDEP}] + dev-python/contextvars[${PYTHON_USEDEP}] + ' python3_6) + ) +" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # tests require Internet access + --deselect tests/integrations/stdlib/test_httplib.py + --deselect tests/integrations/requests/test_requests.py + # wtf is it supposed to do?! + --deselect tests/integrations/gcp/test_gcp.py + # fails on py3.6, hangs on py3.7+ + --deselect + 'tests/test_transport.py::test_transport_works[eventlet' + # TODO + --deselect + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' + --deselect + tests/test_client.py::test_databag_depth_stripping + --deselect + tests/test_client.py::test_databag_string_stripping + --deselect + tests/test_client.py::test_databag_breadth_stripping + # test_filename: apparently unhappy about pytest being called pytest + --deselect 'tests/utils/test_general.py::test_filename' + # test_circular_references: apparently fragile + --deselect + 'tests/integrations/threading/test_threading.py::test_circular_references' + ) + [[ ${EPYTHON} == python3.6 ]] && deselect+=( + # broken with contextvars on py3.6 + --deselect + 'tests/utils/test_contextvars.py::test_leaks[greenlet]' + --deselect + 'tests/test_transport.py::test_transport_works[greenlet' + ) + + # Prevent tests/integrations/modules/test_modules.py:test_basic failure + # Needs to detect sentry-sdk in the installed modules + distutils_install_for_testing + + pytest -vv "${deselect[@]}" || die "Tests failed with ${EPYTHON}" +} |