restore sentry-sdk-1.3.0 from main repo (still needed)

This commit is contained in:
Andreas Billmeier 2021-08-08 15:51:41 +02:00 committed by Andreas Billmeier
parent 47d1fe1588
commit 1b77e43f28
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 12 additions and 111 deletions

View File

@ -1,9 +1,5 @@
DIST sentry-sdk-0.20.1.tar.gz 99177 BLAKE2B b6729c737289f8b47080df456dac5bdd0b644e238948c78ee9cba279bfed6c1f38e0e1b61c619100481b6bde8289cf1e35b215712e9cdad9949a7da58189a15d SHA512 f906a2570598cba852f4f76b353887b2c91b9a053a43e97eb5d97e3f4b04ce28681e7c999f6c7321f06bbfe0de19c623a3903c8c57235c749026c40200935bdd
DIST sentry-sdk-0.20.2.tar.gz 210799 BLAKE2B 7a7b4350b664ee6947fcba64aa07a4e9f8ec274de7433d64acce55d490ea91f97a19ab7116e7af3109f806c91261f50127c72627bca1bbf76c43ad4ac89455e2 SHA512 3fb2d4ae960c86582e778afb0fdf12f3ff9103a83fb12a6c920bd6fe1e210842d29d2cfba12c254199a491a5b42288df0c388b37a8709fdabc9e6e9687b178c1
DIST sentry-sdk-0.20.3.tar.gz 212130 BLAKE2B 48084039c493ca2903f56426913ea8f8f0480b759157270fe6ea4dfae72f9478d8566f8a86f6f863c06adb01379e980d5f873372f401a8d3f255f62f8a149b45 SHA512 0392fcf0e718f7d06200fa44fedf1aac46a2f61d11a8252ca339652d5385a377545128c1c4b9e31e1e1a8c8c9a8c57ded569b829312a748d84ad98696a897944
DIST sentry-sdk-1.0.0.tar.gz 213707 BLAKE2B 9fa3dfac7d82c9e2c81be6f4edafbc27ab19a2a96876885dabe72d2dbd6cf392b80e453c640affb94d84f35b227b12d56927bec88e01a0ebfdcf8a466470a909 SHA512 e91ede3e5e31c2acba7094bd5c6a95280aa8367b1fcd524fc9b100d2a3a253efec1ed3d9c72465f5b2ef5276c834906d622b84e1650b65d2032f4acaf2fd1ab8
EBUILD sentry-sdk-0.20.1.ebuild 2083 BLAKE2B 485b47b16188f1710e3f258dd25f5f9058020121296f1c068672f0c0bdf04eba5f72db1430b62aad257ec15dc79c21b765481c510ee3fa88e03d6ff3394392a4 SHA512 8d8d3fb8edb1d5d48449fe22f15d177dfb02efd40ada0d13ab771d4c5c244f8011ad65f94dce3439511e9edf1255e482ff6b9effd3b8b970abe14453db0407b2
EBUILD sentry-sdk-0.20.2.ebuild 822 BLAKE2B a62a880c45d42817d64656058048d0e4e055d2a393526680322a44bcc4fe8b314f6d7c9545b09b111c94e6ae29c16cabd4a96baa5b548a152a07dab39690a108 SHA512 9651e2b96c2459631ed21731aad9c3008d1d4a5807f4037d164a8ae7eda91942408946fb03bbdb2dbcd0d7cf7df5d753305bc9e2404c860be2a56b7c9980e2f6
EBUILD sentry-sdk-0.20.3.ebuild 2087 BLAKE2B a61f077715b5f23adb7029affe8020f2d1f943d96d940d9ee54ca8e075124168e77a07f1c7958e39c49709074458494b8fc31b0a1127960384e205dd64dbbbe9 SHA512 69894a4bd77a500d35e0ff5a0a054ccd280923bbed4a8f9b64a149a491d6240e9d28a96a436b7ab7af9f3f37753cf8d39a68670d7ee73ddc3d7ee2e825ca54ac
DIST sentry-sdk-1.3.0.tar.gz 219259 BLAKE2B d1da04dc80653f1f55e03e43f71e19b27588110e34dfd3c8b6968e8966e3ee6df1818bf7d0e23dab2534723b9ea93488933bd23ec763935c5683aa800b335152 SHA512 44e96654a3e4288e63e0fc780ccdf16e5a105ab51af32de146159b9affcc42fbc7004df6673e84369f802e8fdb4e060d1f756945afbe0465dca078d28ad242fb
EBUILD sentry-sdk-1.0.0.ebuild 2233 BLAKE2B b44b21f739dacd61dc37a7f737d3d4bfa24ac42886630c7014e1ce742ff4c4a3e0b24544f4df619628093c951ead6e99cd074bb9470fe3848de8ebaf2f65380d SHA512 bd27befde5857b23198019e7d34e1f25f73375eedd10bb94fd3fb97f71edc569de2f307951c86eca56bd3dc644f5ae7397aaf9e6d967c867cd91d460f00bdedd
EBUILD sentry-sdk-1.3.0.ebuild 2348 BLAKE2B 3da27b983c50cda97e229946a537d2b44adb4acb3a508f1652788d45c6425f8a85df7ad1638a8572af316a5cfe33ccbe4542bf44526080e0a6b824b697492797 SHA512 bdb8d55494c9ebd309a1b1f4e729d92bb312ab24f66d5337dc7ffa4f23008749880a988adc3244f83b176412c4f179b1006b20e2159427863e81204207cedfc4
MISC metadata.xml 466 BLAKE2B 052e9ad2127aed109048314d72b2e1a172832bb502100a6ce39262cb391f3c244deef5051cea08834094fe8118ec0455b3a4360438201074db104450eee49fb7 SHA512 41a963f5fae0b84263b90707b61ef1b0c45f8ad342e52f325978ede2cf757aa0c4978e3bf0e47b88aa6694fa86a3824cb120f767c265b9a570d343be5dcdbade

View File

@ -1,66 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
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/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-django[${PYTHON_USEDEP}]
dev-python/pytest-forked[${PYTHON_USEDEP}]
dev-python/pytest-localserver[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
local deselect=(
# tests require Internet access
tests/integrations/stdlib/test_httplib.py
tests/integrations/requests/test_requests.py
# wtf is it supposed to do?!
tests/integrations/gcp/test_gcp.py
# hangs
'tests/test_transport.py::test_transport_works[eventlet'
# 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
# test_circular_references: apparently fragile
'tests/integrations/threading/test_threading.py::test_circular_references'
)
# 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[@]/#/--deselect } || die "Tests failed with ${EPYTHON}"
}

View File

@ -1,34 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="Python client for Sentry (https://sentry.io)"
HOMEPAGE="https://github.com/getsentry/sentry-python https://pypi.org/project/sentry-sdk/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
S="${WORKDIR}/sentry-python-${PV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND="dev-python/certifi[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.10.0[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -1,10 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="Python client for Sentry"
@ -31,6 +30,7 @@ BDEPEND="
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}]
@ -43,8 +43,9 @@ distutils_enable_tests pytest
python_test() {
local deselect=(
# tests require Internet access
tests/integrations/stdlib/test_httplib.py
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
# hangs
@ -54,13 +55,17 @@ python_test() {
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
# 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
pytest -vv ${deselect[@]/#/--deselect } || die "Tests failed with ${EPYTHON}"
epytest ${deselect[@]/#/--deselect }
}