re-add older sentry-sdk (from main)

This commit is contained in:
2022-02-17 19:55:24 +01:00
committed by Andreas Billmeier
parent 9f8734658c
commit 717b9703e1
3 changed files with 85 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
DIST sentry-sdk-1.4.1.tar.gz 230985 BLAKE2B 0c193d5d564377d484e8e1ba2d30580ad373114e6a1eb3c4d38af6d9745aa788d1369836c4686b80503a027810273cd3a2d1833a6df18d32e1f352f6fb418c8c SHA512 b38ce6448553a05158690808ed4e7013c44f35922c1eb1662f3f9fa73e1c5f9d8a5385eccb8ebd062eae27b7e037ce0c204778ffd24b9ccf38b14d8e511d4cc9
DIST sentry-sdk-1.4.3.tar.gz 231054 BLAKE2B 39509b3f7b12e773e23881772cf2d3445374181f7bd23b3a7abe3cbdae012b03b43bcd4ce811a40cd2c7916cae378698ea5a53909b2f679d8b3f3598e675719e SHA512 bd5a1b75a437d28348f980cad0bad30cbcd2872fc9678e50d69bca73e0a08a8e663f0fd54607174122072dafad6055acc73db34c6ca92ec9d00efed41e5c1c97
DIST sentry-sdk-1.5.0.tar.gz 233213 BLAKE2B f3debc106d1009eff09ae2acb1073d3a8244e39a746e063e869ee158a47a6542f485e8030515b1c633ca978950a4543c3a0ea4e2b1fb4408e478fde2d92bf33b SHA512 7cd9706749712ab55137b0eb05d100c42b9d644ffe76773ff97fc738ad3c1525b4381f8ea9168d8a87ee9932642837b542695bbe96bc2662a246a41368fd40d4
EBUILD sentry-sdk-1.4.1.ebuild 2386 BLAKE2B c628c5a82e0784433585cd6e65887baa093068c83c12d6914ab1b1dca5de16ff1aa44eb38a71068f2b2848e3e7ee787af3949f68208815c2092d8c381b947662 SHA512 98a4b6860d96f9bae485b5f87727693d3704c04d9cf8ef12056e8e5818111c06a0b4d4fce164ac547416abd42aa08ad688b88869c2e485c6baaad1ca45a2edd3
DIST sentry-sdk-1.5.3.tar.gz 239237 BLAKE2B ce519926fd1873d1c94b76816c8e1d4831d0893ca030e7703d0976dd54930847bd4b1ab7f55ec45c0826bf4ae559a4d56e980f280973f660ff02061b02bd47a6 SHA512 47614f77f31aaaf4891da0dcf64c42e8f2bf42a6d776cba92beb5dab4de6ee28e0f65bd47293c14e9b847455293de021420592bb80af4a4e2e52a3bb89e5d869
EBUILD sentry-sdk-1.4.3.ebuild 2384 BLAKE2B 528e2fa48742201bc1a71643a832ef712e254f3e884e08c3374c46f1006627fc983b3e52de2447189e5fa783f2decb75c9e654c5476a7d89a4576d8c36b7a739 SHA512 23f05193bcd03eb799e32e7356c22fd14c61fcc4fdcb4fd5b3a77027d126af114d27d2b9cc95fa72e25395baee3097fddf3943800e72486dc4492791b4cf39da
EBUILD sentry-sdk-1.5.0.ebuild 2471 BLAKE2B b49d9a95db2f364cf538d4937db2bf5592858098e4d915a85d682e1961648a909fb993804dca5438eff15d2453b79b35bea1d2b3079fe139145cec5eac20b077 SHA512 758347aea2c1b199e454c0ca2585e58ec955ead0756554455643995895828d4b9254879db6c1bc6527b896581a50cf756381af881a2c008fd9a89e7234e958bc
EBUILD sentry-sdk-1.5.3.ebuild 2593 BLAKE2B c7223bc55e783f6b93e77ac031077bd27e271799884aa1e97daeddf383bdb774f5c58af41df990f1bcb4dce6d73c8801ead481e0793c8e87c70dc761e1f0c9a8 SHA512 691e050d257372c081eb9a7d9b33dd0d762e642cd9aa190991050399fa196ba6590f4ad7a051b83731af2dde6bebc22a6f40581c536d38dcc91098afbb23cfec
MISC metadata.xml 466 BLAKE2B 052e9ad2127aed109048314d72b2e1a172832bb502100a6ce39262cb391f3c244deef5051cea08834094fe8118ec0455b3a4360438201074db104450eee49fb7 SHA512 41a963f5fae0b84263b90707b61ef1b0c45f8ad342e52f325978ede2cf757aa0c4978e3bf0e47b88aa6694fa86a3824cb120f767c265b9a570d343be5dcdbade

View File

@@ -13,7 +13,7 @@ S="${WORKDIR}/sentry-python-${PV}"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86"
RDEPEND="
dev-python/urllib3[${PYTHON_USEDEP}]

View File

@@ -0,0 +1,80 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Python client for Sentry"
HOMEPAGE="https://sentry.io/ 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 ~sparc ~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/executing[${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}]
dev-python/zope-event[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/eventlet[${PYTHON_USEDEP}]
' python3_{8..9})
)
"
distutils_enable_tests pytest
python_test() {
local EPYTEST_IGNORE=(
# tests require Internet access
tests/integrations/httpx/test_httpx.py
tests/integrations/requests/test_requests.py
tests/integrations/stdlib/test_httplib.py
# wtf is it supposed to do?!
tests/integrations/gcp/test_gcp.py
# broken by rq-1.10.1 (optional dep)
tests/integrations/rq/test_rq.py
)
local EPYTEST_DESELECT=(
# hangs
'tests/test_transport.py::test_transport_works'
# TODO
'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error'
tests/test_client.py::test_databag_depth_stripping
tests/test_client.py::test_databag_string_stripping
tests/test_client.py::test_databag_breadth_stripping
# incompatible version?
tests/integrations/falcon/test_falcon.py
tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated
# test_circular_references: apparently fragile
'tests/integrations/threading/test_threading.py::test_circular_references'
# test for new feature, fails with IndexError
tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler
)
# Prevent tests/integrations/modules/test_modules.py:test_basic failure
# Needs to detect sentry-sdk in the installed modules
distutils_install_for_testing
epytest
}