diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 23:02:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 23:02:44 +0100 |
commit | db063b515939ab15261136b24e4bc44386335c0c (patch) | |
tree | 54c06cac96a32ba6fe5f69e52616a2ab27bbb6d6 /dev-python/sentry-sdk | |
parent | 8b4ace9c50842c5b83401ea7b179dcab940387e1 (diff) |
gentoo resync : 24.09.2020
Diffstat (limited to 'dev-python/sentry-sdk')
-rw-r--r-- | dev-python/sentry-sdk/Manifest | 2 | ||||
-rw-r--r-- | dev-python/sentry-sdk/sentry-sdk-0.17.8.ebuild | 85 |
2 files changed, 87 insertions, 0 deletions
diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index 1cde4e93d512..f51590adec89 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,7 +1,9 @@ DIST sentry-sdk-0.16.3.tar.gz 170145 BLAKE2B bf619313fb3f49800f5384f0dfec3aa34ef4bb030c5e038a485a8861a733a537ee7c834c8c200a2244335c3c61e7d564005b81d4e5c5f603d2864b2a943a5384 SHA512 e8589f7bd433d4aff068099e860c0cf012fc88dc63806873573a338bb91848d73e0a2af76dad0a5e023a1b25b0be85507346b77dec5c5a265942005219541699 DIST sentry-sdk-0.17.6.tar.gz 183157 BLAKE2B ea0f6af54c31abc785274fc75238a02b8c9f7a978881a01203e0928e100c18df2257ec4a3cef608141b6846c616566388134a4ec31364f26d0bc2b0fadbb0dac SHA512 1af433b5c2311612ad650ea196ddfedb444e9ccb424df72422759f8647fe6cc22bb81a15933f2716cf40313ce3b2e262c077168aa831758d057a1f2e5e1499ff DIST sentry-sdk-0.17.7.tar.gz 184034 BLAKE2B de71b2e270594abe2e16d7e2fb9db3028e3c2abd4539269562e8786e6d937352153da21d6366d5e0384e3de1dbd6fbabe3d5060a6f0f9953bd260fbd865c893d SHA512 2360321ec0231ba76c968ff4e6dc78d42a48106aa6aade73a1c1194f9406fbafea3b533994da42027b3479302756ed3ec6e44ce551cb01ce60397939beaeb6d4 +DIST sentry-sdk-0.17.8.tar.gz 184271 BLAKE2B d34f881632e66d5db5cad0c6979de6c3c6205119af30b34996122ff7aff1ed7c3dd0c1603e57163f5d72c8525921f9af7c3e1c729adb14b43dbcee0aa4bd9fc5 SHA512 84ae0ca888457ed833b416320c45040e522a656d7c3ca0d64639f179e7be3237f53cfe4827e986a50d37bd7b61da765ed8c00ea663d478874cc47623ccf47a51 EBUILD sentry-sdk-0.16.3.ebuild 621 BLAKE2B d2ffc79e8d2ec8daad9d01f0120760c3d1225bfebf1162cd5246bb1b7ddc5f176e6ba1b272701cb5b3a99aefe171f660cafa6be0e8594a65c0e7d2d803fb199f SHA512 32df9a79cf7988ae3687264f2ab7eca66af45447886e5e7cd33de8218373b49eb3222bb5cd30fa64648c46dbc6453176e555a27a94e1388d3d6295fe3c8060b8 EBUILD sentry-sdk-0.17.6.ebuild 2705 BLAKE2B a5750df9d8da0160089bffc496d716dd427d772dc998fe00916c424fb8f21697557247cb5751404747277ff96a00a45b6708aadfef7777784d5c2f0628eb8160 SHA512 077901b2c5c659bffb6c0191dd779c6744df98b7bfc2e5204bfdb05c43fbd98129f5b5e71cebdcaa3a7cb01034416c4071e2bf06fbcc72a0573530f35be89616 EBUILD sentry-sdk-0.17.7.ebuild 2705 BLAKE2B a5750df9d8da0160089bffc496d716dd427d772dc998fe00916c424fb8f21697557247cb5751404747277ff96a00a45b6708aadfef7777784d5c2f0628eb8160 SHA512 077901b2c5c659bffb6c0191dd779c6744df98b7bfc2e5204bfdb05c43fbd98129f5b5e71cebdcaa3a7cb01034416c4071e2bf06fbcc72a0573530f35be89616 +EBUILD sentry-sdk-0.17.8.ebuild 2705 BLAKE2B a5750df9d8da0160089bffc496d716dd427d772dc998fe00916c424fb8f21697557247cb5751404747277ff96a00a45b6708aadfef7777784d5c2f0628eb8160 SHA512 077901b2c5c659bffb6c0191dd779c6744df98b7bfc2e5204bfdb05c43fbd98129f5b5e71cebdcaa3a7cb01034416c4071e2bf06fbcc72a0573530f35be89616 MISC metadata.xml 446 BLAKE2B d115ce1b9a1d92cfeb93cd220c96247f1d6ae9514b0d598a0abc9fc6b17e45851a33e6f61b364f682f6530e4ac2611fd0a65b2fb5b21d394e78030f6ef34d1fa SHA512 f7167d56812496468a0766bf6e7d29b99e5efcef8cd61723ed7b09188b515b50fa13275d665f7ff8400b5b451e05ddcec403cc4c75e55509b21b849cafde0a3e diff --git a/dev-python/sentry-sdk/sentry-sdk-0.17.8.ebuild b/dev-python/sentry-sdk/sentry-sdk-0.17.8.ebuild new file mode 100644 index 000000000000..1e52e8d55106 --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-0.17.8.ebuild @@ -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}" +} |