diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-30 06:10:30 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-30 06:10:30 +0000 |
| commit | f2b066252b0e859eedde17d45a6e13a5b813b624 (patch) | |
| tree | 9dd4bd2e482cbe23c93993919323fd46043015da /dev-python | |
| parent | 86d18d9c382148e8ec438b715b54d48870b1a56f (diff) | |
| download | baldeagleos-repo-f2b066252b0e859eedde17d45a6e13a5b813b624.tar.gz baldeagleos-repo-f2b066252b0e859eedde17d45a6e13a5b813b624.tar.xz baldeagleos-repo-f2b066252b0e859eedde17d45a6e13a5b813b624.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
30 files changed, 772 insertions, 14 deletions
diff --git a/dev-python/cli-ui/Manifest b/dev-python/cli-ui/Manifest index 15b36ec92bbf..14875b1c8303 100644 --- a/dev-python/cli-ui/Manifest +++ b/dev-python/cli-ui/Manifest @@ -1,2 +1,2 @@ -DIST cli-ui-0.17.2.tar.gz 13366 BLAKE2B b5dbccf136dad09bf213e199050c31cce545a44dd46b61f8eaad8b40679203da5b742a1deefc0f934bbbab286c101892d5b5e93c45624631f778245c4724ddcb SHA512 ea38c3c39b24f322b58f8e95e43609a22657018d36fd28d5dfa7887295eb4ad374032fdd2330762ed50826211ed11fa6a6356d93d09b2135264cf59f13749993 DIST cli_ui-0.18.0.tar.gz 13012 BLAKE2B c96eba706b5d7275c9ad76d1a099ff7bcda8ae894361ba8d0ac944531fe813d17156bb27cb6d342268fb28845aeedcef1d19c36f1ddda43d3b98cf46c30d9818 SHA512 69c68df27d74d167dc50088381a048265fc51603e7e13811895ac771df1cc03f9670274e73a162a67706afc9e2a4eb1ccd75872309a3c2c06f84c2ccaa03dd92 +DIST cli_ui-0.19.0.tar.gz 12808 BLAKE2B 40e91549f407f77c69a7bb4ad8388b360b9b96c1629b7e45def8f93e8fb283a8c92d63ab1d68cbecd7a1bcb158a4cdc68ca8e48ac4d86f292f9db8df9991f126 SHA512 b8b4d917ecb95cff86cc088a8102e0bf7597a350e191f103c14e1357688911c1273d275f636f22e90980c9b9841cb2a47394add334652577053489159fec361c diff --git a/dev-python/cli-ui/cli-ui-0.17.2.ebuild b/dev-python/cli-ui/cli-ui-0.19.0.ebuild index 5bc7c7b18733..33eb66ed5aa1 100644 --- a/dev-python/cli-ui/cli-ui-0.17.2.ebuild +++ b/dev-python/cli-ui/cli-ui-0.19.0.ebuild @@ -1,17 +1,19 @@ -# 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" -PYPI_NO_NORMALIZE="1" PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 DESCRIPTION="Python library for better command line interfaces" -HOMEPAGE="https://your-tools.github.io/python-cli-ui/ - https://github.com/your-tools/python-cli-ui/" +HOMEPAGE=" + https://your-tools.github.io/python-cli-ui/ + https://github.com/your-tools/python-cli-ui/ + https://pypi.org/project/cli-ui/ +" if [[ "${PV}" == *9999* ]]; then inherit git-r3 @@ -27,9 +29,9 @@ LICENSE="BSD" SLOT="0" RDEPEND=" - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/tabulate[${PYTHON_USEDEP}] - dev-python/unidecode[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.1[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}] + >=dev-python/unidecode-1.3.6[${PYTHON_USEDEP}] " distutils_enable_tests pytest diff --git a/dev-python/cvxopt/cvxopt-1.3.2.ebuild b/dev-python/cvxopt/cvxopt-1.3.2.ebuild index 7cf14135525d..d4f240981d8b 100644 --- a/dev-python/cvxopt/cvxopt-1.3.2.ebuild +++ b/dev-python/cvxopt/cvxopt-1.3.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,7 @@ SRC_URI=" LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" IUSE="+dsdp examples fftw +glpk gsl" DEPEND=" diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index 752e34801ca7..e12cffe0d922 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1 +1,2 @@ DIST fakeredis-2.27.0.tar.gz 157510 BLAKE2B aa427ce2bc0880aeea6fcb063cb98ff60caf600cae8b21c902a1d9193dd14d7a5f0daa7a3114c92d8eedeef84c936dba326c68e054a6c1dd775209d9055a88f3 SHA512 2fd33ca8e0a95e381cef5794beb009a20c9cf21c03954e86c56e634f00ea959615dc6021265f76c14236f219ee1bf606fbd43d46ab1db5dc3426b1c610020728 +DIST fakeredis-2.28.0.tar.gz 160940 BLAKE2B 211c86d37f3d0ee2d0afd82bd4e00814cce6ff4fd4580810d3606732d41755521edd4c0447cb4e6912313d141346675e4b8649caec864592e79001549e9220b4 SHA512 5ef685ae964d4687054ecc5fa46dc02709730c0152b38b09382f62a3f0793d3930e4454acbe1d819601247cbb514750360730878013df4b1b96cb78c50195b42 diff --git a/dev-python/fakeredis/fakeredis-2.28.0.ebuild b/dev-python/fakeredis/fakeredis-2.28.0.ebuild new file mode 100644 index 000000000000..1f96b776e646 --- /dev/null +++ b/dev-python/fakeredis/fakeredis-2.28.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/cunla/fakeredis-py/ + https://pypi.org/project/fakeredis/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/redis-4.3[${PYTHON_USEDEP}] + <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # also lupa + test/test_aioredis2.py::test_failed_script_error + # TODO + "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" + "test/test_fakeredis.py::test_lpop_count[StrictRedis]" + "test/test_fakeredis.py::test_rpop_count[StrictRedis]" + "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" + test/test_mixins/test_set_commands.py::test_smismember_wrong_type + # new redis-server? + "test/test_mixins/test_pubsub_commands.py::test_pubsub_shardnumsub[StrictRedis]" + # json ext + test/test_json/test_json.py + test/test_json/test_json_arr_commands.py + # tdigest ext? + 'test/test_mixins/test_server_commands.py::test_command[FakeStrictRedis]' + # hexpire ext? + 'test/test_mixins/test_acl_commands.py::test_acl_cat[StrictRedis]' + ) + local EPYTEST_IGNORE=( + # these tests fail a lot... + test/test_hypothesis.py + ) + local args=( + # tests requiring lupa (lua support) + -k 'not test_eval and not test_lua and not test_script' + ) + # Note: this package is not xdist-friendly + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p pytest_mock "${args[@]}" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6390 + + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest index d18dc67a0d58..313e17422cc0 100644 --- a/dev-python/flake8/Manifest +++ b/dev-python/flake8/Manifest @@ -1 +1,2 @@ DIST flake8-7.1.2.gh.tar.gz 139099 BLAKE2B 4236a533cbaaa91c4c407af02890189ca65b7ebfe3af711df2cdba02e5a28963fc3622e0a0a41190168f3cd827ccb8fed4561cdcf352642f2660ec361657a43c SHA512 da90d07d45690efa433338ed6fcfaabdf08b5bf600783fa0f22b59f77bc560b81d3e0c8203c8fe92bd0b133f40fccd919d68c65cab9a266ea6f5bd45576b3837 +DIST flake8-7.2.0.gh.tar.gz 139186 BLAKE2B 6ff405b575a1b963dfe46ce487626813be80ef981e1cef3ff81f7068e4485b8ba91a783da9ea235e24b07bc309ad0b6cdfd7bddc85bafbaa0770cbfcaa257e18 SHA512 8478b463aa84cdfb8144fb20db03116593e21cc4ec7dee2b87ac7edcb67cb00ae181a51117c885363f1050a83db5a91a65d52c3d8d80affb0a5e526e56792f26 diff --git a/dev-python/flake8/flake8-7.2.0.ebuild b/dev-python/flake8/flake8-7.2.0.ebuild new file mode 100644 index 000000000000..707825a83777 --- /dev/null +++ b/dev-python/flake8/flake8-7.2.0.ebuild @@ -0,0 +1,62 @@ +# 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_{9,10,11,12,13} pypy3 ) + +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.3*[${PYTHON_USEDEP}] + =dev-python/pycodestyle-2.13*[${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 + ) + case ${EPYTHON} in + pypy3*) + 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 + ) + ;; + esac + + epytest +} diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index bdd20940f2ba..712b812fc209 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,2 +1,3 @@ DIST griffe-1.6.3.gh.tar.gz 395341 BLAKE2B c2beca0377d6d4a43a9a833142d1750d10fb4584c451cc7c9758275bfb58e6078634e79a204794b3b360d7afff0b37d68fb12d2f845ae846a6aa97ccb696538d SHA512 7b9197854ea8262bbcfa14fcd18dfb10e6bde253b92b7e88fc199f49f73d76f3641a6d3df8e383b4b1e2736a35f204eafe520347f00fd0f3c4f7bfd9a56d1e3e DIST griffe-1.7.0.gh.tar.gz 397619 BLAKE2B ecd2b490ec4fa37e5ac4bc0ac509145093245345af81a933d9b1e763c94e3fe0e6fdcd8a8d73f276c6740a1dd5397eedaa647efee6c01bab7e55b914cc43e1fd SHA512 c69d7ddbd5641f8cc1c0b920349488dcf1f61109d3437a4658ae1379ee80cabf02073c0c25a41ba1ef5a627a8c27fd42bd6339931af043ce866ab096d064ffb2 +DIST griffe-1.7.1.gh.tar.gz 397814 BLAKE2B fe481ae8cbffb79f355881fd5030ef43275c3bd8732757f77b5038a757629024b223374c33d9a5140fe0c375e54153e9835c267548282d545596c3b4a183afc8 SHA512 e2c538e2a413f2803c714ba2326599453ca7fd4ffbb6221076ef3a00ea95a159a852b9ad766cf0e66364cd1d05748b39efac534c6b7429cb276b85d09f6e2342 diff --git a/dev-python/griffe/griffe-1.7.1.ebuild b/dev-python/griffe/griffe-1.7.1.ebuild new file mode 100644 index 000000000000..6f7090dd3f3d --- /dev/null +++ b/dev-python/griffe/griffe-1.7.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Signature generator for Python programs" +HOMEPAGE=" + https://mkdocstrings.github.io/griffe/ + https://github.com/mkdocstrings/griffe/ + https://pypi.org/project/griffe/ +" +# Tests need files absent from the PyPI tarballs +SRC_URI=" + https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/backports-strenum-1.3[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] + >=dev-python/mkdocstrings-0.28.0[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export PDM_BUILD_SCM_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=( + # fragile to installed packages + # (failed on PySide2 for me) + tests/test_stdlib.py::test_fuzzing_on_stdlib + ) + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # https://github.com/pypy/pypy/issues/5226 + tests/test_inspector.py::test_inspecting_objects_from_private_builtin_stdlib_moduless + ) + ;& + pypy3*) + EPYTEST_DESELECT+=( + # tries importing CPython-specific modules + # https://github.com/mkdocstrings/griffe/issues/362 + tests/test_loader.py::test_load_builtin_modules + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index f6c59392cc5c..7f13646c62f5 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -3,3 +3,4 @@ DIST inline_snapshot-0.20.5.tar.gz 92215 BLAKE2B a366a61f84d07481e1d9bf7033c6918 DIST inline_snapshot-0.20.8.tar.gz 92748 BLAKE2B 6e06f799197f4a9801f248d407a1e02c10aab34a04ceac9523b3d702d28af28aa680ce20d0e2158a24c7cc6887ff5b8ee71772fe02f921ef3da15785390c009c SHA512 d54ee73679f72426c544f2980ce9ba59e8964e07600d00e87e1b003cfeec7f52256b6239ba0e586f6a5cadc4ad08c1e09a722cb099d3282c7466c467e97e8b59 DIST inline_snapshot-0.20.9.tar.gz 92793 BLAKE2B 361dbea001903a038db565b58a9b676be2eb17747ec6f482befb2601dd6858ef4773ab4db1e738124dd7768137b4d3fa1386c9898a313a8047572845768651a6 SHA512 d005aa8be72f8e2cf85248d30ddb3a12151da34868a663af8d6b0939e352dd668d405ea210adbb1e8e5db80014f9c3dbc4455c2cb4bc27565956678e484559c0 DIST inline_snapshot-0.21.0.tar.gz 95119 BLAKE2B 816a9ca0efcd4aba502ab4704b3449b9e8f24eca0f2292a22c291b4c6f7de561df8d3c6e363b1ffb341f89a8a747dd30d5eedecce9341efad1ac0e913d7cc1bc SHA512 c8f9e2c0f57709ec8cdcfa1276871f591c4fbe51f3302fe9c3d9e9b1631db2d15992a204f8c46ef09bac6f2bb461df4350a8029676383934aa92eeea5c69f7f3 +DIST inline_snapshot-0.21.1.tar.gz 254430 BLAKE2B 4f8c1e10b1d28f81aa9aedbba8e8b8b4861aec6880c3fd6387d68a9d970d8c7e16d93618a06fa09006386ab3bbd8e98eab481e9b5ae4868c0eecca126f6c3e4a SHA512 da55d8ab96e5b5cae5635632014a6924807d93b2ec00ec8b5f2ca738fc32ef45ccd652d546ac2e0fad112cf1154538e471d0790d428aebb2d831a5dd0823f748 diff --git a/dev-python/inline-snapshot/inline-snapshot-0.21.1.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.21.1.ebuild new file mode 100644 index 000000000000..f6e9b5488ace --- /dev/null +++ b/dev-python/inline-snapshot/inline-snapshot-0.21.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Create and update inline snapshots in your Python tests" +HOMEPAGE=" + https://15r10nk.github.io/inline-snapshot/ + https://github.com/15r10nk/inline-snapshot/ + https://pypi.org/project/inline-snapshot/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] + >=dev-python/executing-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pytest-8.3.4[${PYTHON_USEDEP}] + >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/black-23.3.0[${PYTHON_USEDEP}] + >=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/mypy[${PYTHON_USEDEP}] + ' 'python*') + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] + >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires pyright + 'tests/test_typing.py::test_typing[pyright]' + # TODO + tests/test_formating.py::test_format_command_fail + ) + + local -x COLUMNS=80 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=inline_snapshot.pytest_plugin,pytest_freezer,pytest_subtests.plugin,xdist.plugin + local -x PYTHONPATH=${S}/src + epytest -p pytest_mock +} diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest index d0acc3f4b502..21482ce567e7 100644 --- a/dev-python/jsonpickle/Manifest +++ b/dev-python/jsonpickle/Manifest @@ -1,2 +1,3 @@ DIST jsonpickle-4.0.2.gh.tar.gz 308419 BLAKE2B 139b6ee1ecc50ea97cb80833f7ff018035dde4ff1d090be0f6b57b4352540c14f0d8a6038a5b00897b5d4c64d5bdd3ac577437393c16fceb0616ae75880c5929 SHA512 177c01e517c026d1c710f2754a1ba7a1bcd95de7a2b3c9d9c823c9743a096549fa3b3d3a1576e740b7dedced51eb178af6abfe1e380c511355ee4072e60a75cb DIST jsonpickle-4.0.3.gh.tar.gz 308664 BLAKE2B 8fc695475d79c398e89673d1ca268ce6ad42858f8d4b31bcde619bc2c8e2f80ed8d92867cb7f96a06a127a4e4a7fdd5429c989b1cacd7d035a04e94549be05b2 SHA512 9892cfcc0014c09d3dea670f98dc765f49f4903349e578bf278dff7e27b109529ebd650af6873330e9467e13bfb0e325fee73b27c9cbc4b84d5ca81f81406a4a +DIST jsonpickle-4.0.5.gh.tar.gz 308783 BLAKE2B 5f8a299afe9bc745882d46b36444f6f96bbef097fd78b79de1f9ecaf4cdc64811ddbf948f273eb456ed669f694204c7521140547be14f527dbcff038f4c4ad64 SHA512 ff4d252991cddb58e5c23b18ca23a24d77ea98af436eac5780df7c8c32d3083ef8291ce3688145b4aa2adcd0d19df869492761147cf32a9ff8fffd31ed5c98a8 diff --git a/dev-python/jsonpickle/jsonpickle-4.0.5.ebuild b/dev-python/jsonpickle/jsonpickle-4.0.5.ebuild new file mode 100644 index 000000000000..802a9f09cf35 --- /dev/null +++ b/dev-python/jsonpickle/jsonpickle-4.0.5.ebuild @@ -0,0 +1,67 @@ +# 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_{9,10,11,12,13} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for serializing any arbitrary object graph into JSON" +HOMEPAGE=" + https://github.com/jsonpickle/jsonpickle/ + https://pypi.org/project/jsonpickle/ +" +SRC_URI=" + https://github.com/jsonpickle/jsonpickle/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/gmpy2[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + local EPYTEST_IGNORE=( + # unpackaged bson dependency + tests/bson_test.py + ) + + if ! has_version "dev-python/gmpy2[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( jsonpickle/ext/gmpy.py ) + fi + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( jsonpickle/ext/pandas.py ) + fi + + epytest tests +} + +pkg_postinst() { + # Unpackaged optional backends: yajl, demjson + optfeature "encoding numpy-based data" dev-python/numpy + optfeature "encoding pandas objects" dev-python/pandas + optfeature "fast JSON backend" dev-python/simplejson +} diff --git a/dev-python/lrcalc/lrcalc-2.1-r1.ebuild b/dev-python/lrcalc/lrcalc-2.1-r2.ebuild index b8fe54df1f7a..b62dc79eeb7b 100644 --- a/dev-python/lrcalc/lrcalc-2.1-r1.ebuild +++ b/dev-python/lrcalc/lrcalc-2.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2024 Gentoo Authors +# Copyright 2020-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/poetry-core/Manifest b/dev-python/poetry-core/Manifest index 8f098cf2476d..dcea79fe64fb 100644 --- a/dev-python/poetry-core/Manifest +++ b/dev-python/poetry-core/Manifest @@ -1 +1,2 @@ DIST poetry_core-2.1.1.tar.gz 362210 BLAKE2B 03eb8b3de0138468b04b42003eb9a491c33ddb566647b933ca992f609b956ce9c27f874c61496fdd9a0d9ee0b02bda09524636ef550221f607a50792be8f73b4 SHA512 6624530062196c9a40be73d74a8dd51cfa8af8f34705837c5101b3955252e94fd136b32259887796ea304b77cfcd35042bf391fe78174f22faeebe77247605c4 +DIST poetry_core-2.1.2.tar.gz 364452 BLAKE2B 0ba281c8a30c43ed9c93b5ae8bfad85664eede117e5a9ecb2f98686201a2a77f88bbe8870b72d9998afba8a70e3f9147d002614c411196c5e183ef43b2d9dbc8 SHA512 4cd6f91acf108539b478bded2d930947a177b36eaf10bbb25092c6617a2391fc9f4286ef25186642fcd25750967df375c183434446275c91a5b456e972b1c9c8 diff --git a/dev-python/poetry-core/poetry-core-2.1.2.ebuild b/dev-python/poetry-core/poetry-core-2.1.2.ebuild new file mode 100644 index 000000000000..978c4a190ead --- /dev/null +++ b/dev-python/poetry-core/poetry-core-2.1.2.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=( python3_{9,10,11,12,13} pypy3 ) +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 17888950d1b2..9aa602d8d6f6 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -1 +1,2 @@ DIST poetry-2.1.1.tar.gz 3433288 BLAKE2B 28d8b376d3ca6f8e34b95132b1b09e86f0a6a52b6a75393ab04cdf200d545075235383d650d0867f7f59ed125357b263b56de02ab83390811bf956d4ce5dbf31 SHA512 3f25f72e64871ee3c894df03d9ebc8d7d6f22f0b3c90c09ba3a25316c632f0ecda833979ccd9f835e851fe404061da2f2354f6197c788348e5b884c2165eb0bb +DIST poetry-2.1.2.tar.gz 3434250 BLAKE2B d87289d266d62f812ef11df20094ddbce425218174e0c9d61834233fd01d4392ccf9cc4b5da6914cbea12dbcc703b6899c0a161ea4d0fb1f4cb9051ac917fdff SHA512 0a71d023acba4f90489df104764a3545205de38d9d2d7d099c6c3710487279f4f103641e975731becdc617e5b730653f90bdd11cf55d879a62cbc571e627697e diff --git a/dev-python/poetry/poetry-2.1.2.ebuild b/dev-python/poetry/poetry-2.1.2.ebuild new file mode 100644 index 000000000000..0359c96862ea --- /dev/null +++ b/dev-python/poetry/poetry-2.1.2.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_{9,10,11,12,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 ~arm64" + +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/pplpy/pplpy-0.8.10.ebuild b/dev-python/pplpy/pplpy-0.8.10-r1.ebuild index 6839d3f602f3..fc400c6fb3ca 100644 --- a/dev-python/pplpy/pplpy-0.8.10.ebuild +++ b/dev-python/pplpy/pplpy-0.8.10-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/primecountpy/primecountpy-0.1.0.ebuild b/dev-python/primecountpy/primecountpy-0.1.0-r1.ebuild index 2a1e142f8e64..d3a7d86bcb89 100644 --- a/dev-python/primecountpy/primecountpy-0.1.0.ebuild +++ b/dev-python/primecountpy/primecountpy-0.1.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2024 Gentoo Authors +# Copyright 2020-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pyflakes/Manifest b/dev-python/pyflakes/Manifest index 24bae05ca629..bd86616ab3ea 100644 --- a/dev-python/pyflakes/Manifest +++ b/dev-python/pyflakes/Manifest @@ -1 +1,2 @@ DIST pyflakes-3.2.0.tar.gz 63788 BLAKE2B 12547bc1ef69d11efb86198c091072085df8a5435608aace18eab9da92b428980ad62fc4b7b6e182bee7963c511b637c17191db9138fc811256f553b902dbd66 SHA512 bd413b2ad80ae942bc13cef5ecb3a47b09abb0641fe468d427717b32895eb1702c9e8831867fbaa1de6fff71ab16bc3dae96f745bbc3e7d99de104a008f397ba +DIST pyflakes-3.3.0.tar.gz 64021 BLAKE2B e516b08a03b97f5b04377cb34b403c01259463199a84d8ae555fa42fadf7f6bbecf56662814535876173d81e9b789a9ba514f78701ce8f2f535d5094b807398b SHA512 8f22aff3cdac803e4ffc93a0da8317625d624c23ad53428148c9579c3b61b4838b5c1a2c7835c5005d6f73dfa75fb9fb1038e6b55e01c55f2b81d550ad677157 diff --git a/dev-python/pyflakes/pyflakes-3.3.0.ebuild b/dev-python/pyflakes/pyflakes-3.3.0.ebuild new file mode 100644 index 000000000000..09e8ba85c4c8 --- /dev/null +++ b/dev-python/pyflakes/pyflakes-3.3.0.ebuild @@ -0,0 +1,47 @@ +# 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Passive checker for Python programs" +HOMEPAGE=" + https://github.com/PyCQA/pyflakes/ + https://pypi.org/project/pyflakes/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3*) + # regressions with pypy3.10 + # https://github.com/PyCQA/pyflakes/issues/779 + EPYTEST_DESELECT+=( + pyflakes/test/test_api.py::CheckTests::test_eofSyntaxError + pyflakes/test/test_api.py::CheckTests::test_misencodedFileUTF8 + pyflakes/test/test_api.py::CheckTests::test_multilineSyntaxError + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # failing due to improved error message + # https://github.com/PyCQA/pyflakes/issues/812 + pyflakes/test/test_api.py::IntegrationTests::test_errors_syntax + pyflakes/test/test_api.py::TestMain::test_errors_syntax + ) + ;; + esac + + local -X PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pytest-socket/Manifest b/dev-python/pytest-socket/Manifest new file mode 100644 index 000000000000..185eecb2c550 --- /dev/null +++ b/dev-python/pytest-socket/Manifest @@ -0,0 +1 @@ +DIST pytest_socket-0.7.0.tar.gz 12389 BLAKE2B e99e607e1a614c1e59a1d0d3a2eb00124e43906af5b25b812e7b7975f80e7b31bf5900403e1618e41583e2438bbd25a17fd984f9460356876305de748a376bd0 SHA512 b32d0077287cbdea19c65f750f904084aeb9ede6b95916a471b4d16ba89648a77b799d33d1b33e1aee0fa7560bd9fe532fc1e59406aee08648efe35499fc936b diff --git a/dev-python/pytest-socket/metadata.xml b/dev-python/pytest-socket/metadata.xml new file mode 100644 index 000000000000..0225857e75c2 --- /dev/null +++ b/dev-python/pytest-socket/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tupone@gentoo.org</email> + <name>Tupone Alfredo</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pytest-socket/pytest-socket-0.7.0.ebuild b/dev-python/pytest-socket/pytest-socket-0.7.0.ebuild new file mode 100644 index 000000000000..564b68121a89 --- /dev/null +++ b/dev-python/pytest-socket/pytest-socket-0.7.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pytest Plugin to disable socket calls during tests" +HOMEPAGE=" + https://github.com/miketheman/pytest-socket/ + https://pypi.org/project/pytest-socket/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-httpbin[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + local EPYTEST_DESELECT=( + tests/test_async.py::test_starlette + tests/test_restrict_hosts.py::test_help_message + ) + + distutils-r1_src_test +} diff --git a/dev-python/pytest-testinfra/Manifest b/dev-python/pytest-testinfra/Manifest index a2a24c393c48..77c7d8f797c6 100644 --- a/dev-python/pytest-testinfra/Manifest +++ b/dev-python/pytest-testinfra/Manifest @@ -1 +1,2 @@ DIST pytest-testinfra-10.1.1.tar.gz 86567 BLAKE2B b9dd9ea4023b1b7d9399615fbf6493efb094ec7f2478f65b46118173f6b20f545b645d06f20b42544325d68a917812a55f902ca28774b8ffb8743ac8182c3970 SHA512 6173937b03eaefb84a95b6fca616092ea0649f880fd1bccef6364f338b859bda8d09d706b517625b81cff4f663ababa766dac82d4d094c38683d9b170909f6c9 +DIST pytest-testinfra-10.2.1.gh.tar.gz 84124 BLAKE2B 3a967f22da4da4cd03f41e4d38ce0d1c5b62852ba8c18ab448db3c92fce740b48528dc45408187d6eae9f755c1eed55dc262c25b9ca1e8b70b6825ae1688e9ea SHA512 d36e7d7cae1da82a947c60be762562ed14d94f1d20c3173798226bb443b18cf96dbe09d54797d744328370b947f3ee8e3c9742548369f8ddd3a1e9152d07aed8 diff --git a/dev-python/pytest-testinfra/pytest-testinfra-10.2.1.ebuild b/dev-python/pytest-testinfra/pytest-testinfra-10.2.1.ebuild new file mode 100644 index 000000000000..09ba20ef60e5 --- /dev/null +++ b/dev-python/pytest-testinfra/pytest-testinfra-10.2.1.ebuild @@ -0,0 +1,59 @@ +# 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_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Write unit tests in Python to test actual state of your servers" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-testinfra/ + https://pypi.org/project/pytest-testinfra/ +" +SRC_URI=" + https://github.com/pytest-dev/pytest-testinfra/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" +# Ansible is called via its CLI +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + app-admin/ansible + dev-python/paramiko[${PYTHON_USEDEP}] + dev-python/pywinrm[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x EPYTEST_DESELECT=() + + # This is the only test which actually fails if salt cannot be imported + if ! has_version "dev-python/salt[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + test/test_backends.py::test_backend_importables + ) + fi + + epytest +} + +pkg_postinst() { + elog "For the list of available connection back-ends and their dependencies," + elog "please consult https://testinfra.readthedocs.io/en/latest/backends.html" +} diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index dd98f08f41d7..af4a8b00b675 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,2 +1,3 @@ DIST trimesh-4.6.4.gh.tar.gz 13624427 BLAKE2B b61caf9a08f219bd0dc7f6f55262dd798d3ce7c56e7a9daf3486365ec8b035b19c63f1d99ddc68ecfa9e940480e2f4307229a4fb8371e75a583f5cf8d9c29db0 SHA512 2f52ea216d448fbab32938f905137df6aac593f88343672e0e93a808f2dfece8eb477e82185c0d1150245742f2c4bb4be8c704757e428cba87f528dc1ebdb3d7 DIST trimesh-4.6.5.gh.tar.gz 13625081 BLAKE2B 81c5527ad7cdb1dc78b61a3bfbf2fb3ff6e3b412050b77fdf249a1af7b4be9aacb3bdc19331cc334803eee998be0e5390c3282d400598aa5be3b41fd701ed3f9 SHA512 b1fc5de064fd06c3bf453e507ff6c3e14dcfb2c8d1d909b4a3c2bc2e894e2aac57342b85c0d170b0a161f3ae27b9ca2490df601fb047c1873703cb71ce97f1fa +DIST trimesh-4.6.6.gh.tar.gz 13624837 BLAKE2B 4fa6ae4c23c67a244b94071362c2a6ff8d809982bfdf0889a605a2d2309773a7932c3522687a1fadf41c834167423f67584719fd1805ff88d94fc5b1b0c6066f SHA512 4d1c16fcf91aad40469eadbaa7c8103194d84b4a43fb7cd9064118a08cca9f46944a1349c9d3dc45b034613d7256e243755b3bf453910d6ad8adc8d9050c916b diff --git a/dev-python/trimesh/trimesh-4.6.6.ebuild b/dev-python/trimesh/trimesh-4.6.6.ebuild new file mode 100644 index 000000000000..9a55e3b051f5 --- /dev/null +++ b/dev-python/trimesh/trimesh-4.6.6.ebuild @@ -0,0 +1,79 @@ +# 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_{9,10,11,12,13} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for loading and using triangular meshes" +HOMEPAGE=" + https://trimesh.org/ + https://github.com/mikedh/trimesh/ + https://pypi.org/project/trimesh/ +" +SRC_URI=" + https://github.com/mikedh/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/charset-normalizer[${PYTHON_USEDEP}] + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + >=dev-python/numpy-1.20[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pycollada[${PYTHON_USEDEP}] + dev-python/pyglet[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] + dev-python/svg-path[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + dev-python/xxhash[${PYTHON_USEDEP}] + dev-python/rtree[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mapbox-earcut[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + ) +" + +EPYTEST_TIMEOUT=1800 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires manifold3d + tests/test_boolean.py::test_multiple_difference + # timing nonsense + tests/test_bounds.py::BoundsTest::test_obb_mesh_large + ) + local EPYTEST_IGNORE=( + # require pyinstrument + tests/test_sweep.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +pkg_postinst() { + optfeature_header "${PN} functionality can be extended by installing the following packages:" + optfeature "making GUI applications with 3D stuff" dev-python/glooey + optfeature "2D triangulations of polygons" dev-python/mapbox-earcut + optfeature "loading a number of additional mesh formats" dev-python/meshio + optfeature "figuring out how much memory we have" dev-python/psutil + optfeature "marching cubes and other nice stuff" dev-python/scikit-image +} diff --git a/dev-python/wxpython/wxpython-4.2.2.ebuild b/dev-python/wxpython/wxpython-4.2.2.ebuild index 8b474eb22d84..f4fb43470880 100644 --- a/dev-python/wxpython/wxpython-4.2.2.ebuild +++ b/dev-python/wxpython/wxpython-4.2.2.ebuild @@ -20,7 +20,7 @@ HOMEPAGE=" LICENSE="wxWinLL-3" SLOT="4.0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="test webkit" RESTRICT="!test? ( test )" |
