mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/sentry-sdk: Bump to 0.19.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -4,3 +4,4 @@ DIST sentry-sdk-0.17.7.tar.gz 184034 BLAKE2B de71b2e270594abe2e16d7e2fb9db3028e3
|
||||
DIST sentry-sdk-0.17.8.tar.gz 184271 BLAKE2B d34f881632e66d5db5cad0c6979de6c3c6205119af30b34996122ff7aff1ed7c3dd0c1603e57163f5d72c8525921f9af7c3e1c729adb14b43dbcee0aa4bd9fc5 SHA512 84ae0ca888457ed833b416320c45040e522a656d7c3ca0d64639f179e7be3237f53cfe4827e986a50d37bd7b61da765ed8c00ea663d478874cc47623ccf47a51
|
||||
DIST sentry-sdk-0.18.0.tar.gz 186389 BLAKE2B f531d68a1244c34d267cb332263c996afad31f7f72710b868e14850f06de6225a11fc37dca9ff820fc14d2f1b29919cfb10f59b7dc4449c0734458c6bd1b9816 SHA512 4c78418392668b1e061f0d6b88d3cc3511db138a99b08df50d2e610a7d8a5528ad83943ef1cfda8d508cb3b52f511f872ac87439460254a6b28348c9bb92406c
|
||||
DIST sentry-sdk-0.19.0.tar.gz 186477 BLAKE2B 67e538526d39f814827f2d53ca2b8f59f1a3f13e3a0622e5a1ae8870c04d320dadac2c93e8afa786b47feb9295e6e50beb831112448ab89a1eaae750895378df SHA512 5bf598af1fd7a565fd20f38a3e4961136fc2d102cdb9810cb43802e696897669ae679d82dec14cef5cdf0d3ee9dc7a3def39457b733b1018dd91f82066e2422f
|
||||
DIST sentry-sdk-0.19.1.tar.gz 186747 BLAKE2B ae26751ac2e640b86b3c7426829e699cfdbd1c35e70edf0f1f835e35da82f658990a5f61adc4e7b93b032f6c9824d0df90bb2146f125c1fb846c3436228d5516 SHA512 dd4234a36920893e55026ba5ab8b1476cbc91b035a4b4c78f9dcf29cc8e232dc49c6f7312b8fb3d64cf469552d08ef5cadb65d3a7fb58ba73b87e43375c27c8d
|
||||
|
||||
85
dev-python/sentry-sdk/sentry-sdk-0.19.1.ebuild
Normal file
85
dev-python/sentry-sdk/sentry-sdk-0.19.1.ebuild
Normal file
@@ -0,0 +1,85 @@
|
||||
# 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 ~ppc ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/asttokens[${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-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}"
|
||||
}
|
||||
Reference in New Issue
Block a user