diff options
Diffstat (limited to 'dev-python')
37 files changed, 1013 insertions, 14 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex d938efa2d365..cd2214196dda 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/bandit/Manifest b/dev-python/bandit/Manifest index cfdd1cb0675d..18322fa9290c 100644 --- a/dev-python/bandit/Manifest +++ b/dev-python/bandit/Manifest @@ -1,3 +1,5 @@ DIST bandit-1.8.2.tar.gz 4228832 BLAKE2B 71539701adee94e12c168aed5ec51a5772e6e7f91440e41e51a998ac1665a42a5a4d7e9b155f4411e3723efd7a46a44283c0f58569c78c3c090faf26561eb902 SHA512 b4202d208cc05186e80a36c704156827400c79510a9e1ac640b3bdb9926dd57f772e635755ed399b892f559171f5340207f8ea1af92ee2374d7a27c1234e2e70 +DIST bandit-1.8.3.tar.gz 4232005 BLAKE2B 3cfed934d59ac4614b0bfd50348983fa48a8a0346b5c06e0497e5ab5e0807c79e41b046b74880d5e26feba19029b10764d90d9cc8462b561ff04e8f5fd7f7b51 SHA512 50f2ee3f39c2991f030790674e7d25337dac9a4cd0d83d2b76e3152fc3833fb9d8228c347347d3558795b50c2973b825b9e8ab9546ccf6fec60f4f5fbd8ededc EBUILD bandit-1.8.2.ebuild 1179 BLAKE2B 04c4b2043d2e3354f7fc9a88896d4e627819fbe0ae7f32ed8326a4b9dc261bc4a4aa3d52ee1058a5fa9f060e8f88793c7d77717c9dd7f40629d7aa2c7752c275 SHA512 0cee6288d90158058371617800ea8261cedcca793137f8ab66d7840477075301db94bb9b9256c245d726e37ea21ce27a9bfd7ba42f2eb82f84e0cf41b5d7a54c +EBUILD bandit-1.8.3.ebuild 1182 BLAKE2B d3650b2bd1075eea26dd58aaa553ed72286ce21ac64929dc03b87bb8643c0de4e219fe98c9959c06cd406b9fa141a17af5cef3a11c108861dfd78f4b5963a7e4 SHA512 d86d0d5e3aa1877e00f287b701f4a9262380dea5a5f75ab684f6b52e13ba4cf0d8bf5623a3375841ef8aac083c50b6a2706ade7087d3a935ed77c37adf98fe9a MISC metadata.xml 810 BLAKE2B 6f836d0afbb33f233618f056a9d4161cbdafe93abbed2f321e4e799bb75a86e2c4cc27cd43e74d05e1a15496ecf52e6a575ecd8dd4ae463ee37f742331b0086d SHA512 e3dc0280839cb1a54a2585fd6fe19fce66ceff73a7e010479e99e9631c224851b303d577b5de0ba62bc94b78b9b75b30c0103421441bba9753e4231bc3914481 diff --git a/dev-python/bandit/bandit-1.8.3.ebuild b/dev-python/bandit/bandit-1.8.3.ebuild new file mode 100644 index 000000000000..206df6bf30b1 --- /dev/null +++ b/dev-python/bandit/bandit-1.8.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A security linter from OpenStack Security" +HOMEPAGE=" + https://github.com/PyCQA/bandit/ + https://pypi.org/project/bandit/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + >=dev-python/gitpython-3.1.30[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/beautifulsoup4-4.8.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + >=dev-python/pylint-1.9.4[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.5.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.3.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest index 3fa68da7b78e..a46b3c87e2e8 100644 --- a/dev-python/flake8/Manifest +++ b/dev-python/flake8/Manifest @@ -1,3 +1,5 @@ DIST flake8-7.1.1.gh.tar.gz 138915 BLAKE2B 5c00c4a95f0757f7d3716270ca1de91580cb1731c700227d563c08798981c124c5789f40a5965ad49450a77601ab9638d04cb32ef9c13418720c4123ba2a7932 SHA512 310457e3c701f746d812cc76664bcb79c7cbc320af9d757ebbc13c847f2c3864770d9b945694b4b6abb773ae636e19175222c3dab74d34559beaa7835f1d9931 +DIST flake8-7.1.2.gh.tar.gz 139099 BLAKE2B 4236a533cbaaa91c4c407af02890189ca65b7ebfe3af711df2cdba02e5a28963fc3622e0a0a41190168f3cd827ccb8fed4561cdcf352642f2660ec361657a43c SHA512 da90d07d45690efa433338ed6fcfaabdf08b5bf600783fa0f22b59f77bc560b81d3e0c8203c8fe92bd0b133f40fccd919d68c65cab9a266ea6f5bd45576b3837 EBUILD flake8-7.1.1.ebuild 1471 BLAKE2B 106f072702e210d335d75a605594a621740688e3a350189e18f22efb481781438b4dff313f3a177bb499481d7a0ed37e0722aded3e0624255d0288b69ed1b1e7 SHA512 8ec66d0f9c90e9f7d91ffd4a76145e7aed67c8eecd56ab450410b082c9fe8d74d12c05c3b361753f3a38c1447859e95d5d44d4560752989376bce9411125cbd7 +EBUILD flake8-7.1.2.ebuild 1479 BLAKE2B 8d1a3466a4dcf08c6feb4ba0b1a528ab6c8ec2f0d2aba58fc86d86e4c851e22ef20f4549e3ea6e073a6b64410118b09582f8627aa37366675422f71868f035fe SHA512 e7c2ffc3f92fb772453bd214bd453e109a6c8d62af0859c17e6c9e985cc163582776afa7e0520573e1edbfc4fbfeb08644bbb6e51b85add6dccad7d31561c983 MISC metadata.xml 399 BLAKE2B 01ae165c898af67195582e1aaf867b9f9fc937e56b87f09a812d21c9d1175131c25561524ba76857c1630a117a21bc43eeef907c2a34ab9e9b38866dc2f9430e SHA512 8f149a017f4fef8f8fe0fef037e589694e0c3b3689990f97f38ed23fb9b5c5170985fc1fd7814ef70b8200db66cb9367dcfc9bf6453f8742092335a1c3c8fae6 diff --git a/dev-python/flake8/flake8-7.1.2.ebuild b/dev-python/flake8/flake8-7.1.2.ebuild new file mode 100644 index 000000000000..25cbc7ee4d1c --- /dev/null +++ b/dev-python/flake8/flake8-7.1.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" +HOMEPAGE=" + https://github.com/PyCQA/flake8/ + https://pypi.org/project/flake8/ +" +SRC_URI=" + https://github.com/PyCQA/flake8/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + =dev-python/pyflakes-3.2*[${PYTHON_USEDEP}] + =dev-python/pycodestyle-2.12*[${PYTHON_USEDEP}] +" +PDEPEND=" + =dev-python/mccabe-0.7*[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + ${PDEPEND} + ) +" + +distutils_enable_sphinx docs/source \ + dev-python/sphinx-prompt \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # fails if additional flake8 plugins are installed + tests/integration/test_plugins.py::test_local_plugin_can_add_option + ) + if [[ ${EPYTHON} == pypy3 ]]; then + EPYTEST_DESELECT+=( + # problem with pypy3.10 in dev-python/pyflakes + # https://github.com/PyCQA/pyflakes/issues/779 + tests/integration/test_main.py::test_malformed_per_file_ignores_error + tests/integration/test_main.py::test_tokenization_error_but_not_syntax_error + tests/integration/test_main.py::test_tokenization_error_is_a_syntax_error + ) + fi + + epytest +} diff --git a/dev-python/gherkin-official/Manifest b/dev-python/gherkin-official/Manifest index 5ce3750c79e0..2dc411b86366 100644 --- a/dev-python/gherkin-official/Manifest +++ b/dev-python/gherkin-official/Manifest @@ -1,5 +1,5 @@ DIST gherkin-30.0.4.gh.tar.gz 3858403 BLAKE2B bdf5cf80f1e06c9e8464d3fbc5a56a594b75f3d8ae6ff13dafcd583aa6571e1a6ba4aa4dd344f7c532174b09829bdaf9aae1e1e02339521e2836dbf9b3014108 SHA512 52cd5bab779e46d5d2c451558b545fb8ac408d1d5d11558e1dace94d77472ca271589eb183c412093fcbdef2574a495fdd11c98ce97d8146077a54b3369a9a6e -DIST gherkin-31.0.0.gh.tar.gz 3850999 BLAKE2B e38bdd97af5d3a011e2c31e2cc67f25c72a4e729c9af8be4355a4a9155d83b403781f182f05e8db9b10cb929bbd208067ef39433982514bee29afa2aa4d621b4 SHA512 7b512a5ef2d4e840939f6109ff850913052dbb7263d8013a79f3485cc4037a3a2967706e9d8fbb9e7e436863819c89214953f493fa4666a496465fdb20d7c524 +DIST gherkin-32.0.0.gh.tar.gz 3842521 BLAKE2B b0afbf2638bd85817a141e2f89bd81e9ba564c96ddcbfa56f803d7239736864e1047bed6d0fa1a48edb0dac88553b8777e530b6fd06a82d71e4e971105f68020 SHA512 2ce444bde2d1e4ed3f1214205e4dd43cfa21c0f31d5194cfa9da6aeabdf2f0ac70966f1d98617b9d8f3633dadae6b773d67a6f050f0e37ae477c594b0e670aa9 EBUILD gherkin-official-30.0.4.ebuild 727 BLAKE2B f5dffb87179a179c790a6b07282a3e531d71b8902784e1a99395086dbfcc3e9f0adc38e9dd78d8bed25c8ff42b9c0afa3fa2fde78c4039c16a7008c641d95801 SHA512 f57e5538995a0f16897dca1d0c2cedb60d4926342eb7c87d326bf5832f6703e8b2b788fbb06855223e69accc38cd0806f17c6e92c92d31d9ad8230c9d74617b6 -EBUILD gherkin-official-31.0.0.ebuild 734 BLAKE2B 42fccdc44b3f9573f8cd1e551213c7057b36c530952a05b2c33dc93e4a01adbdb2e4f3dc685383233800f49fcb2d40a92b7f39499a8f0778dbb2b4928d8d8020 SHA512 3628a503969dffbf46c5cb267923f031ab2274ce7b2704adfd9233b0f0d17a33f9727620ecb9398a613a32ac356a18c76dfd83e4952f8cfb618d0d34e7f21579 +EBUILD gherkin-official-32.0.0.ebuild 734 BLAKE2B 42fccdc44b3f9573f8cd1e551213c7057b36c530952a05b2c33dc93e4a01adbdb2e4f3dc685383233800f49fcb2d40a92b7f39499a8f0778dbb2b4928d8d8020 SHA512 3628a503969dffbf46c5cb267923f031ab2274ce7b2704adfd9233b0f0d17a33f9727620ecb9398a613a32ac356a18c76dfd83e4952f8cfb618d0d34e7f21579 MISC metadata.xml 405 BLAKE2B caf402cb5e5431bfb88d8250e3ba9422505d35118775b5890168e09c5c68c8028179c5f33e87273d674ff7045a693287ed2bebcf80a3630c1b0cd76af1d5739c SHA512 cc7afa9928d998af2d4b6226fbd196d18496ff349a578466a143d2a9917171399e40ff5791daab2d74276fb7ed0d5362c0d5a806b3a31df547b280c0f2d11cb8 diff --git a/dev-python/gherkin-official/gherkin-official-31.0.0.ebuild b/dev-python/gherkin-official/gherkin-official-32.0.0.ebuild index 8e18424acfc2..8e18424acfc2 100644 --- a/dev-python/gherkin-official/gherkin-official-31.0.0.ebuild +++ b/dev-python/gherkin-official/gherkin-official-32.0.0.ebuild diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index d0012013354d..2f91e152b727 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -7,6 +7,7 @@ DIST libtmux-0.40.1.gh.tar.gz 318542 BLAKE2B 5b9e383a3c07bab3af7c25adcf5db1c6acf DIST libtmux-0.42.0.gh.tar.gz 318655 BLAKE2B 5d462bd78e81bd38cfb0c42a2100287fc79b9fe31aaeccbac5c9fd124afc2df9da4ceb5cd469de1919df2995c27d4c0628629004938795b6f8731e84c23ed2bc SHA512 38e7c21bd99859add1737a1028c18852a564a2d32c27b72ea37d623bcbc0646b095ad4dd520385c11d6df4c779429ac452f6ae592a6d0ffcb4fe64bf2a4388b3 DIST libtmux-0.42.1.gh.tar.gz 318887 BLAKE2B 7bbac22a4d2aa0a448888777b2ce99b08a90b5a76907f95ffe5278d3fb87354ae7bab5ab6b5b21ff7485b656ae6efd5a70f968750009bda2b8959024aefb3538 SHA512 a8f2be99f7e7b20d78c4597cd588571481247d1cfff4dbecaa93322584f56099a966ee745a192231ace92cd29d48232922b3b15445115039f21aca8cd33c6d69 DIST libtmux-0.43.0.gh.tar.gz 322128 BLAKE2B 835e6d4bf47c54a7cc373ad54e11bd49aba84b19e68dea20b73c977e145396a89cf7562861c75eed5fdedcfc69f83855786aa88139a2f88dee29a272cdbc1f1d SHA512 1a2992fc6d65811bb7d42e2d5eecc7efe9cf737fcd5898ed91e4f4cf317244e7a5f14fa21ea1a169dd3f8fbad8bf044e371f26704a091d7d22465ce410105220 +DIST libtmux-0.44.1.gh.tar.gz 324715 BLAKE2B 8131be2d3fb91fb45fc7d7791160f7c00291a5ae606b6f01422b0d658ad1e4c5bdfe619bb7818956fb90c6228824ee53c38459e8074bbde160ea5620db02af81 SHA512 479a5eac8de142ecdba9f697ed45608d5d0a799b83a748de7cc7350e7ce16e81d6c2f5c23df89410e13c456175ed169f4512f98ec5a315c50f7e5d8fc96435e9 EBUILD libtmux-0.36.0.ebuild 1585 BLAKE2B e33ae414aba51bcdb17db8d81f50af53a60b6ec2abbb006e9c386e5c5e583d4773860345b2666a548f3e9d560604e9b95a8700e622ed4b934e1580f27285205e SHA512 7024476368b6630a09c925a17a0ec7cfd97d22a0133e346fb7725e43945eb3f630531f252449d89f63e88e3fcd2210fa0e7f08bd4588d1d7a95d31be4a18ee8c EBUILD libtmux-0.37.0.ebuild 1585 BLAKE2B 81deed0a9a7b405de4d533461ebdd3bc2c4c92ba9105e7e4f134d7b8db2d53fcc49edf1921e9642e5303e9317a724aedc0f0df141bc50329876695af85a0508e SHA512 7e10dc085bad0a9ec31bdb74430c654143995ccab17ad92571f67172f19cc9c92726c38bcb5625219f6c761d656f617784a400d16997446db139744014e971b1 EBUILD libtmux-0.38.1.ebuild 1590 BLAKE2B 37ecf3b4c06e32230b8e09a1a48e7fe684712b4afc4eb937996386e36d656060f9ea1bdb4d1185ec1b1ac6d0326038af50c62985108115801a4f56758eddd939 SHA512 ea4fed8adff437df4398b0e786ef31b932c8900e2bf30f988193fcf58a84f6c5e28dde43b420aa6a8603bb42b1a7b6aab6334c1a245c433d8e47834403312687 @@ -16,4 +17,5 @@ EBUILD libtmux-0.40.1.ebuild 1360 BLAKE2B 8dc305ff0eed09e821cd4a0b34a9a75ee857b3 EBUILD libtmux-0.42.0.ebuild 1360 BLAKE2B 7a8787b03d4192ad6b0356f21092c1a109f72629e5d192af7e2ff868558d8905a1130c222d72d0532c380ee19e77b4b2682d54049f8f447bbe12be192dd57104 SHA512 d27b46d3240b9850126c1f46dfacec96d2a5778555f29dd3f353c053b5922aad01edf140a7935dbf7ea63a6b8a9120d42a1ae6300666056f9a2e0e5926af8b53 EBUILD libtmux-0.42.1.ebuild 1360 BLAKE2B 7a8787b03d4192ad6b0356f21092c1a109f72629e5d192af7e2ff868558d8905a1130c222d72d0532c380ee19e77b4b2682d54049f8f447bbe12be192dd57104 SHA512 d27b46d3240b9850126c1f46dfacec96d2a5778555f29dd3f353c053b5922aad01edf140a7935dbf7ea63a6b8a9120d42a1ae6300666056f9a2e0e5926af8b53 EBUILD libtmux-0.43.0.ebuild 1360 BLAKE2B 7a8787b03d4192ad6b0356f21092c1a109f72629e5d192af7e2ff868558d8905a1130c222d72d0532c380ee19e77b4b2682d54049f8f447bbe12be192dd57104 SHA512 d27b46d3240b9850126c1f46dfacec96d2a5778555f29dd3f353c053b5922aad01edf140a7935dbf7ea63a6b8a9120d42a1ae6300666056f9a2e0e5926af8b53 +EBUILD libtmux-0.44.1.ebuild 1360 BLAKE2B 7a8787b03d4192ad6b0356f21092c1a109f72629e5d192af7e2ff868558d8905a1130c222d72d0532c380ee19e77b4b2682d54049f8f447bbe12be192dd57104 SHA512 d27b46d3240b9850126c1f46dfacec96d2a5778555f29dd3f353c053b5922aad01edf140a7935dbf7ea63a6b8a9120d42a1ae6300666056f9a2e0e5926af8b53 MISC metadata.xml 403 BLAKE2B 68af7251349c8999bbdbfb7b55ca4632f8752468d7e478fd985097af86d00afe93b231667a25e3c997a3bc86b708d4e6d6ef5c35a783871cdc83519fc1db1ab1 SHA512 2a88df695e94f1da966bb72f7e90d00f2e343e40fe1924837f8c087dfc9a9a84fe0b2909a98f2f41ba72f6ba01796888a80cbac3f1bf9f05984a06385037d977 diff --git a/dev-python/libtmux/libtmux-0.44.1.ebuild b/dev-python/libtmux/libtmux-0.44.1.ebuild new file mode 100644 index 000000000000..28f00ece7486 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.44.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer" +HOMEPAGE=" + https://libtmux.git-pull.com/ + https://github.com/tmux-python/libtmux/ + https://pypi.org/project/libtmux/ +" +SRC_URI=" + https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=app-misc/tmux-3.0a +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + local issues="https://github.com/tmux-python/libtmux/issues/" + sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die + + # increase timeouts for tests + sed -e 's/0.01/0.1/' -i tests/test_test.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set + # https://bugs.gentoo.org/927158 + local -x TMUX_PANE= + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=libtmux.pytest_plugin + + epytest -o addopts= -p pytest_mock -p rerunfailures --reruns=5 tests +} diff --git a/dev-python/poetry-core/Manifest b/dev-python/poetry-core/Manifest index 731ddfa42a8b..e046baab3f29 100644 --- a/dev-python/poetry-core/Manifest +++ b/dev-python/poetry-core/Manifest @@ -1,5 +1,7 @@ DIST poetry_core-2.0.1.tar.gz 355487 BLAKE2B 84bbeb7129c13d3ed1a06fbcbdcb8e1a1a608c35d398bdbf35ea70c467adbbe5d293945fecdf90e7795122af2a3f5d9fa64a99e56ee37a197ea022d271f10a15 SHA512 dd1d303abd034fc0341aaa5fc8d11f13ef305e93b9e9036f4040c2cb007c8b1eecbdb719d2b5692530b80ecc06d416751a45c499f373a05b7066e56785d1a8e8 DIST poetry_core-2.1.0.tar.gz 362182 BLAKE2B 6f2636e76c037199b8303a58dc7cd28edc9f0359620f803a2ec2d314e1b7254aa1226eec760f425517ce318bed1cbc5c0baf7fdceec8f48b0ee8e8683ede511c SHA512 6b32bc9326766c5df21ad749f2f67d24ee4feea0abe3234206b09a5146a0a52c4b79931d3044d4259e60f1bc8c369035309bab08710893b7e541c2fcf3f4b54d +DIST poetry_core-2.1.1.tar.gz 362210 BLAKE2B 03eb8b3de0138468b04b42003eb9a491c33ddb566647b933ca992f609b956ce9c27f874c61496fdd9a0d9ee0b02bda09524636ef550221f607a50792be8f73b4 SHA512 6624530062196c9a40be73d74a8dd51cfa8af8f34705837c5101b3955252e94fd136b32259887796ea304b77cfcd35042bf391fe78174f22faeebe77247605c4 EBUILD poetry-core-2.0.1.ebuild 1794 BLAKE2B 890140475d3a44267be018fd9c598ba185e83b98d82f6e3d07dd4bf7c7423fc966855a254542492c57834efddec78886ffcfabc43a0a11bda57031cf6a74ab9b SHA512 57aafd93a14f8683588081bbdc79dc3e697e3ffe92e965d4782cf9494fad4c0a39fabe41b9c5b68b9c8981b563fd2e5dd4ab55b0324259301541392faf246326 EBUILD poetry-core-2.1.0.ebuild 1802 BLAKE2B a6e24f5641cb28c495a4376f59c5ab45575ff96ae3d3ca5d765af9f8da429b43a8f399aafcc21943ebbeb7a067db97431289789fd1cf60e97416a9d964424c68 SHA512 d18fcd2e71f8ac93d8239e2e166a1f51a99d294e94999cec1dbe6de6fd9fef100f8c3b860b035d48aeddbb55148cd48f227a4710434e9fed42effa8453ace656 +EBUILD poetry-core-2.1.1.ebuild 1802 BLAKE2B a6e24f5641cb28c495a4376f59c5ab45575ff96ae3d3ca5d765af9f8da429b43a8f399aafcc21943ebbeb7a067db97431289789fd1cf60e97416a9d964424c68 SHA512 d18fcd2e71f8ac93d8239e2e166a1f51a99d294e94999cec1dbe6de6fd9fef100f8c3b860b035d48aeddbb55148cd48f227a4710434e9fed42effa8453ace656 MISC metadata.xml 382 BLAKE2B 82dfc3f146cf3b669fed67ab2e21694b00d5473fdf855cae9fb3a0481785b32c4cf1ed9743a5d64cd055c1cb544377f936a9ec26c9d1dec2cf5fbef6749f5587 SHA512 032fd4dca8f8138c2b527e517f041889e15600ccca876fc3c9e53050196186ad2a9346168bce9c4bae7ffd8a77ff4dd19cc2559fd1da1fd4c7c181056fd49a13 diff --git a/dev-python/poetry-core/poetry-core-2.1.1.ebuild b/dev-python/poetry-core/poetry-core-2.1.1.ebuild new file mode 100644 index 000000000000..5c2c2b804862 --- /dev/null +++ b/dev-python/poetry-core/poetry-core-2.1.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( pypy3 pypy3_11 python3_{10..13} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +DESCRIPTION="Poetry PEP 517 Build Backend" +HOMEPAGE=" + https://github.com/python-poetry/poetry-core/ + https://pypi.org/project/poetry-core/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +# check inside vendors/pyproject.toml +# (note that some are indirect deps) +RDEPEND=" + >=dev-python/fastjsonschema-2.21.1[${PYTHON_USEDEP}] + >=dev-python/lark-1.2.2[${PYTHON_USEDEP}] + >=dev-python/packaging-24.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.2.1[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/build[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.21[${PYTHON_USEDEP}] + dev-vcs/git + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # remove vendoring of dependencies + rm -r src/poetry/core/_vendor || die + sed -e '/__vendor_site__/d' -i src/poetry/core/__init__.py || die + + distutils-r1_src_prepare +} + +python_test() { + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON} (unported deps)" + return + fi + + # Poetry expects test to be run inside a git repository, otherwise + # VCS-related logic doesn't get triggered. An empty repository + # suffices, though. + git init || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest index cb93886df630..f16d88f28d69 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -1,5 +1,7 @@ DIST poetry-2.0.1.tar.gz 2846041 BLAKE2B 691ffcd39799d0794f8853cdb9742d95d5dd64a62488af56f58b6ac1d8b7e734b109375d595f975e7b310bd3c36a5b5c846dd37e2ffd7bf2fe7d25bd1835cff1 SHA512 9a53fe5cbaea7c923e8af6920b545a54402d49937f31c5812dcc8939f8db44ea2557302f54e015fd7f7e96de66d8fc90596cd06a30dc53ef474a8bb54fdc2c97 DIST poetry-2.1.0.tar.gz 3433096 BLAKE2B 27feceb8c5bced84f508a538da231749f18724fd92051f328dbe9cc103c1988773a04e5526c5117c499df5a3121228d50dedb0d12f3a90f0d89b4438ae61245e SHA512 09757d3ca668e014d1591cb56a54013f34eec3b3d4216a2408ae73c2b784a2798727bfd65fb35cf604423cf0d67f2cfcff8f709d14debc9623d1dc9a863f4e68 +DIST poetry-2.1.1.tar.gz 3433288 BLAKE2B 28d8b376d3ca6f8e34b95132b1b09e86f0a6a52b6a75393ab04cdf200d545075235383d650d0867f7f59ed125357b263b56de02ab83390811bf956d4ce5dbf31 SHA512 3f25f72e64871ee3c894df03d9ebc8d7d6f22f0b3c90c09ba3a25316c632f0ecda833979ccd9f835e851fe404061da2f2354f6197c788348e5b884c2165eb0bb EBUILD poetry-2.0.1-r1.ebuild 2541 BLAKE2B 0a051be10c58887428a65ea67620812f3f4123ee82fcb5c7d7b0d3dbab23fa5509f2cc8bdea3de9dbec6c255ef7aec6f96eb754d17b7f63f9c44946e91ab6ff8 SHA512 fdc3629bca97ca4eca17b832a4794bcc0cb630c92431cf5b6ea0389b07d12250925b6d3292ac39d3e9d1ae004b02b3805aa7e3ebb8143079d248ad0696d208ae EBUILD poetry-2.1.0.ebuild 2803 BLAKE2B c894ec787c95480ef416d6eaf5f95287e2cd0a88cd41212d9319085b76f71f7ae1d1c8792ae35e5f05104c63beb62e9c98a152b6f1187e4c9c3680cb73ba3a1d SHA512 0406d333ee9b971f7f0112a2eb935d112f1c1e9b5955a2cd3b48844281b61501fd586b757fd26588a5e8d6d8b0675e784b047deb28489ea7ee8881bf533bccfc +EBUILD poetry-2.1.1.ebuild 2883 BLAKE2B 409a2baa8aab343cbac0118c42885ced0fdab53ea7fe3bb32020f580d0a92197f9dc52e4a418e0edca3793bfb469ae7794c7ccc7746f0fc10fa3099bd3eb7c28 SHA512 d3aee5caad34813ffbfb0055b51e9a27fa3f93de7964373ae4ef918d0764307c946fd90d79dade4384ea7a2bc4085791ae272581d43f36e6513bc9156668a151 MISC metadata.xml 486 BLAKE2B 7757afe2f964f49a04a600ec80af8511387c3a80105c9050755e1815cac148734f540e4da8c1da401c15a63bf5d0a8200ed6a5e1c09e5dacc7d39f5f59dd343f SHA512 541063e55b4dc5b927ef4ff6b385663bbf978d13ac6644c2537483ec42f211780cab4d881b159894dfe86519b4655c80bcfe17cdb90a2e033077b390a3842f46 diff --git a/dev-python/poetry/poetry-2.1.1.ebuild b/dev-python/poetry/poetry-2.1.1.ebuild new file mode 100644 index 000000000000..7b960d9bc1e1 --- /dev/null +++ b/dev-python/poetry/poetry-2.1.1.ebuild @@ -0,0 +1,87 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A frontend for poetry - a python dependency management and packaging tool" +HOMEPAGE=" + https://python-poetry.org/ + https://github.com/python-poetry/poetry + https://pypi.org/project/poetry/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/poetry-core-${PV}[${PYTHON_USEDEP}] + >=dev-python/poetry-plugin-export-1.6.0[${PYTHON_USEDEP}] + >=dev-python/build-1.2.1[${PYTHON_USEDEP}] + >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}] + >=dev-python/cleo-2.1.0[${PYTHON_USEDEP}] + >=dev-python/dulwich-0.22.6[${PYTHON_USEDEP}] + >=dev-python/fastjsonschema-2.18.0[${PYTHON_USEDEP}] + >=dev-python/findpython-0.6.2[${PYTHON_USEDEP}] + >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] + >=dev-python/keyring-25.1.0[${PYTHON_USEDEP}] + >=dev-python/packaging-24.0[${PYTHON_USEDEP}] + >=dev-python/pbs-installer-2025.01.06[${PYTHON_USEDEP}] + >=dev-python/pkginfo-1.12[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-1.0.0[${PYTHON_USEDEP}] + >=dev-python/shellingham-1.5.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.26.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" + +BDEPEND=" + test? ( + >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] + >=dev-python/httpretty-1.1[${PYTHON_USEDEP}] + >=dev-python/jaraco-classes-3.3.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + # unpin + sed -e 's:,<[0-9.]*::' -e 's:==\([0-9]\):>=\1:' -i pyproject.toml || die + + distutils-r1_src_prepare +} + +EPYTEST_DESELECT=( + # Internal test for lockfile being up-to-date + # Meaningless, also sdist does not include lockfile + tests/installation/test_installer.py::test_not_fresh_lock + + # broken if poetry-plugin-export is installed + 'tests/console/test_application_command_not_found.py::test_application_command_not_found_messages[x-None]' + + # TODO + tests/installation/test_executor.py::test_executor_known_hashes + tests/puzzle/test_provider.py::test_search_for_directory_setup_read_setup_with_no_dependencies + tests/utils/env/test_env_manager.py::test_create_venv_finds_no_python_executable + tests/utils/test_python_manager.py::test_python_get_preferred_default + 'tests/inspection/test_info.py::test_info_setup_missing_mandatory_should_trigger_pep517[name]' +) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m "not network" -p pytest_mock -p rerunfailures --reruns=5 +} diff --git a/dev-python/pycollada/Manifest b/dev-python/pycollada/Manifest index df29c2139137..de557ee6ba28 100644 --- a/dev-python/pycollada/Manifest +++ b/dev-python/pycollada/Manifest @@ -1,4 +1,6 @@ AUX pycollada-0.8-numpy-2.patch 4352 BLAKE2B ea530b93aed15cf2dfee3f0e02ff523daea5c4ad8852f499b6459d3c2446f206fe9b2fa86d6e39473fa01f39de2eba0592174452e9339889fdfc693b6c9fd1a1 SHA512 85bcbd8e6ad740c5df39ae757ff883758992f3c5aba1aaf2032d58bf9206413925829d108aafcfa99a9b90539a9abcc3437092577176b4dbee9a960d8a99e811 DIST pycollada-0.8.gh.tar.gz 3586706 BLAKE2B 533a2a309b4c7ee60671edfd241b80e7128330b2cd85d2707fc4f83b0aceb2d792d8efec77f9a6a8600eec0704878a4342449fde68f77e42617eff30965973a5 SHA512 7171469b8434a7c24ec2ebadefa9ad5268382659cb5b2b3712cf0ba73c7948e7fa4061ecfa02001862c76e1139293ab68cf425472222348e28efa28bc75f844f +DIST pycollada-0.9.gh.tar.gz 3587769 BLAKE2B 0b0cbb7b99e90e6a51958f0ff98a50caff2fdeb5f96ff7f8d46be1b8dee20a738e2a2d480785a772e391f2730820b1720ffd9880e14505ea6d2d9b4d95e0f711 SHA512 5ce2833ef5b823139b8ceca17a70dd22c02562cd58b38c88cad4e7b06ea9eb3842073c4e1e97c37b83e3798288fc016fd6244baf5cce183989edaf0c35eca3aa EBUILD pycollada-0.8-r1.ebuild 1218 BLAKE2B a3103f1f562bdf6dd73da5d84c1b99a16ef4211f7a7a3b960adc8efb5a8cbf11a28361941cebbcf48d168bd96ec999cb48325d1963f69f241eaf16ddf08eea76 SHA512 fea07a5c66289055ac9eb6c026b3feed2e8a9908191345152bf49affac22f1381bec6b85640ad8ccf839378a656cdcee56dab88ae7a6e8bf24d358cdfe3b28a8 +EBUILD pycollada-0.9.ebuild 1122 BLAKE2B 1c9456819ba2046c48a00be6e7dfda77beb42eb6de6779eaeb1230c1a22a5a379de18d472ec7846642a178251d508da33bde9953919de33ffcf3d5eae184909d SHA512 e41f4229f1df814e110749e18d1d8183d7af7234b3757a057a5a92865bf58f609fc4ffe215cfa3d117013d65e72731acae56a1b15b84340ad9ebf312385340c8 MISC metadata.xml 905 BLAKE2B 9e1283685c76cd27ff971ab68ef51f56cf296aa44fe3dbb5bf74a3e6b4ea69abb927603acc16747bd1bf8db906b4437cf792330df5e7803a211b1699a01034d3 SHA512 686ffa6bb798bd4387106cdb461f0abdc2a685c53c4552c95c86febd6789e4b323ae1ac9717109fea96287ac100a93b33e3ce37eea37e6de3e4f4e704e40e9e8 diff --git a/dev-python/pycollada/pycollada-0.9.ebuild b/dev-python/pycollada/pycollada-0.9.ebuild new file mode 100644 index 000000000000..6c0582fa88bf --- /dev/null +++ b/dev-python/pycollada/pycollada-0.9.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for reading and writing COLLADA documents" +HOMEPAGE=" + https://pycollada.readthedocs.io/ + https://github.com/pycollada/pycollada/ + https://pypi.org/project/pycollada/ +" +SRC_URI=" + https://github.com/pycollada/pycollada/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="examples" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.2[${PYTHON_USEDEP}] +" + +DOCS=( AUTHORS.md COPYING README.markdown ) + +distutils_enable_sphinx docs +distutils_enable_tests unittest + +python_install_all() { + if use examples ; then + insinto /usr/share/${PF}/ + doins -r examples + fi + + distutils-r1_python_install_all +} + +python_install() { + distutils-r1_python_install + + # ensure data files for tests are getting installed too + python_moduleinto collada/tests/ + python_domodule collada/tests/data +} diff --git a/dev-python/pycpio/Manifest b/dev-python/pycpio/Manifest index 013b1c1e97b4..ff96afd722b8 100644 --- a/dev-python/pycpio/Manifest +++ b/dev-python/pycpio/Manifest @@ -1,6 +1,6 @@ DIST pycpio-1.4.2.gh.tar.gz 22690 BLAKE2B 244145dabdee1fa50e54f98327608b96afef354d53e1405e2e54c47d9cc8a71c80e4adfe8f1c7a079a9acdd30751f125e7b5db61cd34baf375433248c7370757 SHA512 7fe6b7e6597a8733d740348888b5c41aa37f08e2ecd5843ab32751e8a5cd6ce9390201ba5a47c3febd2f61562db4ce6724404f9359238de91f94f4bc12b9c41b -DIST pycpio-1.5.0.gh.tar.gz 23293 BLAKE2B a01a62f2caf687956be65256a5ebde9c65d084a425f7777cc253f233e3ddd479b8220173417573b665d0271eb77397eadb2a8698f33d3794efd3243a96d0d63c SHA512 ae8ab8dcb852f40721f8cccac6235824d01349d0372d2931d456297cbe9899b071030fac46f564fe5f0e7ecf77b325245f5153e726520f16bbb4832c44eb34a2 +DIST pycpio-1.5.1.gh.tar.gz 23307 BLAKE2B 4c922cb5ced9f34143426ed60b76d0556ad7417bab73fb5ee6c23f2dd77666051c4a96347d54f212a1d640d34c4ef5ecdbc20f8e0d67a19d58f47e1902f8a07f SHA512 2b905cc655bd4b1b37d0fc7dca68a094c63104bac3898e3faf6855772af939d6128720fe560edf332d6623a6b4e3a1107f723a4cc9adcec3177ccd23c369eedf EBUILD pycpio-1.4.2.ebuild 561 BLAKE2B dc15d00fc269e3102f518a2d54f4c2c8ba19f4ddc10242e23142a7a9220de09f41b129121782156b437e502e936aaad937533ace4f7e862cbc3d545d18d2227f SHA512 5a603af1a6c2619aeb1925ba79ed8255eae3b69ec28fb8c2c68dcde56cdd0054cae9ca024b1f41f11ab8e09c3d8018ff3aef38b2a847a215a73f3d2529c4f937 -EBUILD pycpio-1.5.0.ebuild 608 BLAKE2B b166ae64b1f4fb4a273be9f1a9a19494fb80cb18220e4ca36e5feaa02ece139e7c21a0b352611665b6d926428407031abc9b37473ea37fa30275f6eca8576d39 SHA512 d453a42a717bd790b94117005f0eac544fa6c3dc6f92f93b6b8dbc9998c79174e6d4f28e3d1492963ec3fe0db29fa973aeaeb1716388a9e70442b009b9ad9748 -EBUILD pycpio-9999.ebuild 541 BLAKE2B f61d7408643fca829a886de541ed4f42b94c8576ebb5a27621d2996ecb704c0ee9411cda50ee21d765b932d9c891596a20ddb4c646eaa8978eba1aedfc284160 SHA512 12f71e22fcd0420a2f459bfbd66f2bafabb3ffa363fa35dda8b87d949a94e6c46d8ca7b7f7019137a5ea46c52b62ec31c87cb8207481b283248fb179570de23d +EBUILD pycpio-1.5.1.ebuild 845 BLAKE2B b8b002f2a5c539152db16dd926a1fc07447ce3681775222885022a2b1b90de7060196cfb23a60788973d70d0fd3b892d8a4d14578b25af83f796915de56adbfa SHA512 f7081f23260f3216ddf44f7e74608f7efec4e886a75793235b6fe5532834f592b6065fbf4148be7a74658059b7dd13e0aac372c82649b8731ebc22d7d2fb88b0 +EBUILD pycpio-9999.ebuild 822 BLAKE2B 6f12bfb74ff9cc7084f9d81451ab69967994faa384cd5a7c7b29ca3be54a9608372c8c7ee037eea87f19418dbc5c98e793adec1d73c9eb1e4ed9ad9ebe2485ff SHA512 4e3e4abd56763f89e3197372fdb29cb8eeb2f7618bfcc3f6c3e33daea25fbb97e01e84a5720b57f844826e8373837bf4b131a2b96646fcd4bffac41437dd38cf MISC metadata.xml 448 BLAKE2B 4324185ef695587de96b7df3e5edfbb8046c8d40902181fa581d3f1f02fa0085d6fdbc15d59032a28f0145a5bb6aa939b38b353168d5a69b6032950876b97f5f SHA512 a80d14c870ead81264b4e8295825955fbecc7f2296fe2fbd880dd5fb2e4c41e84378690737db7b13cd4736c15cac510ff56c5fd87fba75c5c38d7b7be84da6bb diff --git a/dev-python/pycpio/pycpio-1.5.0.ebuild b/dev-python/pycpio/pycpio-1.5.1.ebuild index 6914a2fb9163..1ca104f5e5b8 100644 --- a/dev-python/pycpio/pycpio-1.5.0.ebuild +++ b/dev-python/pycpio/pycpio-1.5.1.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{11..13} ) -inherit distutils-r1 +inherit distutils-r1 optfeature shell-completion DESCRIPTION="Python CPIO library" HOMEPAGE="https://github.com/desultory/pycpio/" @@ -21,11 +21,21 @@ KEYWORDS="~amd64 ~arm64" RDEPEND=" >=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}] - >=dev-python/zstd-1.5.6.1[${PYTHON_USEDEP}] " +BDEPEND="test? ( dev-python/zstd[${PYTHON_USEDEP}] )" + distutils_enable_tests unittest python_test() { eunittest tests } + +python_install_all() { + distutils-r1_python_install_all + dozshcomp completion/_pycpio # Install zsh autocomplete script +} + +pkg_postinst() { + optfeature "zstd compression support" dev-python/zstd +} diff --git a/dev-python/pycpio/pycpio-9999.ebuild b/dev-python/pycpio/pycpio-9999.ebuild index 7f8c13e6a025..9ff2800b0d18 100644 --- a/dev-python/pycpio/pycpio-9999.ebuild +++ b/dev-python/pycpio/pycpio-9999.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{11..13} ) -inherit distutils-r1 git-r3 +inherit distutils-r1 optfeature git-r3 shell-completion DESCRIPTION="Python CPIO library" HOMEPAGE="https://github.com/desultory/pycpio/" @@ -16,12 +16,23 @@ LICENSE="GPL-2" SLOT="0" RDEPEND=" - >=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}] + >=dev-python/zenlib-9999[${PYTHON_USEDEP}] >=dev-python/zstd-1.5.6.1[${PYTHON_USEDEP}] " +BDEPEND="test? ( dev-python/zstd[${PYTHON_USEDEP}] )" + distutils_enable_tests unittest python_test() { eunittest tests } + +python_install_all() { + distutils-r1_python_install_all + dozshcomp completion/_pycpio # Install zsh autocomplete script +} + +pkg_postinst() { + optfeature "zstd compression support" dev-python/zstd +} diff --git a/dev-python/pykka/Manifest b/dev-python/pykka/Manifest index 4c4e65d2b4b3..2b0feaeec94b 100644 --- a/dev-python/pykka/Manifest +++ b/dev-python/pykka/Manifest @@ -1,5 +1,5 @@ -DIST pykka-4.1.1.gh.tar.gz 48728 BLAKE2B 4c3f0bf5454c6af04a91ebecc562e34dad257f61cca1aa20e11deea6fb524d0fa1bb86d4dd0829fe8392f57c6fd6c49b1b50abb74f08b77bccf4219d91abb5f7 SHA512 99f8738dbd0a4172e9c8a2cdbfe36335e349f8b0e421ab53ad2869e4250e6c03e69b89eea30e05c015a0203e0e6191b421f23061aa3aab869bb4383cc6ed0d49 DIST pykka-4.1.2.gh.tar.gz 48738 BLAKE2B d6b6695a6c6482540ee5362752544753f5baaadbd888103ff13f025c5870304200cb3615d986c615b70b239d6c8710515fe9d974c765939190bd8b1abcdf3d0a SHA512 07ce084484abb56dd89399252e93a05e9f3e08b3ca023f751700a2cc99f7cb52a926c95b158c7208096bdfc250831aa1c340f2df04cbff5b159b329bb66f1c8c -EBUILD pykka-4.1.1.ebuild 645 BLAKE2B 57b490a9cada8db46bcc10618bc8948f2b69e0fff397b827710d26f3728e5c0ff324b457be5089a7964e748eef1143073f89af988e85102f0f619d392b24d9b6 SHA512 39e7b49cd5f26fe4c99dcfdaabb5a65c87c44a60c5de51d3a29a78f1e1d8b7fecff5d6a763990732ce68b6c548fba29d8476318885e5897e86df496a1dbcd718 +DIST pykka-4.2.0.gh.tar.gz 48384 BLAKE2B 23d0300a6cefc0dac720bd6da4a3fa5a1eb4644efbc7211e68e3fe4ff65457ccc45908e8aa02f2bfb0a4b16586cccb809e7cba95e96ac230de3b2ed69fd2fe8b SHA512 55de2fb603e642ffa91887d0fc69b3785bfae7de71911b45b336285f487c38feb07bd8033188b3ddaef884d5b0c0b789809be8ad8c0cfa9ac84c95485870178d EBUILD pykka-4.1.2.ebuild 599 BLAKE2B 1960319e2c8a8a46f91289bbb85f2fbea0b9e12e74d01b0a78f5e6bfce89c573439e16493389ca558c521c029d17954165ba52df03c7f540a924503bf71a4122 SHA512 52e98626de42afd598960c95bc11d4f947160910fac87ca2b872ad6cdc3c8c141c20568d3a617560aebc7e060ac188389de0a5e2183fba499a5a8d4d71a0e343 +EBUILD pykka-4.2.0.ebuild 602 BLAKE2B 89eb62a17139e7926907e013d91259e77a73add56daf67305a3e24e46e0032ee6c4de83385a9f722ef46794a3e4625efafad8bfe7b6d65306bf24ebc6768e05d SHA512 19c77981675b91f4aa09b1b037f844b75f0afb8dd7b2111bc8cf8df626cb54b7414b5a60b1d3418930bb6ac0a26470c6ae798fcd9e939d5f295235f96b8a6a28 MISC metadata.xml 360 BLAKE2B 6a3cd04142f75ec9e5c91d91e2d267e618e9824ea8b9b6be452c77b22c7d2f29d41068848f32c4e03e85f90767d4a8c83d2064cd9e20dda4997194fcc1bb9e81 SHA512 1fef48dd8d3bc9397d4bbbc90a8a1a3db7f39a1e6795e9057d6bfcde6ada8f939b2589235b07824c15ee348c42f1ffb372a10d7a49741d7db57b542ce31c11e9 diff --git a/dev-python/pykka/pykka-4.1.1.ebuild b/dev-python/pykka/pykka-4.2.0.ebuild index 74fa9c7b7177..f83e3e81f1cc 100644 --- a/dev-python/pykka/pykka-4.1.1.ebuild +++ b/dev-python/pykka/pykka-4.2.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=poetry +DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 @@ -25,7 +25,6 @@ KEYWORDS="~amd64" BDEPEND=" test? ( - >=dev-python/pydantic-2.9[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] ) " diff --git a/dev-python/pyproj/Manifest b/dev-python/pyproj/Manifest index 1b233f4592cb..62d2207148a2 100644 --- a/dev-python/pyproj/Manifest +++ b/dev-python/pyproj/Manifest @@ -1,3 +1,5 @@ DIST pyproj-3.7.0.gh.tar.gz 240143 BLAKE2B e5508adbfe8f30ce6808bfeacfa8de0cd70ac2f7578aaffb3a3962aacd4cde0b7100645d562fe8822ab1d962b19c7c1d02bc336bc830058dac8a1995044adc9c SHA512 6cc1df752a5ca58b3a90a725ca113f52648e2bf72b4ecdd516169571f71652cee5c6b34bd4932b9ddf0b94b084ea4a406d915aebfa9abf1d4065567f7b48d660 +DIST pyproj-3.7.1.gh.tar.gz 239121 BLAKE2B 42502c9230d11988c0b14b94226b043bb83bab4885e7490b786b78883a8b73081604dd856bd64b0baf5e241774cc3d384fcc9c1bbecfce10e0fcb3f82fcfadaa SHA512 43582a052e80d1d89120a79ec2ee1b4ae9cc24d65031275286791f2bad7efc0827831d2a7482d9a37988359a26c662d38144a372fc23a45a8edd814fd78fc1b7 EBUILD pyproj-3.7.0.ebuild 1144 BLAKE2B c694fb7047f7171a4fbf85a2604887d0fb67ec38d5adba32b57f0762f1133289b62acea52ca5ec307cb305927cdad361a58e8690bc0769aa379a6b6090305197 SHA512 f897343d3f0cfe2ec0be8760776bf353fd48e6489a2e47f9d141950c0a08732f6cf4ed2823a8a35a5313845609d3743be57b69d470fc57f33e4e2b8aba740179 +EBUILD pyproj-3.7.1.ebuild 1146 BLAKE2B 4753cc6569a8a78fb9a12019f681c010d102f179d277fcd045be66ec6efd4e04eb4d78e628712df4fffebaf9715ad9a5a3f73a6dd044c9f61630f507ca19c734 SHA512 dae4a46b281c73f050b44aa945b9ad83f759d3dfe8b4ca85d0659e069248f803a9024ff9d823d32db8a7a9e36396829f2bb7bf67f0f8a130d2fdd5e946bea164 MISC metadata.xml 415 BLAKE2B 4f3ab70bc72ca97a428c357257d3a59591b410f12276a42e141cd0a43072b79107529c95c6a313906129e8893c75b63a6ef11ddc2f3842a7f5e5e7f7349ec38e SHA512 7ca8a01534471dff67c42a96c524d166278e26da309b2c4d766045e38086cc0e52ccc990881ebed7ca81219d705d9e4a9c16e86b052a50867bb032457e354903 diff --git a/dev-python/pyproj/pyproj-3.7.1.ebuild b/dev-python/pyproj/pyproj-3.7.1.ebuild new file mode 100644 index 000000000000..c26e9320d427 --- /dev/null +++ b/dev-python/pyproj/pyproj-3.7.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2025 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_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Python interface to the PROJ library" +HOMEPAGE=" + https://github.com/pyproj4/pyproj/ + https://pypi.org/project/pyproj/ +" +SRC_URI=" + https://github.com/pyproj4/pyproj/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux" + +DEPEND=" + >=sci-libs/proj-9.0.0:= +" +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + ${DEPEND} +" +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/shapely[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + # Avoid greedily trying -L/usr/lib, etc + # https://github.com/pyproj4/pyproj/blob/main/setup.py#L76 + export PROJ_LIBDIR="${ESYSROOT}/usr/$(get_libdir)" + export PROJ_INCDIR="${ESYSROOT}/usr/include" +} + +python_test() { + rm -rf pyproj || die + epytest -m "not network" test +} diff --git a/dev-python/python3-discogs-client/Manifest b/dev-python/python3-discogs-client/Manifest index b4dfe6241fa0..89402b5daa1b 100644 --- a/dev-python/python3-discogs-client/Manifest +++ b/dev-python/python3-discogs-client/Manifest @@ -1,4 +1,6 @@ DIST python3_discogs_client-2.7.1.tar.gz 36930 BLAKE2B f0e6071759e8e14f4e78fc0cd15fe4643b1984be622e9fdbf28bda11699d4f7d829eaa7aee005c888e556b6c994585b1a5f2c12351a995f2937af87c360f5292 SHA512 4b9ca0fb1498319f814b88f2df6a1bd3d7c02f44bea8a13aa6b640d3d87def825dcc79181afddb173fedb7448f99a8f4a244915ebfaf26dd2411db8d151b054c +DIST python3_discogs_client-2.8.tar.gz 37416 BLAKE2B aec54b1fa383c673a94dbc9f8f3ff6dbf580b741ebeb2851b76224f5fe408bb316bbf83b42cde15569261eb3e3a4529312c2cb900f8c2a3b0b8bdbe27b50bd98 SHA512 7137ba2c298318cbdb2a0e41c3780c62c4780fbcfc77f03cc88341f7b7e42fdb8962ce91713d5bccd4afcd6173e0b4a2198a6b50b4b90c0baf05cb03746f6d5f EBUILD python3-discogs-client-2.7.1.ebuild 737 BLAKE2B 2df48eba9cb1f4fcfce98a26934d2952782791f02de67c9a250d91dec0249ba5e9b8d0a993a6f4a7e95416d140e5697a4f0879d0d05eb2a91f43bb1e246e5906 SHA512 fbe848850a9a07925ad725f13e970d0fbc68fe859668e7ec0b1dd3f9fb11e9a9f823cf08049fa5fb93e7b768a3a0b8e7c004f9f4622c6364116e083d182e03f3 +EBUILD python3-discogs-client-2.8.ebuild 739 BLAKE2B 190b6c19ddb68858d1aaf50dc857b01a117e10741a77c4f3959dfc6a41d81592476b3ceaa0daaddc85d22dc09cc2504df5539d446249aa54e0b8dc377292bc37 SHA512 bdfa39a6d6b3bf513561a562dbd3a1c451226a3a975a29639276444cd4bfa2863df8a8bcce530fe805b23fc18629f25dff2c633febfa3dc2a8934439b9456b92 EBUILD python3-discogs-client-9999.ebuild 739 BLAKE2B 65b9f4bf37f226ef8ae3fb46a4c0de93365e6be62dd804d954b3ed317757568b20b37e817fe30fca725551d9c7a48e8dc428b71dac4d5c705da3b74dbb5e7f76 SHA512 3e25ef8a907779721bb4e1c97dccc4532ae008157d2c993193f162031d447bd339eeffc43c3eb288e3b66e9d68f345d53242b709b36365828116899d9ad34a01 MISC metadata.xml 674 BLAKE2B 5c0dd431ad4633cbc7ddaa97e54e9f5b3eb67ed28e07ac313f218fd055e0042365c270e83153627decd196aca49db12304da87f2c74f20bc454fd8e5b4b8fb46 SHA512 ad582419be3887c5fa3c0d630ad32575f378453dd4f7a8c33df91db31b495caa88707214f7e456d69027532540a474c41ad8336b40e90229f1f31cd3193d7f82 diff --git a/dev-python/python3-discogs-client/python3-discogs-client-2.8.ebuild b/dev-python/python3-discogs-client/python3-discogs-client-2.8.ebuild new file mode 100644 index 000000000000..9ac2f3836dd5 --- /dev/null +++ b/dev-python/python3-discogs-client/python3-discogs-client-2.8.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/joalla/discogs_client.git" + inherit git-r3 +else + inherit pypi + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +DESCRIPTION="Continuation of the official Python API client for Discogs" +HOMEPAGE=" + https://github.com/joalla/discogs_client/ + https://pypi.org/project/python3-discogs-client/ +" + +LICENSE="BSD-2" +SLOT="0" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/oauthlib[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest diff --git a/dev-python/roman-numerals-py/Manifest b/dev-python/roman-numerals-py/Manifest new file mode 100644 index 000000000000..8d7ae96a1173 --- /dev/null +++ b/dev-python/roman-numerals-py/Manifest @@ -0,0 +1,3 @@ +DIST roman_numerals_py-2.0.0.tar.gz 8747 BLAKE2B 55998af1542f61aa0ac8a6bdf11aa6c4ef99f91a8d72df0194659f7b679a07b69f2a67ed71beca373d6c3c8843fd9c7149918755cb97ceaea3d6d9153321e5fd SHA512 c67d0f0c8244449694693c081a5291da7742ad19ede1447da06526bc8edb0f7f20b4778040f052ad104d6c5079c63fd052197fb2f0414d855c9531faa20b2041 +EBUILD roman-numerals-py-2.0.0.ebuild 457 BLAKE2B 169ff12f3e0e9a86e905196345b252b7003451891fea56f70b994476cd03ae1f5bb00eb87782e599cba3e8257e080360019b6474195135d3be2bdde0c4bc7cb8 SHA512 f67d59c940ed881e9876b10ccbf82ed8be35b0d3fcea6592371edcf46b6828de56dad472f0f8ff187db171ea15171285f85930cda03209768f82babdcf0ac21f +MISC metadata.xml 387 BLAKE2B 785d894a66c3b4a1d14fdb4510b8573c7d3eabb25ea22f61f6b66b4cf2d60ade26ba397d0b0a59899a06e870bc299b9f97b11982ebb7eef26e471a5a25f8ff23 SHA512 dc0901ddf30c3c719ec84bac2cdae8db65abb317ce308daa869956f3c0d4bac791e1a5dff69cb077c2fde04bdd4fdf77c23936f6f6918299beb1157cc74d1681 diff --git a/dev-python/roman-numerals-py/metadata.xml b/dev-python/roman-numerals-py/metadata.xml new file mode 100644 index 000000000000..5510aeea4eda --- /dev/null +++ b/dev-python/roman-numerals-py/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">AA-Turner/roman-numerals</remote-id> + <remote-id type="pypi">roman-numerals-py</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/roman-numerals-py/roman-numerals-py-2.0.0.ebuild b/dev-python/roman-numerals-py/roman-numerals-py-2.0.0.ebuild new file mode 100644 index 000000000000..b4e159b8f1df --- /dev/null +++ b/dev-python/roman-numerals-py/roman-numerals-py-2.0.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} python3_13t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manipulate roman numerals" +HOMEPAGE=" + https://github.com/AA-Turner/roman-numerals/ + https://pypi.org/project/roman-numerals-py/ +" + +LICENSE="|| ( 0BSD CC0-1.0 )" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest index 31ae944d3f2d..d28c06820d9d 100644 --- a/dev-python/scipy/Manifest +++ b/dev-python/scipy/Manifest @@ -1,9 +1,11 @@ DIST scipy-1.14.1.tar.gz 58620554 BLAKE2B 5cb383648a5f3b8d0d321efcd66992212c59ce3fc3dbf812a2fa97c09cb18831b280af6c7689553644f83c531a266e9152e2a139a12aed08307e1ed64deea78e SHA512 20e3cf13590f76dfdc40ca8f90e6d5a68502e74415f37fa24fdb8169098e1d7f0aa631ae742c8c3e9573fa7d63da61986d51f35f090a3785873ae0761f7fcfa6 DIST scipy-1.15.0.tar.gz 59407226 BLAKE2B 30e2f1c797c46646b21578c9b22145773c27119674ec8d4bba1b6e4bac4fe6d56d7b6fa49964783f432008a027e1498edbdceec6d1345aaee4bbe8975648b9b7 SHA512 62c2616535790a65cfe5907abaaa655ca9268406765e9baab31097aece7a3887e2bc616a77abe9869b2ff4b07dc4a56fc1dbbaaf82ebfd7d9a89e05b8e87df86 DIST scipy-1.15.1.tar.gz 59407493 BLAKE2B 959e1e311c5e53c2751794f629777a611ebd79c87d6cc2dec330ca335100b773528aa151e319cd9ae0520257d89597acdb3aca2319ab78c367c135499f54001f SHA512 92cb6a2cdb5a305eef0aa81baea4b90c14c0084c09ffbf62f2d6ee8dd5a08791a838838e2d4907356b5b07d0b4f74a81a8e861f81628bd9e5c7e0216e3f77b17 +DIST scipy-1.15.2.tar.gz 59417316 BLAKE2B 7ae748a58b6a7fb2674dc6627c3d6f4f28694283bf19ca9973fcf5796ccb0e2e35bb7cd8fbfbefa21cb832b771e563f478bc09ded61d989ea47625e7ac35e1bd SHA512 e772aa040622ef457478e08eb41471af33784cafc2022f091a30563f6abed067cdbae424a5ae86f9dab8c1adc67276794b67cb7cb7c7963ca55a38529df63834 DIST scipy-html-1.14.0.zip 65723829 BLAKE2B ba47dbf00a5d2a53a9addc5ea68ab18b42f211a018b89aa4b0b57ff0dee02e410a3effc59ddf8fbbc5aa33075d45d86880aed3a14068da5bd7b62ee526199967 SHA512 93be0bafcc64cea1ba130bbcc77c0741acc4f819c84a5030391a22657a1bc63abe8434a2723f66b7ad04c0809dc6d02e3a97ffb8d94bd3d4a4bb759ee796b475 DIST scipy-html-1.15.1.zip 68514487 BLAKE2B 328550d3d5700c520b2a6404c326a54ffecacc95ad5d05c727d833803d698346fb0188b6bcb659838c1a0f26355b28d70df02cddff48b8bdf564292e6cab56bc SHA512 14311da185c9454fe7dd2a8253dc4fad434664df4c7261b22a3415de576a49d51ce9a00dfb3c3ea4df9ce2bf1c9d7547ceeeb5af72eeda823243d7a2541db676 EBUILD scipy-1.14.1.ebuild 4074 BLAKE2B af8379c3048b0e186ea9801aa402ecc26153e456cd71b97e84b84d63aac2087dbfaa38cf73633bd9355f70bee9337614db138504a57f9555b144ede3fcecea85 SHA512 d60d0587d361fcc4c28dbbda186f7d4db650e4f01902c705990948ed715ae125ee09357a2e197a5856a86d4a0e48b564ed5eee8e50ea4c344238a953f1ea8eda EBUILD scipy-1.15.0.ebuild 4166 BLAKE2B 4e5963723c8f9d5aef120f1ab49ce78efb46c84fa9c6a5d3bf59cfe5ec3ac9c749191d81982f77a16b816770cef256e901fc852574081165c002508eda008d87 SHA512 f8b6afe7cbc0d497f9cdafae364c7496e723ef646901099806313de6afa8652bbed9da2ba2b068f986836cd97fc05edd05f34b282cc693df2a03ad87f0f00593 EBUILD scipy-1.15.1.ebuild 4162 BLAKE2B 98417321b5b1710f54a06034f79a5ef2c853f8f95567b5d5014d817d01942167b1049103b72f1db6e5954c8b5a56e398d71e3024f4398941ffeb3673692f0092 SHA512 1d1e4a065b68b11bfdc6c9fd09f3cd4b1e9ad85e062bf06e5beab34f44165678a03351438ac5476d92f2cfbed7312cad0cab787d13d9501136852ef7a1a668ba +EBUILD scipy-1.15.2.ebuild 4166 BLAKE2B e6a0f8ae57307865b5894e05bbf85dbef836627278e52fe629b34cd69d4803d87a735d498bec0fe40ae93756e4996f944cace785eda6f89760903beeea5147a8 SHA512 39332162df81ccfb575083225fdd7754cdc5f57821e020dc118ea6e37dad85f1eaec5bdef598ea78d81572cf116f06d7a96d725148f40f20f44e9e394011cf8e MISC metadata.xml 953 BLAKE2B a09ea1325a175e349fbc3ca77c5e7b373538ea01147e8544f44b7d4e0c55fbbc2012431fcfe9a3457e82d295e4b5630df1ed69c48ef3462ed9b157af30a1e09a SHA512 74a21c6e1a9bef95b3d74a9513c59d302f473725c04fa32a9991b6108113c0f4b78179ce4a628140e7aa870c24ca60bddf7a00063b6b73dd45110112311371d8 diff --git a/dev-python/scipy/scipy-1.15.2.ebuild b/dev-python/scipy/scipy-1.15.2.ebuild new file mode 100644 index 000000000000..73243ddf3913 --- /dev/null +++ b/dev-python/scipy/scipy-1.15.2.ebuild @@ -0,0 +1,163 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FORTRAN_NEEDED=fortran +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_REQ_USE="threads(+)" + +inherit flag-o-matic fortran-2 distutils-r1 + +DESCRIPTION="Scientific algorithms library for Python" +HOMEPAGE=" + https://scipy.org/ + https://github.com/scipy/scipy/ + https://pypi.org/project/scipy/ +" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + + # Need submodules, so git for now. + EGIT_REPO_URI="https://github.com/scipy/scipy" + EGIT_BRANCH="maintenance/$(ver_cut 1-2).x" + EGIT_SUBMODULES=( '*' ) +else + inherit pypi + + # Upstream is often behind with doc updates + DOC_PV=1.15.1 + + SRC_URI+=" + doc? ( + https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip + )" + + if [[ ${PV} != *rc* ]] ; then + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + fi +fi + +LICENSE="BSD LGPL-2" +SLOT="0" +IUSE="doc +fortran test-rust" + +# umfpack is technically optional but it's preferred to have it available. +DEPEND=" + >=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}] + sci-libs/arpack:= + sci-libs/umfpack + virtual/cblas + >=virtual/lapack-3.8 +" +RDEPEND=" + ${DEPEND} + dev-python/pillow[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-lang/swig + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + >=dev-python/meson-python-0.15.0[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.13.2[${PYTHON_USEDEP}] + >=dev-build/meson-1.1.0 + !kernel_Darwin? ( dev-util/patchelf ) + virtual/pkgconfig + doc? ( app-arch/unzip ) + fortran? ( + >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}] + ) + test? ( + >=dev-python/hypothesis-6.30[${PYTHON_USEDEP}] + ) + test-rust? ( + dev-python/pooch[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + default + + if use doc; then + unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die + fi +} + +python_configure_all() { + DISTUTILS_ARGS=( + -Dblas=blas + -Dlapack=lapack + -Duse-pythran=$(usex fortran true false) + ) + + # https://bugs.gentoo.org/932721 + has_version '>=dev-python/numpy-2.0.0' && filter-lto +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + + local EPYTEST_DESELECT=( + # Network + scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all + scipy/datasets/tests/test_data.py::TestDatasets::test_ascent + scipy/datasets/tests/test_data.py::TestDatasets::test_face + scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram + + # Precision issue with diff. blas? + scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799 + + # Crashes with assertion, not a regression + # https://github.com/scipy/scipy/issues/19321 + scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object + + # timeouts + scipy/sparse/linalg/tests/test_propack.py::test_examples + # hang or incredibly slow + scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient + scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient + + # TODO + scipy/optimize/tests/test_minimize_constrained.py::TestTrustRegionConstr::test_list_of_problems + ) + local EPYTEST_IGNORE=() + + if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then + EPYTEST_IGNORE+=( + scipy/datasets/tests/test_data.py + ) + fi + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # fd leaks in tests + # https://github.com/scipy/scipy/issues/19553 + scipy/fft/_pocketfft/tests/test_real_transforms.py + # TODO + 'scipy/special/tests/test_data.py::test_boost[<Data for expi: expinti_data_long_ipp-expinti_data_long>]' + # missing dict.__ror__ + # https://github.com/pypy/pypy/issues/4934 + 'scipy/sparse/tests/test_dok.py::test_dunder_ror[dok_matrix]' + # mismatched exception message + scipy/optimize/tests/test_hessian_update_strategy.py::TestHessianUpdateStrategy::test_initialize_catch_illegal + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # avoid other stuff being multithreaded when using xdist + local -x PYTHON_CPU_COUNT=1 + epytest scipy +} + +python_install_all() { + use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index 35534739cde4..5aaa616c3c20 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -2,6 +2,8 @@ AUX sphinx-3.2.1-doc-link.patch 604 BLAKE2B f23f8f9a0a48b170e2b6daaeded1e65aebe8 AUX sphinx-4.3.2-doc-link.patch 745 BLAKE2B 94f190d63168be99c4719a917f0a1210c56284c278c3909d9de34a319b4d5afa2337133509c06f87e53d5ae488efd88b0f79542719e8870c137f160732c25189 SHA512 aed97412a49212856ea6ccb392c2aa210862ec25d49c4b81a7ff17bd2d0cfe4811d80f4047622f7b23473e31aad968c34098b590045c1d0592b19f4cb6ec8b3c DIST sphinx-8.0.2.gh.tar.gz 8264835 BLAKE2B ed6e321a1e58341609d88993c418ec1a0a580683ed28895077322fdba839d5c158007d65d5349d4d53c5e3b49ae823142cc6eb0203812580ebbb5b95247bf157 SHA512 5e9f38af91d7a80b6a80a80ab26adbebc1c3303996182a58eed9120ed896c5bfde022616e116e8cb8195fe03741e93fd97dcacccf492912ab147c5bfcb79213d DIST sphinx-8.1.3.gh.tar.gz 8245194 BLAKE2B 43e0b2bc3214e01c55da356144c7e2e27dd8202b5c2dda6f6e1768c4ba4fa968180ff97f41c3b97e3cbeff1dad1199cd19385ae34dc0cb4250af60e157b3bd1f SHA512 b1d0fe9586b11083103449a04443884d06d2dcab2d0bcf66d07ef97543b5e92da60e3c02e6f8ba9e04a6d7bdd62c75ef9d3f790411753fcda2a67e0fbf6a2d86 +DIST sphinx-8.2.0rc1.gh.tar.gz 8283034 BLAKE2B 7387106d4fc41595dfff84611f7ec2abd6f8cdc3692c8848689c2aa14d6b157b70c19dbeab8fd2a8c6d5b50993e31b37efdecc3dc39894d9b3ecb17b72733d90 SHA512 57bebe1ac19176779ed9d27ad2e981f580ea30872fdb909d47f7474608f7b02b7a531fee8208d1625ae252cb05301daa84a8b241b4d3b431f5a5229be0c35280 EBUILD sphinx-8.0.2.ebuild 5295 BLAKE2B 6f22b9f2707e428c45f09e1c047ae321752c4f6c0cd872063dea2dc7fbe7d52fea8db06002b6af121dc68b8f9cf73542af39f16bffd258546223aff2dd27513b SHA512 2e56af0474b43734de6d5bd08b45a975d669cdef8e52952e58f264d268ee86ea26ed851fe9eb356c141aae19037e877e9c8a620a9b8eb88afe90055c29002e6b EBUILD sphinx-8.1.3.ebuild 5327 BLAKE2B c881284ca74737f2860c6ba764586c64aed5ff5bf244772f1694d725883ac54455b211d565f080aba934fe427ff8d4e0e901c156bfe27019733e9b3db728f7a8 SHA512 96d955d7fbf1dcdd158a2c257d33304391399eed8a7ac756cb3bbc91e0679653ef317c53607287127fe6a80644c7bfbdb3198bf863f2c552f622e95eda87f55c +EBUILD sphinx-8.2.0_rc1.ebuild 5152 BLAKE2B 1f9270be730281d799e1750fa1c0a04af9ef74303ee7a5c88e157b089a71ac8210c5006888d06ec45867772ac6a1f8252cadd5ccbeef0cddbc6a6c7cc0ef6cfd SHA512 27de4e6ac159a2fbc0c403549b86ee57874a51e88a8fc5300dc7f299d78c095340f86968be7d000ed46c2f9fa36725cd347f828cd6e947ee036cae31f8f6f7a9 MISC metadata.xml 568 BLAKE2B ddb7175070df6da4088813cc6b66f25bb4364e2619b1e7da94370f7ce8e73b68b12f618412f81e6be57fcb0c60c10e3913f26a6a578b0f9defa7b9ee8091fcde SHA512 d32b37cbe88f5e3db0c6968bc7aa22c7edfb3794bf7c62facd17e7ae1f4f0fbfc7c9f5512230cce16ed32e2ebb70c23dfe9b36ce38785c5f5b76585410313214 diff --git a/dev-python/sphinx/sphinx-8.2.0_rc1.ebuild b/dev-python/sphinx/sphinx-8.2.0_rc1.ebuild new file mode 100644 index 000000000000..3411635d690a --- /dev/null +++ b/dev-python/sphinx/sphinx-8.2.0_rc1.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_P=${P/_} +DESCRIPTION="Python documentation generator" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinx/ + https://pypi.org/project/Sphinx/ +" +SRC_URI=" + https://github.com/sphinx-doc/sphinx/archive/v${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD-2" +SLOT="0" +IUSE="doc latex" + +RDEPEND=" + >=dev-python/alabaster-0.7.14[${PYTHON_USEDEP}] + >=dev-python/babel-2.13[${PYTHON_USEDEP}] + <dev-python/docutils-0.22[${PYTHON_USEDEP}] + >=dev-python/docutils-0.20[${PYTHON_USEDEP}] + >=dev-python/imagesize-1.3[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.1[${PYTHON_USEDEP}] + >=dev-python/packaging-23.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.14[${PYTHON_USEDEP}] + >=dev-python/requests-2.30.0[${PYTHON_USEDEP}] + >=dev-python/roman-numerals-py-1.0.0[${PYTHON_USEDEP}] + >=dev-python/snowballstemmer-2.2[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-applehelp-1.0.7[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-devhelp-1.0.6[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-htmlhelp-2.0.6[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-jsmath-1.0.1[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-qthelp-1.0.6[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-serializinghtml-1.1.9[${PYTHON_USEDEP}] + latex? ( + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + app-text/dvipng + ) +" +BDEPEND=" + doc? ( + dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] + media-gfx/graphviz + ) + test? ( + app-text/dvipng + >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] + >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.0[${PYTHON_USEDEP}] + dev-texlive/texlive-fontsextra + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + virtual/imagemagick-tools[jpeg,png,svg] + ) +" + +PATCHES=( + "${FILESDIR}/sphinx-3.2.1-doc-link.patch" + #"${FILESDIR}/sphinx-4.3.2-doc-link.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + # disable internet access + sed -i -e 's:^intersphinx_mapping:disabled_&:' \ + doc/conf.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + # we can't use distutils_enable_sphinx because it would + # introduce a dep on itself + use doc && build_sphinx doc +} + +python_test() { + mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die + local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" + + local EPYTEST_DESELECT=( + # less interesting failures + tests/test_builders/test_build_latex.py::test_build_latex_doc + tests/test_extensions/test_ext_math.py::test_imgmath_png + tests/test_extensions/test_ext_math.py::test_imgmath_numfig_html + ) + case ${EPYTHON} in + python3.13x) + EPYTEST_DESELECT+=( + tests/test_extensions/test_ext_autodoc.py::test_autodoc_special_members + tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_type_aliases + tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_format_fully_qualified + tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_none + tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_signature + ) + ;; + pypy3) + EPYTEST_DESELECT+=( + tests/test_extensions/test_ext_autodoc.py::test_autodoc_exception + tests/test_extensions/test_ext_autodoc.py::test_autodoc_ignore_module_all + tests/test_extensions/test_ext_autodoc.py::test_autodoc_inherited_members_None + tests/test_extensions/test_ext_autodoc.py::test_autodoc_subclass_of_builtin_class + tests/test_extensions/test_ext_autodoc.py::test_automethod_for_builtin + tests/test_extensions/test_ext_autodoc.py::test_cython + tests/test_extensions/test_ext_autodoc.py::test_format_signature + tests/test_extensions/test_ext_autodoc.py::test_partialfunction + tests/test_extensions/test_ext_autodoc_autoclass.py::test_autodoc_process_bases + tests/test_extensions/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type + tests/test_extensions/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type + tests/test_extensions/test_ext_autodoc_autofunction.py::test_builtin_function + tests/test_extensions/test_ext_autodoc_autofunction.py::test_methoddescriptor + tests/test_extensions/test_ext_autodoc_automodule.py::test_automodule_inherited_members + tests/test_extensions/test_ext_autodoc_preserve_defaults.py::test_preserve_defaults_special_constructs + tests/test_extensions/test_ext_autosummary.py::test_autosummary_generate_content_for_module + tests/test_extensions/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped + tests/test_util/test_util_inspect.py::test_isattributedescriptor + tests/test_util/test_util_inspect.py::test_signature + tests/test_util/test_util_typing.py::test_is_invalid_builtin_class + ) + ;; + esac + + # note: pytest-xdist causes random test failures + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p rerunfailures --reruns=5 +} diff --git a/dev-python/trio-websocket/Manifest b/dev-python/trio-websocket/Manifest index 88802edbabda..9c1028baed89 100644 --- a/dev-python/trio-websocket/Manifest +++ b/dev-python/trio-websocket/Manifest @@ -1,3 +1,5 @@ DIST trio-websocket-0.11.1.gh.tar.gz 45682 BLAKE2B 0f926421828476c9e23cf962df7a17a2cf4470e0898dddbc4690497521205ea11973a188ca460685739d08c34be237682b0bbbbe2c279d35e5c2fdce9b3ce020 SHA512 4b0eb6f0c012cefedb69b97e9452ba979336fbe9f154799c4c68871b8013e728374e4872a2343ab4d27fa6e25e40c3063e681e80470123d37f13f531be4f6644 +DIST trio-websocket-0.12.0.gh.tar.gz 52237 BLAKE2B 1577162f36fe7e22fe7618f5895876dff0af4ed84bc7cb34975aa291390be48df322ab79cce1c04aa9a67f1b1c8578a1988ba7b49a8208a11fde68ec0cc678a8 SHA512 f1c166a075f9b5b63ea36216b2f138fb9fbb4b60f8d23bf3dc85899d02a9f6e59439c2c7a18194fc05837b4f986206b9140f1b59cfc5061ed5667c1dad32455b EBUILD trio-websocket-0.11.1.ebuild 1549 BLAKE2B fb4da5270ce4636e0d6421d4d1ad2ec09b9f00e215b122e349a25e59100c9d581338ebd58fbc5386de04567e7a34701f13f903110f039bf327753a6241a17914 SHA512 8890e9250fa092d0c66c5b9eb195a4e8a670158ff33549c45ce111fe106b53d8f15dbd706d0d786fd0dad140ea1332183737c8d89edc58f58f99b6cc726aec25 +EBUILD trio-websocket-0.12.0.ebuild 1556 BLAKE2B df28cb1f449d130bcb1e686df5af0d3134280422468ac6496eaa075a8443fdb986599c7b995eedf268b2acd948674f461069c745442ba15f44b9aaf2eebb1b93 SHA512 26cd9dc63a69fee40667b14843884188468d29b2c43fd8a731dc4d02181e2482c29426d91613bfcd7d5c2ff20c52f8a9828ea06fdfac27d813ab5aea22d0ce05 MISC metadata.xml 408 BLAKE2B 40171491e2126391058f6449ba63a69aad29f7d16c03a97b39905cbf143fc38806dca77b21a207b1f53d7eb3df65db83e12f77fde88031a077658066747ba26f SHA512 b473e4bc56819d9c96df120c986d74a11a7bdcecca07398488056241653156ced82e1099d8dd6fa4bd6425b5e9b9a313f26a2e9860387ad3ce3e6c1d0b9ec18c diff --git a/dev-python/trio-websocket/trio-websocket-0.12.0.ebuild b/dev-python/trio-websocket/trio-websocket-0.12.0.ebuild new file mode 100644 index 000000000000..b81e48c07229 --- /dev/null +++ b/dev-python/trio-websocket/trio-websocket-0.12.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="WebSocket client and server implementation for Python Trio" +HOMEPAGE=" + https://github.com/python-trio/trio-websocket/ + https://pypi.org/project/trio-websocket/ +" +SRC_URI=" + https://github.com/python-trio/trio-websocket/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + ' 3.10) + >=dev-python/trio-0.11[${PYTHON_USEDEP}] + >=dev-python/wsproto-0.14[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # exception tests are broken with trio-0.25 + # https://github.com/python-trio/trio-websocket/issues/187 + tests/test_connection.py::test_handshake_exception_before_accept + tests/test_connection.py::test_reject_handshake + tests/test_connection.py::test_reject_handshake_invalid_info_status + tests/test_connection.py::test_client_open_timeout + tests/test_connection.py::test_client_close_timeout + tests/test_connection.py::test_client_connect_networking_error + tests/test_connection.py::test_finalization_dropped_exception + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p trio +} diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index 9799a74d44ad..752ba5dbd425 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -1,3 +1,5 @@ DIST typeguard-4.4.1.tar.gz 74959 BLAKE2B 1b08e7404045d128bbecf5c16c0b24dbc42a59a3e78d0516f458989d6874d7795332017ac87ce59a7ed05edf4df6b918516d63d90723c702b5d05d7acc0193df SHA512 af862371b22237cc39efad4840bb0bbd632116bee6e095531426dbaff606b6c1b2b58c82ddc083f816c340b4151421ff911ffd689dc3dc2fb7a031c067182aba +DIST typeguard-4.4.2.tar.gz 75746 BLAKE2B f2a2c318a27eea573ce358284aedb97e126ce1aa7f60755079c07eddb1c93785ee6a50f5e95cf47234534cd44541efa974fc1ebe7af737875a328870235ca285 SHA512 205429ae4960563c10b747956a2f4f41504abb300957cc75be0e9a6caecba84bebbbbf2e71d22f2961870f12f29e03fcd78ef0cd54edd7285f62ceaf35a74138 EBUILD typeguard-4.4.1.ebuild 921 BLAKE2B 63f26648689dc0f2349abe301e7d3994ba96ff24d49932477cd124679ad96e4b71d57c8ef44058012bc85f33546481fa8aad94f92a11357a65086f6f18509910 SHA512 2675e1e9a7038a55b2858aa686e9031784e8dd26b535aa9978a7d467c0dd579c43f9c182dd03323381255a579b3ac402194fbe955492317c4a3e66a2e1cb4bbe +EBUILD typeguard-4.4.2.ebuild 929 BLAKE2B b4473f0b0337bf291dc6ca08f54167c81f33920df6811d69e385e6f8e7ed283d008e0da2bf8cb2356eb6f2bd12aec183edf68cdad6ad33bb4c268cd82b9eccc7 SHA512 663d8b0a308f9530d77167db515b239f7ddb0de580cfdad6395a58edd34914081a8bf24e6446eaf06d03069df4d9d743a3200b4c6ff7febb6b24fe4cd07f8f0e MISC metadata.xml 374 BLAKE2B 4d21d429ee67d8dac1ffd7b7e7d382d501a1baf04ec2478ba539c41e743b9b977d1d9a37e115e8eb35b6d24f39425556a315aec3ed939667e2ec22ab3c7b48c8 SHA512 83356b2ae54b9ab54c430e87be1618ae7ac1da91a2acafb6bae04718a3f8899e2c354a6251ad01651b562376e357bf35570ded512d12f85d74450313ae3f85ef diff --git a/dev-python/typeguard/typeguard-4.4.2.ebuild b/dev-python/typeguard/typeguard-4.4.2.ebuild new file mode 100644 index 000000000000..930160ec4ebf --- /dev/null +++ b/dev-python/typeguard/typeguard-4.4.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Run-time type checker for Python" +HOMEPAGE=" + https://pypi.org/project/typeguard/ + https://github.com/agronholm/typeguard/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/typing-extensions-4.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # mypy changes results from version to version + tests/mypy + ) + + local -x PYTHONDONTWRITEBYTECODE= + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # the XFAIL test pass due to some package being installed + epytest -o xfail_strict=False -p typeguard +} diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest index 5cca4c515446..9e47bca054bc 100644 --- a/dev-python/websockets/Manifest +++ b/dev-python/websockets/Manifest @@ -2,7 +2,9 @@ DIST websockets-11.0.3-python3.12.patch.xz 4328 BLAKE2B 6ef94255ef5d95de8015eca1 DIST websockets-12.0.gh.tar.gz 352120 BLAKE2B cab704e0ee44a7012ee58d515a5ea7380a97a3cbb8f55d105c00c8c2b9ed992b4c87435875474de32e5969fd92256bdec830db0571399a1d2e5fb719b23c2d83 SHA512 f17943d444ce275b709cf89453b2d2cce09f5af26f0460e226c2e24cfbb425c825963352e130dcd4201587606355375b525d8e5a02eccbffbb3985a108a3ed5e DIST websockets-14.1.gh.tar.gz 425408 BLAKE2B ebedf5bf27373cc05b6b82675bf7ff32b63f025e9bcee405a224c44d54e93b6a10d86a1deb1773e232fe1bb1680642e4553b9f5be999cb7523823b180a899840 SHA512 771c7d2e55f90de1307d8d662c2066397c0e2299f321dd3621df99cdf105f8d9d7583b70e7d1c51465174e9d35ba8db51eda559ca9bbd7ce74c90d1759df2e5d DIST websockets-14.2.gh.tar.gz 427526 BLAKE2B 2c6fca711b16e5c45d49320f86f7da2ef428573786dbecb57876978b8a2819d8074984d929a0ff16222a8131f175287ed66d5c19dd7ca12106fbe93449a3dda6 SHA512 b5b5ce455e5b68a14993ac1d02c6f417db6cc89cdb9b21e12ba1e1975050fdf7e1935e08a35d8fcb41f5e255385c72834627c989f0734d7015bc1817f6067fe9 +DIST websockets-15.0.gh.tar.gz 453725 BLAKE2B a4b7a60533744d7e1ed2fb5ae59853d9db2b73f4311f1753383603e02d6df98963cd58e723de5eddec0d52dddcf835ede8a632196e832c81ae89b7321807761b SHA512 8fbaa26846cfe08802d580e0559fa9b00bab004a3ec3bd97aef05725778c1695e092977324ebbec50c1886e8fe13ac4b1d8fb752a13d25f178c976ad2a918dba EBUILD websockets-12.0.ebuild 1420 BLAKE2B 135e8bb0886d85ceb788f311e821a129a088fbaac7c7b276e43f0f8f8790ce8ec15db3405cfaf04356c9b42410fed2fc38642d58afaa84fc96c9f65a58d94c41 SHA512 105c2d7fcfd835a730c3b43411e60b4d893cb534d7cddd47b2adaa9a90e0cf351d81088561c477659910ea9bd206ce8605da37e424e78ef0b9b750dce4a31d2e EBUILD websockets-14.1.ebuild 1576 BLAKE2B a861b65f56efccc82db38d20f72099af844abe5601d3f2304b32d4730ffd893ad183a58ea809385216d76c76067bd96b26a2fdfe14d6e035fc2d310a06e628a9 SHA512 d708df875bd2c4a8ac4dfd410c5d57fac1217df2a6831eb6ee37fc3eeafd3a62a59be3f34226716b6c7f15368e8b9e1902686312e8f38bb606c66747d82ff209 EBUILD websockets-14.2.ebuild 1586 BLAKE2B ed2091f27d12dd57435e607421d512d45e1bf2a6b936371c87d05db85b9b8007a92a3fe746e9ac347af280aa87138811013cd8980f788fd7eff471fbc9c19f70 SHA512 a86a3547b436f5e429531bbc2470d2653348e0dbd130f46d42de3684802af59a1b2c0468f1968a2351bcedf2ec5fffda0be12a89a1dd50b396a78e951b3772e9 +EBUILD websockets-15.0.ebuild 1502 BLAKE2B e00d8ac829b8ce9e62039458bc85a9b88099a95ce4f99f49672a92980fdc8293246828009b735526c29e26a63f94ba6f605bb83eb4a37d4a12043b3fdeefa695 SHA512 68c4a40e2e067599d8c22f04b469dc87ba3efe045de4addc5c7f8bf3a7190c929d1a5e7e7f1cd48491584736d36296df16577d642a2896c4426c43e34af93c0f MISC metadata.xml 580 BLAKE2B 66a318a73b2a9e37f44a28dfc9ed5f1aa7193edb05fa295bde27fd7a1c429cae1d875289ac5bd8ff7b579be2cfc5671d27dfb46ba959c47b2c1074e8e549e9c3 SHA512 c4ba79e5ec539ffb6f0338e6e161132dc8dd0e6c7e7533df1c32731810126b728076703a542bb28abc159842ad71bd42e69e36f4fe17dc3377d054d21ec53dbf diff --git a/dev-python/websockets/websockets-15.0.ebuild b/dev-python/websockets/websockets-15.0.ebuild new file mode 100644 index 000000000000..69d19d24fe64 --- /dev/null +++ b/dev-python/websockets/websockets-15.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Library for building WebSocket servers and clients in Python" +HOMEPAGE=" + https://websockets.readthedocs.io/ + https://github.com/python-websockets/websockets/ + https://pypi.org/project/websockets/ +" +# tests are missing pypi sdist, as of 11.0 +SRC_URI=" + https://github.com/python-websockets/websockets/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +BDEPEND=" + test? ( + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_compile() { + if use native-extensions && [[ ${EPYTHON} != pypy3 ]] ; then + local -x BUILD_EXTENSION=yes + else + local -x BUILD_EXTENSION=no + fi + + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_DESELECT=( + # requires DNS access + # https://bugs.gentoo.org/909567 + tests/legacy/test_client_server.py::ClientServerTests::test_explicit_host_port + tests/legacy/test_client_server.py::SecureClientServerTests::test_explicit_host_port + # TODO + tests/asyncio/test_server.py::ServerTests::test_close_server_keeps_handlers_running + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests -p rerunfailures --reruns=10 --reruns-delay=2 +} |