diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/libcst/libcst-1.3.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/merge3/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/merge3/merge3-0.0.15.ebuild | 25 | ||||
| -rw-r--r-- | dev-python/minify-html/minify-html-0.15.0.ebuild | 7 | ||||
| -rw-r--r-- | dev-python/mkdocstrings/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/mkdocstrings/mkdocstrings-0.25.1.ebuild | 61 | ||||
| -rw-r--r-- | dev-python/patiencediff/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/patiencediff/patiencediff-0.2.15.ebuild | 27 | ||||
| -rw-r--r-- | dev-python/python-mpv/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/python-mpv/python-mpv-1.0.6.ebuild | 46 | ||||
| -rw-r--r-- | dev-python/qtconsole/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/qtconsole/qtconsole-5.5.2.ebuild | 66 | ||||
| -rw-r--r-- | dev-python/rpds-py/Manifest | 8 | ||||
| -rw-r--r-- | dev-python/rpds-py/rpds-py-0.18.1.ebuild | 70 | ||||
| -rw-r--r-- | dev-python/sentry-sdk/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/sentry-sdk/sentry-sdk-2.1.1.ebuild | 119 |
16 files changed, 435 insertions, 2 deletions
diff --git a/dev-python/libcst/libcst-1.3.1.ebuild b/dev-python/libcst/libcst-1.3.1.ebuild index a9734c687bbc..eeb917193268 100644 --- a/dev-python/libcst/libcst-1.3.1.ebuild +++ b/dev-python/libcst/libcst-1.3.1.ebuild @@ -154,7 +154,7 @@ BDEPEND=" EPYTEST_XDIST=1 distutils_enable_tests pytest -QA_PREBUILT="usr/lib/py.*/site-packages/libcst/native.*" +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/libcst/native.*" python_test() { local EPYTEST_IGNORE=( diff --git a/dev-python/merge3/Manifest b/dev-python/merge3/Manifest index b9ae3a58fa5a..f49c0a0d9b61 100644 --- a/dev-python/merge3/Manifest +++ b/dev-python/merge3/Manifest @@ -1 +1,2 @@ DIST merge3-0.0.14.gh.tar.gz 16109 BLAKE2B 482ad2aa32cbfc535c0c96d8c7d25fff4dad3e3ea00ccc48c7c89086e143e2d4c13b49eef79532123f282ac81b3797f6358fccf7115c1b2776c80df76ea6cc82 SHA512 62ed82925838329be7cf1e9456bb6bb02e85a41a0c54cff94f32624c29d9c15c47c3f3f7ec6b1e8f421f3648000964e1afff36a913ca49bf3fb95a52faa71b83 +DIST merge3-0.0.15.gh.tar.gz 16783 BLAKE2B 6c6a7ac8e8be8d4711c8dbf69fb38eb3b90b93281295d5ae172f371d3c8a1647a2f0e3c14725b760d9dcc0dfd77583170487956e9de87f21720d6db1be19e3eb SHA512 d87ead80219e14b210840333396e274d46ef282c12a3de61ae06efb186f0bfd9c65f3ccbd7566ec62766201ed33a962bdc3ea3c30efbd241fd0018b69b94e3e4 diff --git a/dev-python/merge3/merge3-0.0.15.ebuild b/dev-python/merge3/merge3-0.0.15.ebuild new file mode 100644 index 000000000000..21cc1f7c6de3 --- /dev/null +++ b/dev-python/merge3/merge3-0.0.15.ebuild @@ -0,0 +1,25 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python implementation of 3-way merge" +HOMEPAGE=" + https://github.com/breezy-team/merge3 + https://pypi.org/project/merge3/ +" +SRC_URI=" + https://github.com/breezy-team/merge3/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +distutils_enable_tests unittest diff --git a/dev-python/minify-html/minify-html-0.15.0.ebuild b/dev-python/minify-html/minify-html-0.15.0.ebuild index ea3ba47d2029..6256a16e58a5 100644 --- a/dev-python/minify-html/minify-html-0.15.0.ebuild +++ b/dev-python/minify-html/minify-html-0.15.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -38,3 +38,8 @@ SLOT="0" KEYWORDS="~amd64 ~arm64" QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/minify_html/minify_html.*.so" + +src_prepare() { + sed -i -e '/strip/d' Cargo.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/mkdocstrings/Manifest b/dev-python/mkdocstrings/Manifest index 5aac1924bd96..99f9b832c5ec 100644 --- a/dev-python/mkdocstrings/Manifest +++ b/dev-python/mkdocstrings/Manifest @@ -1,2 +1,3 @@ DIST mkdocstrings-0.24.3.gh.tar.gz 88575 BLAKE2B a8567868e1572104773a0ca739966a4d6f5c13e02f29dfb0cfd68fe8cbe9c44805adb8fa029489e057b136e37f3587edebc2ec3e18d73d5eadc05a494a4d2ea5 SHA512 a93b1b07137c8403c5e049a57f0c26c629cbc37112181eae141390bd2863826d17c32e93a626a3627c56242a4227954885e81000122227ce1cd7dc8698c67b37 DIST mkdocstrings-0.25.0.gh.tar.gz 89714 BLAKE2B 536bce1178b7f9ca3cf25d73ea6c5a9533f80b4453520ac4681cac845c9a3016cdc184bb676528953e5b79efb27c4acd87912205c231e295ffca9cd4549cb31a SHA512 2e938bbcc2d6b3fb5c7805a5371f458f962af7db288fdfa3ae1ca38d948d0c6d8280425171276d2181f5213da971dfbb6554b23130d66177d1da8a2f235bb1d1 +DIST mkdocstrings-0.25.1.gh.tar.gz 89869 BLAKE2B 248436eeabafbb7cbee27362b43d2feadeadda7692b5843621bd97261e17a93783c38f37850700c6e79b7f23f15fdc8f21567329afba9b4fb0618f277acc1865 SHA512 155dc5d15fd71f9c5dbd5d5f70f380ad5197fc0c1dc0fe722205b30decbd19307daa631d3a4a40206cdf36981f414ea1a4c001d8cef517ffed569e96ea0e8302 diff --git a/dev-python/mkdocstrings/mkdocstrings-0.25.1.ebuild b/dev-python/mkdocstrings/mkdocstrings-0.25.1.ebuild new file mode 100644 index 000000000000..412f286a0c81 --- /dev/null +++ b/dev-python/mkdocstrings/mkdocstrings-0.25.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Automatic documentation from sources, for MkDocs" +HOMEPAGE=" + https://mkdocstrings.github.io/ + https://github.com/mkdocstrings/mkdocstrings/ + https://pypi.org/project/mkdocstrings/ +" +# Tests require files absent from PyPI tarballs +SRC_URI=" + https://github.com/mkdocstrings/mkdocstrings/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/click-7.0[${PYTHON_USEDEP}] + >=dev-python/jinja-2.11.1[${PYTHON_USEDEP}] + >=dev-python/markdown-3.3[${PYTHON_USEDEP}] + >=dev-python/markupsafe-1.1[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.5[${PYTHON_USEDEP}] + >=dev-python/mkdocs-autorefs-0.3.1[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-6.3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/markdown-exec[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] + dev-python/mkdocstrings-python[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) +" + +# mkdocstrings documentation generation requires several currently +# unpackaged mkdocs extensions and plug-ins, and this test +# makes use of mkdocs configuration +EPYTEST_DESELECT=( + tests/test_plugin.py::test_disabling_plugin + # WTF, it tries to unlink installed files from installed package?! + tests/test_handlers.py::test_extended_templates + # Needs unpackaged mkdocs-callouts, mkdocs-literate-nav, and possibly more + tests/test_inventory.py::test_sphinx_load_mkdocstrings_inventory_file + # Internet + tests/test_inventory.py::test_load_inventory +) + +distutils_enable_tests pytest + +export PDM_BUILD_SCM_VERSION=${PV} diff --git a/dev-python/patiencediff/Manifest b/dev-python/patiencediff/Manifest index c2391999b8ed..0a49cedf738d 100644 --- a/dev-python/patiencediff/Manifest +++ b/dev-python/patiencediff/Manifest @@ -1 +1,2 @@ DIST patiencediff-0.2.14.tar.gz 29258 BLAKE2B 1b7aee1053d08bb5a3e40f62ef39d1f8fe38635a1b5303b33f67df1b8d63a311e3c6523fc5c40f7457c7213db18daa5e839f120fc09e8e1fb2c7524462165a07 SHA512 624db38a072906557a430555d52f914030d1933237cedda76804faafe26d1ff2ad4a569ec90ad887162e48a57078a1accc19e2f417ab095f5b6435912d280998 +DIST patiencediff-0.2.15.tar.gz 27483 BLAKE2B 34b2303be6c65975d9e2f93b089853883db91d7b0570784814e25f74a964427757ad0342db40c8ed02310e0243e51e42edeb1c2787377feff3280c3bd8c5ca80 SHA512 d0cecf461075e3965db16624978b260660bd3444e83fc6121d3efebb96d31b323b7b61fc9e65a4a0098a95284a342a2f321b92f2073c0264cdb1f4b05771938d diff --git a/dev-python/patiencediff/patiencediff-0.2.15.ebuild b/dev-python/patiencediff/patiencediff-0.2.15.ebuild new file mode 100644 index 000000000000..3389cd1e5bf9 --- /dev/null +++ b/dev-python/patiencediff/patiencediff-0.2.15.ebuild @@ -0,0 +1,27 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python implementation of the patiencediff algorithm" +HOMEPAGE=" + https://github.com/breezy-team/patiencediff/ + https://pypi.org/project/patiencediff/ +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +distutils_enable_tests unittest + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + eunittest +} diff --git a/dev-python/python-mpv/Manifest b/dev-python/python-mpv/Manifest index 033afa103a47..22b8437cf70f 100644 --- a/dev-python/python-mpv/Manifest +++ b/dev-python/python-mpv/Manifest @@ -1 +1,2 @@ DIST python-mpv-1.0.5.gh.tar.gz 211622 BLAKE2B eeda4e61c8e2728898ddae7c2cd9e92a7cf718b22aefd8104edf361b7d7feab7655561019cbed35045cbdc4faac96e0d85c77d053bfae61e05052a981bd00342 SHA512 cefc0b38146d707a06e2b9e58951675be8d236c95e24de7665085641b24f7d7d5303130ebdb4c97f4f4c79b6de393c30656d9fc0dabf6760156d4aca8207d77c +DIST python-mpv-1.0.6.gh.tar.gz 212503 BLAKE2B f0b63116f90b0d9e0be7d1f7e3586390d1486a89fd2eee8362f0e569b397a9d61dd597b39307559ea4206fdb98c70bbb09e07fbcbc64d60026b21522c1396053 SHA512 f5848f62f978372b04d09e89e9d04b64ff0c437a1f9f63c4ba4751bbe4a8bd0eb20e7503a3f25c7ca64ef0ab5c91db8be68473dbc29a04d78a9246ed784bcc38 diff --git a/dev-python/python-mpv/python-mpv-1.0.6.ebuild b/dev-python/python-mpv/python-mpv-1.0.6.ebuild new file mode 100644 index 000000000000..b1166125d73f --- /dev/null +++ b/dev-python/python-mpv/python-mpv-1.0.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 virtualx + +DESCRIPTION="Python interface to the mpv media player" +HOMEPAGE=" + https://github.com/jaseg/python-mpv/ + https://pypi.org/project/python-mpv/ +" +SRC_URI=" + https://github.com/jaseg/python-mpv/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + media-video/mpv[libmpv] + dev-python/pillow[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pyvirtualdisplay[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # hanging tests + tests/test_mpv.py::TestLifecycle::test_wait_for_property_event_overflow + tests/test_mpv.py::TestStreams::test_custom_stream + ) + + virtx epytest +} diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest index 13a064a241d9..a9ed92db51ad 100644 --- a/dev-python/qtconsole/Manifest +++ b/dev-python/qtconsole/Manifest @@ -2,3 +2,4 @@ DIST qtconsole-5.4.3.tar.gz 437303 BLAKE2B ead6676dabf342a74c30ecba1f280e697c7e5 DIST qtconsole-5.4.4.tar.gz 437213 BLAKE2B 2def481c7ceb29c8ce92dfb96055310a8ee3a664a77c76da0eac672c6fd036326402a47cdaab25d504a855172067ae73e7f94b874545951674395d82f18374b5 SHA512 95d00a7896579eeba75896dd96efe9f07a54a687eca4ec2c4d9c7cf05029570788cd23267682ee4bce9943cf4d6cb36d7bd1d77be66f6bfd0f37e7d15e0d8f0f DIST qtconsole-5.5.0.tar.gz 438967 BLAKE2B f9833f18ecb0ddadd55793d3dc38b9f421add4ac22cd98849f8770b5762df01c9e4e0e6f5c42baf8e3715e87aa0b6ca5a207f5d2d954b1f6b2a5f9e2664f7669 SHA512 8e128ae3988b29398eb4b0cde4f18668c6ad22718c6f8d1c0feec09eb632f5b3c2bdf004932b8e2931eb4553f70c4a6d73104dcb611b09a41a744f0f8036a7eb DIST qtconsole-5.5.1.tar.gz 438961 BLAKE2B 6b65ce4bbba888ca96e5fae7b0067308a0fe188d35ceb309c454eacae784188bffa01ebb5344400c74f46cbffc6518db10ef135e699174187d221e7a76ee9628 SHA512 b9ca316fe7cc305cff33a0e924cb78d5c3bad7d11cbd553a7944a01e726cd59e283f7df4e82fce4da80d52b00b7366d538c567486ba3db4ad08d5b5f48a1e4f1 +DIST qtconsole-5.5.2.tar.gz 439219 BLAKE2B f354d3e6132142a3da52a1cb6b290d0a07b13920bc9f33f7fb29eb307cc5b653beccc5d28e53f7cbe7483147adb6e34ffc584718a79b814c9ce2c37b57a768fc SHA512 f79e51903fe5a1164a90c0905c308d2bce066bef2c61fed2b5bb7e757a9cf56875cdd14665df9284317497cd73bb544ae09e0b23c63b527bbd4bc90b874009f6 diff --git a/dev-python/qtconsole/qtconsole-5.5.2.ebuild b/dev-python/qtconsole/qtconsole-5.5.2.ebuild new file mode 100644 index 000000000000..e8a8a7653889 --- /dev/null +++ b/dev-python/qtconsole/qtconsole-5.5.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="Qt-based console for Jupyter with support for rich media output" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/qtconsole/ + https://pypi.org/project/qtconsole/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" + +RDEPEND=" + >=dev-python/ipykernel-4.1[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-4.1.1[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17.1[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.2.2_p1[${PYTHON_USEDEP}] + >=dev-python/QtPy-2.4.0[${PYTHON_USEDEP},gui,printsupport,svg] +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-qt[${PYTHON_USEDEP}] + dev-python/QtPy[${PYTHON_USEDEP},svg,testlib] + ) +" + +PDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO; expects exact HTML, so perhaps fragile + qtconsole/tests/test_jupyter_widget.py::TestJupyterWidget::test_other_output + ) + local -x QT_API + for QT_API in pyqt5 pyqt6 pyside2 pyside6; do + if has_version "dev-python/QtPy[${QT_API}]"; then + local -x PYTEST_QT_API=${QT_API} + einfo "Testing with ${QT_API}" + nonfatal epytest || + die "Tests failed with ${EPYTHON} / ${QT_API}" + fi + done +} diff --git a/dev-python/rpds-py/Manifest b/dev-python/rpds-py/Manifest index d2de8f8ee615..7558e728f351 100644 --- a/dev-python/rpds-py/Manifest +++ b/dev-python/rpds-py/Manifest @@ -1,5 +1,6 @@ DIST archery-1.0.0.crate 21187 BLAKE2B 5dd323734a238ccc84c186d19fbc1557d8845a7e3b64b53eb952f17e3d44078931e9e2a96fe15373721ee5df4426844a4309172a9ada7a51b4ed71fad1deee55 SHA512 4f955fec7df473279925f195fbb48159ef1e23f9722c416347c84eee22ba9d2a2ecc466a879f43f1f8aed53778467f6d203ca43bfca9dd24f3f7a4cb0cc0eb89 DIST archery-1.1.0.crate 22240 BLAKE2B bae7ff007419d6aaa738f541610a65f1c2c832a0ef571207b3f55fb6d36adfb64355f0bcdc8c06823166bbdf531d3c52eef042ef720aa2dc51e9e5fa3dc69c7b SHA512 0a5180563fd2cf50e26d470e32f07dc523a94218cfe7d519ea5f79d4fef07d91f2e108b10a786e9f7af0e9c98e4178bf3812d795ddaaa9ffbeb8d9f2b34f7aaa +DIST archery-1.2.0.crate 22842 BLAKE2B 018539188a76836c35834d948f64e51888083021a90bfd56229e3cf9cba2f12db289a248d2602a71431a04a09c4a9194d11530ec769fa85eaeff239388d00a44 SHA512 82c51b29984ebf611597ef530af2b04aa4046f7e532276612f7ad8485d79cea675f70a7ca60ce65f87114abb72ad6984b2c48c2f257957ba53a05a61537531ea DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff @@ -12,17 +13,23 @@ DIST memoffset-0.9.0.crate 9033 BLAKE2B 19090c1af8b8cf54a2cf7593748aff4d3dc685ec DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574f0f55f80909d5efb7ac5917e5f30bdcf3fb43ddd0a4f420a427390c7ffe1cc1c7191a3a1d939bc6e3139e6eef7 SHA512 9328968afdf3535b2d9e0113d75afa725259d76994ef2e1948ad7efa4ec8a65bac7cfdc31b749d5cd55ad4e28d2e28ac57b871e3067b89182453c7e2413a13b8 DIST parking_lot-0.12.1.crate 40967 BLAKE2B 940a112a066e3cbd15e2f6df89bfff37e4ece2194118618a96fa14871813c91798f93181ab0f768d3e1f3d60805508f216724013afb7e3da95678d0d951a42d4 SHA512 07327d3b737a913508dffb66023766348ce7f9d555c224a099cabb05baefd16a28e15fec638e3a148a5169dbd980c4541b0f8820ae9d06dfe0704482838fbd5c DIST parking_lot_core-0.9.8.crate 32383 BLAKE2B 2f9666872894d1c85895437d1353f9e15be2bc8d004ffc8f0e5be95e9dd4b274797db3752eba1c0b5b6071c1b8a71e4857cae0b2aff1afdaa39e92e70be2e6fd SHA512 8d6dfdf661b0f7d0774cb9f61121f2daefd182ac8a2a0d24eab451febfbe1a664c815c163d34a7f3d15a54915a8e22e6c6cd10e89cb7d7598d48d81ad6a3c256 +DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa1f5cc43dda8aed34511c3fe9641c27412796539ed045a58e649d2a0c7d71100b6b2d78a0c662fc061fd961a652ae8722 SHA512 b27cf57655a2f1e2d6ea7b45d80b4f9920a836e462f132c50dc1e4d314e162444309de1baecf45dad2defc7a5b99759165e54da9fe759b24092f8cb8755c515c DIST proc-macro2-1.0.66.crate 43575 BLAKE2B 9eb3e816b00fcf625c280ba14ad269f5893d0523473a24de07c21945f6f932fbd08efb3c339b35d903245510e3f065e1478439b024a325f2bb9f97bc7bcbb18d SHA512 85f5a762f9411142e5ac28144bd380f07f0633ed2e44d8a2545be9fb8f42abaca6b5d45631b4be83b8e8b9beca7438bc52f25615c3a410a3a1249474b1aca407 DIST pyo3-0.19.2.crate 418228 BLAKE2B ee018b33383fada78cd22643aea9231a8c8a2f19d1eb297f40eec9206c5220f322fff4c926d939a93a24ac6d231a207ebb25afcc0709191151c7ed9af7465efa SHA512 58698183e0f2f0507f8f765bf3e90185c933e78d62f0a9be65c4b1ce8eea19a98fe0341abe7c58cafdacb63a012ec417876dccb7be6facc1360fcb22796fcaf9 DIST pyo3-0.20.2.crate 434326 BLAKE2B 3114fd6f3fb8ae7d1b35c9d2ac5ba6a49c5ac911ee3a5b941c5063263ca7cce47fa4b4f7ec34cbfe3083f3d1303fd7f061639fba833a04fedb9d5098f5784028 SHA512 cc5151a116179157046ec92677e5a72318b4cdb13a7d7e3bb83778739b5758040e5020f667dd83554a66b758581a08f5de05eb38e7b339813cec85e0712e6355 +DIST pyo3-0.20.3.crate 434673 BLAKE2B 1dcb881fd1fe5c76e9b4951f4d95fcd1daa1845c226a4ab1db4283cabe67bda822ff03e3cc85d797fe4665a1614229e7406dea65ec5e99ce4aac96b973a7f55d SHA512 77cce558fa60bbd8d9981ff5e62fdfa9bac94bd650b287fbf14ac93ef1c326c8ae7fda82d744e3582df03cab8adf490e0f2752fabd9ae3de044e7d80984e0350 DIST pyo3-build-config-0.19.2.crate 29206 BLAKE2B 5b1cd80d643e448cf8f1d28a514333526061c178121b9a0dcb5bff6082f402ecfd166536d94d42065f6dc1f108a73f12bbb78eedf9ea053a6aa2e9c80ac00ddf SHA512 ccc73061ec1989258921c5b5800689170635fa5503d74a4ac458baef903dd31efa41995d238783f1e099ece1f66d0a0e95c4fcb4b772b9f653dbb20e838b4e28 DIST pyo3-build-config-0.20.2.crate 30029 BLAKE2B 846eb95d1417a658763417a2750dca1c55201105a3978d61b1db5e3962680ede188f8285dd7deec778ea9860d43e40513b88f5a54f0b1881b08416760bdbbedf SHA512 9dbc669ec69d38716c3909fa8f3b6c5be13c717b20bfd5dd11edab59b8eb35247d7996acd260fec88f92eb3e71248c86e9b40c1a700827889e2990bba20ecddf +DIST pyo3-build-config-0.20.3.crate 30060 BLAKE2B ef122b0b7d840d5362928bac76e1299b333775ec5c49a3bf23a19eccec074917931356bbf719c6d700999941bb6a396948ee7f8761e685c8e9251af07ba0cadc SHA512 70685415bba443787dabb9c61ca3702aefbcacb0705471b496b4f01efe34291735321d91243355b4be9aed8b243e393c09fb65556f1b926ac7f22f64560bd927 DIST pyo3-ffi-0.19.2.crate 66500 BLAKE2B b4139fba31ef17017b6b60784e41ccda34931a072c2638af1eed8d02d7af701c46fe38b12772d2301cff41d10a433ff0f00a69d79d40233eadafe82abe585f8d SHA512 789191bca537998dd23d72dce4f185b84bbe700f4171c47de35b9bbca15a180ad214392b4f465cc1ecb0be955ebec1cf5a3c497815073be18035bd8bf8c51a32 DIST pyo3-ffi-0.20.2.crate 64601 BLAKE2B cf1141ad34a13dcb46de0d1e15dda192ca41a7441bfc92a9295861876dcc690d1d5d6d39dafa51cd70c4627353efa91563eaefee8c39f655d12818003f9524da SHA512 ee6386b6fdb80689d104f9cd5229f02e1893d00a52be710bd36882c47305abbe24ef2f3cdef8200fddc0bb97e29001fa3a2fd9d3d2673ecd9a104a070420d01e +DIST pyo3-ffi-0.20.3.crate 65024 BLAKE2B 33e79a02c7ab85f4767e02a39d8553ddc015c80d13bea674885ad8a18d89bd90f866cc39d81ecbf56270ebe87d29bca48f635c4e73ec99df02ce425f1427cb31 SHA512 3d1ced58e243be7cee4a3ca831dc08a1631fcd511c707dd3bada87d7662807dea2d88393d76e56ff19a6d1c2804d93b5b6b7b5efd36b9c275d66fa1bb1bfc384 DIST pyo3-macros-0.19.2.crate 7173 BLAKE2B 8862f42a30929579b0b0bc2ba7f0b416518724480e197fa13288e49324e851f964183e1529b7f31bf5d4fe0ae194a412723b6b401100e66fba98bbcd9c283866 SHA512 852cc2792aa3d30d9ab8802a451be5617cae6536adced1bf0dde71704a3c7c1bfe862fba751b6d045249819a8ba5d87dfc50914d142a0b662f046498c06f8c2e DIST pyo3-macros-0.20.2.crate 7925 BLAKE2B 00fc60becfa39bf452786d8a612247785f1737cc3e627700d0d144ab2efaadfb34ce8a8f46e932382a1ea99caebfe1946fbc517b5c26fadb0822ecaa8b2e9df0 SHA512 dd9ea9acda95dfc53689a4c26d8c2139f8a90a05ab06737037f19b8bccd5e52b0da5f297a29194b958f5f8b59cbb566b5f409b3f17a863eddf855ecb755d2719 +DIST pyo3-macros-0.20.3.crate 7920 BLAKE2B 0510accf51cd83390cbb7b6ba4ec9f4610e3dbb7448d1213994013487ae81bb087df1ba0076a3862e5ecfd172b7846f9439a2d86950a93b016aae565ced4f03b SHA512 454f3c0c054aa131ffe955e4be1af061005b9c81b4d80702827e19b983224c118dfea474da515d5fc2c79cfd3fa21204ed4af2d9e81427123e0a78bd246a23f8 DIST pyo3-macros-backend-0.19.2.crate 49962 BLAKE2B 9d8a032c2205f55d2431b6bbc40df153339e08479df3a8a65506ade7d1f3d17cfaf664cbd09eaec9acff3f5a248598e37427d0c5a531eaf527137803adf49834 SHA512 fd708e6fdbd54ef7c676bedc62070175bac6b8f7ae11231578196dbf552b163a8a2499a1266f786bb6bfb85517fe83610902137d59a5c42efcb1a27c4235a07e DIST pyo3-macros-backend-0.20.2.crate 49710 BLAKE2B 711b18984e61219555df4b62667f7f376951c6cb47e6dd947fc24618b923c4f4f790eb1aba1901abea4761632cdb58cfa81cce91f33586da3022e6c7d126bc9f SHA512 c6ca2a2cdae8630fba3f8e4122e81b60ef2ef0905ad2a3fbcfae134456d5ca9e73690b61590e391f3b9d82c24725809f18544c5dfa0b36ffdb1914844fe65d3a +DIST pyo3-macros-backend-0.20.3.crate 49797 BLAKE2B 59c55d482577ce105db3e19a1db794eaab8221d7de01197716b75d5d2602e0f27c86aaae527eae7098eafad311144550bd597efe8cd6560c82dc435021f3428f SHA512 e177ee0d6a538a555fbe9108e3e2c20102622b2c9b9696ae309189e5c4d068efad2132afd4a97d734ebabb4d7146980a26cb68dc05d5eb88f338be2ad0cd651f DIST quote-1.0.31.crate 27881 BLAKE2B 47c8ac1051f7fa03d002420ade3cb18bf2aedc6ba922d13b117c016ee89c3326bea5cad32ec2f0e5ac1afcce68982f20b3f973914c205e6d6f426487989c6ec4 SHA512 8b2ec131937ce53f3fa01e68fb9261ed6442222e513cbe86f62b6da3cf3051cda0d134dc8028bc6c992fa63735ef3507490a169f8b4af1d6fc17058c6d2faaab DIST redox_syscall-0.3.5.crate 23404 BLAKE2B 85aa4299d9816666bf576f523da5cdeae87b3c8fbb2af103e82258d23f73303c068a4b6c3ef4117ad67958cb31e41f836a9f59f2ce1bc52c23605e34399afcf1 SHA512 16f8f4766932bb54e4740cfdb4f0802f76246c0bf88c1d76c69c115949b124b625d8c3b85d8947073c2e9544f425aa16c10f71fabe3c03d29e424c47fe4ccdde DIST rpds-1.0.1.crate 69049 BLAKE2B 2235344d274d4fef171b430e7500a075d383f2409f22908217a6caf6b6924891893835c3427a01a351d5bfbdda661542446a5db1f5c9bccdb2bc505474443794 SHA512 119527d615f359ddf2681dda05e9bf853a2747db4524559601c4cf5114cfdc00ba734fcd727830787e3f1cb978eb28538e5f9424d968deec95ff3826db18f377 @@ -30,6 +37,7 @@ DIST rpds-1.1.0.crate 69493 BLAKE2B f2d02c758de1abd46ff133965e0491a0276e4a95be5b DIST rpds_py-0.10.6.tar.gz 16514 BLAKE2B b3df3d79b22fe102e96b5d56cfac97d30b2de0ce05ecc82227f411aca2ae39aa3c10171e08f850e58c60faac5dd9cfb5f1f0eb0559d8dc3ac18d530b8c6b95d3 SHA512 4e887e57c59372f48b87ec10a810a65d0ff1ba2fc7587cc4f4da78d8394a78a91d84a7a7b8ad810bd1f34f4e73ad706628dbc2bd25662c9e4f83e4183c280ab1 DIST rpds_py-0.17.1.tar.gz 24945 BLAKE2B 751e764e06a10bc3689e6c001eec3fad80029afa174ad3982592f6eead0c7263a9174c2f5ba8e80722115edc870093a95fe62d477898c89facd4301f6ac1bd83 SHA512 9242d52699c56157aa74d344cea18feb78b1b6d6e9ddc746a631db1e290b532005ec31598da86a837d01ed764e8355a76b85cb8a94f9c5009173ae8931b6d218 DIST rpds_py-0.18.0.tar.gz 25313 BLAKE2B 2d80eadea17151b4b0ae76644a3474827c7c4e78c3779f59d2ca0d368f3defce1153439b1564db9f63e1535ee3f91595b71e1ef7f767cc9063d8f247532c5da4 SHA512 390235cb55ead962194c79f2f6a53bc96b3e4ba4641a85e5e9328cc014a24af86a74667bf29ce3ba95a6e3cdc6790e2b03d48abd36a54092146a106f723736c3 +DIST rpds_py-0.18.1.tar.gz 25388 BLAKE2B 9f843e7530062c0564a67bae8d8ec15155f0a68cd53b69a52906ba3176d97fc1388d599fddc7bb804a88c77bd5b57fd0f54ed718558355a59100ce3b85b851fe SHA512 3ad144fe399eab121fe6b6ac4fa0a711dc1cc63763705534606d125c66f0e1b68955e53789ec885d217848d1a0c52c8a069905abdcc24d207d16ee65f4050886 DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d DIST smallvec-1.11.0.crate 34680 BLAKE2B e54d56f6bbffbfa7ce5fe5f04e325b2e5cf19d290e4be278bc00a136e26284625b9c18c7c2b10b7fb8fad0ea7e3770f3cdbcfbaa913f5ac08d0a2f8b4e0de188 SHA512 41bfbecbc2c244497568a41724d65791ec3fd6d8057813d521367cca316c09c2b28fb3973826236b01c1f5d2f905d8d22b0c3c47f957a9ff5d7685591f15ccd7 DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee diff --git a/dev-python/rpds-py/rpds-py-0.18.1.ebuild b/dev-python/rpds-py/rpds-py-0.18.1.ebuild new file mode 100644 index 000000000000..7b91932553c4 --- /dev/null +++ b/dev-python/rpds-py/rpds-py-0.18.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +CRATES=" + archery@1.2.0 + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.4.1 + indoc@2.0.4 + libc@0.2.147 + lock_api@0.4.10 + memoffset@0.9.0 + once_cell@1.18.0 + parking_lot@0.12.1 + parking_lot_core@0.9.8 + portable-atomic@1.6.0 + proc-macro2@1.0.66 + pyo3-build-config@0.20.3 + pyo3-ffi@0.20.3 + pyo3-macros-backend@0.20.3 + pyo3-macros@0.20.3 + pyo3@0.20.3 + quote@1.0.31 + redox_syscall@0.3.5 + rpds@1.1.0 + scopeguard@1.1.0 + smallvec@1.11.0 + static_assertions@1.1.0 + syn@2.0.32 + target-lexicon@0.12.9 + triomphe@0.1.9 + unicode-ident@1.0.11 + unindent@0.2.3 + windows-targets@0.48.1 + windows_aarch64_gnullvm@0.48.0 + windows_aarch64_msvc@0.48.0 + windows_i686_gnu@0.48.0 + windows_i686_msvc@0.48.0 + windows_x86_64_gnu@0.48.0 + windows_x86_64_gnullvm@0.48.0 + windows_x86_64_msvc@0.48.0 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" +HOMEPAGE=" + https://github.com/crate-py/rpds/ + https://pypi.org/project/rpds-py/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-DFS-2016" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" + +distutils_enable_tests pytest diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index 7bf1d1be4ef2..b3149eb44d1c 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,2 +1,3 @@ DIST sentry-python-1.45.0.gh.tar.gz 475425 BLAKE2B 8dc46154dfc1c7c9104a706be032b5269d407dee6845da252f1c603ea4f9486d02d1d3c6bec314064b821dee31b503d07a9c17935ca1f4dd6cc4d7b9c3165094 SHA512 dad23a3f6a8e6ef5fe78e1d38a61977d8974edf306d5688537f331801d8fa0f60743d18cc3dadf6e9a9666c55a01c98b9ff8d8808ece7d8f95ee68a69b6cb9be DIST sentry-python-2.0.1.gh.tar.gz 486632 BLAKE2B ace9891068050d988b3c16622f6937486f733caaf3de864ed973ea156e1e06e44f2d73764d01d5943a9347044c3c880bb9cf00229f2a36f2730aad9ef55660d0 SHA512 c62447a990ead1bebee89cd16d7a9d7a3798c48af53fba2cf5cece47c9bf5971fa1cd2b028b9fe8f7d9996cc48962ca50a61df9899b1c24a2dffced74f38e6ce +DIST sentry-python-2.1.1.gh.tar.gz 499979 BLAKE2B 92a401dd0b7202cff288ea252bcaa52c6b7175607aeddcc8f0f6506b722c694bd4499bef1b058e886bed28493408b197916ffff5b698c8c4470747d80a39e098 SHA512 13566786b97ddc571bbb189a3e57ea6721c57c23805be99929883e37db52fe65b636e6f129118dcb7453cb20bb00a352c4a1fa0d43dce7a71236c9d3a9ad5451 diff --git a/dev-python/sentry-sdk/sentry-sdk-2.1.1.ebuild b/dev-python/sentry-sdk/sentry-sdk-2.1.1.ebuild new file mode 100644 index 000000000000..736d50385f26 --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-2.1.1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +MY_P=sentry-python-${PV} +DESCRIPTION="Python client for Sentry" +HOMEPAGE=" + https://sentry.io/ + https://github.com/getsentry/sentry-python/ + https://pypi.org/project/sentry-sdk/ +" +SRC_URI=" + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~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/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + <dev-python/pytest-8[${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/python-socks[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" +) + +python_test() { + local EPYTEST_IGNORE=( + # tests require Internet access + tests/integrations/httpx/test_httpx.py + tests/integrations/requests/test_requests.py + tests/integrations/django/test_basic.py + tests/integrations/socket/test_socket.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # TODO + tests/integrations/bottle + # TODO: most of them hang + tests/integrations/starlette + # TODO + tests/integrations/tornado + # requires mockupdb + tests/integrations/pymongo + # requires AWS access + tests/integrations/aws_lambda + # requires quart_auth + tests/integrations/quart + # TODO: require opentelemetry (with py3.10) + tests/integrations/opentelemetry + # broken (incompatible rq version?) + tests/integrations/rq + ) + + local EPYTEST_DESELECT=( + # hangs + tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub + # broken teardown? + tests/test_client.py::test_uwsgi_warnings + # too many dependencies installed, sigh + tests/test_new_scopes_compat_event.py + # Internet + tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers + tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers_head_sdk + # TODO + tests/integrations/aiohttp/test_aiohttp.py::test_basic + tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions + tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic + tests/integrations/threading/test_threading.py + tests/integrations/wsgi/test_wsgi.py + tests/test_basics.py::test_auto_enabling_integrations_catches_import_error + tests/test_client.py::test_databag_breadth_stripping + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_utils.py::test_default_release + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sample_rate_enabled + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sampler_enabled + tests/utils/test_contextvars.py::test_leaks + # pointless, fragile to packages being installed in parallel + tests/test_utils.py::test_installed_modules + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p aiohttp -p pytest_forked +} |
