mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 18:27:07 -08:00
dev-python/sentry-sdk: cleanup redundant versions
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST sentry-sdk-0.16.3.tar.gz 170145 BLAKE2B bf619313fb3f49800f5384f0dfec3aa34ef4bb030c5e038a485a8861a733a537ee7c834c8c200a2244335c3c61e7d564005b81d4e5c5f603d2864b2a943a5384 SHA512 e8589f7bd433d4aff068099e860c0cf012fc88dc63806873573a338bb91848d73e0a2af76dad0a5e023a1b25b0be85507346b77dec5c5a265942005219541699
|
||||
DIST sentry-sdk-0.17.5.tar.gz 183114 BLAKE2B a2fdd5fb0ffb18f7987eae9f3837a4bf4df20df9757d89bcc3ec18f7022d20de083c905f6edbb854bcc7f074f6d158cbf30f69d953a75048e7d9d0d98e859477 SHA512 5f0d6679832fed346d00b27bac9f680909a7ede38e46b1c05c583fcc574edc193d855dba2f11a629e2919da5e13cc2e89f6c0b231e47bc7b0a67138ff7905d9f
|
||||
DIST sentry-sdk-0.17.6.tar.gz 183157 BLAKE2B ea0f6af54c31abc785274fc75238a02b8c9f7a978881a01203e0928e100c18df2257ec4a3cef608141b6846c616566388134a4ec31364f26d0bc2b0fadbb0dac SHA512 1af433b5c2311612ad650ea196ddfedb444e9ccb424df72422759f8647fe6cc22bb81a15933f2716cf40313ce3b2e262c077168aa831758d057a1f2e5e1499ff
|
||||
|
||||
@@ -1,85 +0,0 @@
|
||||
# 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 ~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