From 033286afc1eb2e64a87a58798a0c620d8b56f497 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 31 Mar 2025 01:33:08 +0100 Subject: gentoo auto-resync : 31:03:2025 - 01:33:08 --- dev-python/Manifest.gz | Bin 275494 -> 275481 bytes dev-python/cli-ui/Manifest | 4 +- dev-python/cli-ui/cli-ui-0.17.2.ebuild | 35 -------- dev-python/cli-ui/cli-ui-0.19.0.ebuild | 37 +++++++++ dev-python/cvxopt/Manifest | 2 +- dev-python/cvxopt/cvxopt-1.3.2.ebuild | 4 +- dev-python/fakeredis/Manifest | 2 + dev-python/fakeredis/fakeredis-2.28.0.ebuild | 92 +++++++++++++++++++++ dev-python/flake8/Manifest | 2 + dev-python/flake8/flake8-7.2.0.ebuild | 62 ++++++++++++++ dev-python/griffe/Manifest | 2 + dev-python/griffe/griffe-1.7.1.ebuild | 70 ++++++++++++++++ dev-python/inline-snapshot/Manifest | 2 + .../inline-snapshot/inline-snapshot-0.21.1.ebuild | 63 ++++++++++++++ dev-python/jsonpickle/Manifest | 2 + dev-python/jsonpickle/jsonpickle-4.0.5.ebuild | 67 +++++++++++++++ dev-python/lrcalc/Manifest | 2 +- dev-python/lrcalc/lrcalc-2.1-r1.ebuild | 30 ------- dev-python/lrcalc/lrcalc-2.1-r2.ebuild | 30 +++++++ dev-python/pipdeptree/Manifest | 2 - ...ipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch | 28 ------- .../files/pipdeptree-2.18.1-fix-pypy-7.3.14.patch | 24 ------ dev-python/poetry-core/Manifest | 2 + dev-python/poetry-core/poetry-core-2.1.2.ebuild | 69 ++++++++++++++++ dev-python/poetry/Manifest | 2 + dev-python/poetry/poetry-2.1.2.ebuild | 87 +++++++++++++++++++ dev-python/pplpy/Manifest | 2 +- dev-python/pplpy/pplpy-0.8.10-r1.ebuild | 50 +++++++++++ dev-python/pplpy/pplpy-0.8.10.ebuild | 50 ----------- dev-python/primecountpy/Manifest | 2 +- .../primecountpy/primecountpy-0.1.0-r1.ebuild | 23 ++++++ dev-python/primecountpy/primecountpy-0.1.0.ebuild | 23 ------ dev-python/pycodestyle/Manifest | 2 + dev-python/pycodestyle/pycodestyle-2.13.0.ebuild | 45 ++++++++++ dev-python/pyflakes/Manifest | 2 + dev-python/pyflakes/pyflakes-3.3.0.ebuild | 47 +++++++++++ dev-python/pytest-testinfra/Manifest | 2 + .../pytest-testinfra-10.2.1.ebuild | 59 +++++++++++++ dev-python/qpageview/Manifest | 6 +- dev-python/qpageview/metadata.xml | 2 +- dev-python/qpageview/qpageview-0.6.2.ebuild | 4 +- dev-python/qpageview/qpageview-1.0.0.ebuild | 23 ++++++ dev-python/trimesh/Manifest | 2 + dev-python/trimesh/trimesh-4.6.6.ebuild | 79 ++++++++++++++++++ 44 files changed, 940 insertions(+), 205 deletions(-) delete mode 100644 dev-python/cli-ui/cli-ui-0.17.2.ebuild create mode 100644 dev-python/cli-ui/cli-ui-0.19.0.ebuild create mode 100644 dev-python/fakeredis/fakeredis-2.28.0.ebuild create mode 100644 dev-python/flake8/flake8-7.2.0.ebuild create mode 100644 dev-python/griffe/griffe-1.7.1.ebuild create mode 100644 dev-python/inline-snapshot/inline-snapshot-0.21.1.ebuild create mode 100644 dev-python/jsonpickle/jsonpickle-4.0.5.ebuild delete mode 100644 dev-python/lrcalc/lrcalc-2.1-r1.ebuild create mode 100644 dev-python/lrcalc/lrcalc-2.1-r2.ebuild delete mode 100644 dev-python/pipdeptree/files/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch delete mode 100644 dev-python/pipdeptree/files/pipdeptree-2.18.1-fix-pypy-7.3.14.patch create mode 100644 dev-python/poetry-core/poetry-core-2.1.2.ebuild create mode 100644 dev-python/poetry/poetry-2.1.2.ebuild create mode 100644 dev-python/pplpy/pplpy-0.8.10-r1.ebuild delete mode 100644 dev-python/pplpy/pplpy-0.8.10.ebuild create mode 100644 dev-python/primecountpy/primecountpy-0.1.0-r1.ebuild delete mode 100644 dev-python/primecountpy/primecountpy-0.1.0.ebuild create mode 100644 dev-python/pycodestyle/pycodestyle-2.13.0.ebuild create mode 100644 dev-python/pyflakes/pyflakes-3.3.0.ebuild create mode 100644 dev-python/pytest-testinfra/pytest-testinfra-10.2.1.ebuild create mode 100644 dev-python/qpageview/qpageview-1.0.0.ebuild create mode 100644 dev-python/trimesh/trimesh-4.6.6.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index bb46a080d3bd..3c5298a7b5f7 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/cli-ui/Manifest b/dev-python/cli-ui/Manifest index 44dc4d4534b8..01a3ed2788dc 100644 --- a/dev-python/cli-ui/Manifest +++ b/dev-python/cli-ui/Manifest @@ -1,5 +1,5 @@ -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 -EBUILD cli-ui-0.17.2.ebuild 737 BLAKE2B a992d84a028cb0da7e7c8a90b54731ad2551e377de43b41da8d395c470ff66ed9ddbea0a30d9885fb62abaf3274226bf8cbe7ddb55d374046a1e6efd4beb92c6 SHA512 4edd510ca5d151a074678b5e6cc482977673d7c4ead28baf4a8548de3eb331e2f65dcf0f7c175931bcd5eecd97811ec23cdb594fe4d7e1b86b1d24160f6f6197 +DIST cli_ui-0.19.0.tar.gz 12808 BLAKE2B 40e91549f407f77c69a7bb4ad8388b360b9b96c1629b7e45def8f93e8fb283a8c92d63ab1d68cbecd7a1bcb158a4cdc68ca8e48ac4d86f292f9db8df9991f126 SHA512 b8b4d917ecb95cff86cc088a8102e0bf7597a350e191f103c14e1357688911c1273d275f636f22e90980c9b9841cb2a47394add334652577053489159fec361c EBUILD cli-ui-0.18.0.ebuild 776 BLAKE2B 6bba0128152e5436e11c9fd424ab83eba51c14b9ce6fa8a75422e01bc5ed5e78aba2ecb83a5b53b50955dc511dfb4b571a16ce65d284510c93e06ce54a356cfd SHA512 6082efa27ef0c63aeb06820a5924c38786bb7b1201b21596bb925d541c546685324643c92588d71ed182bbce73fbc87ba461d7427b0910bdbc819539be3273a3 +EBUILD cli-ui-0.19.0.ebuild 776 BLAKE2B fc13759f14dd0910ccb18cc204434d196e6b193ba70a964b84e60e74594a43f17faf7a6f0c609a547f64a02f87ef3b1e00df74dfc50d3ee2daf56a20a00ee205 SHA512 56afddd0b76e42622c8cda509837ae9349f2d5933459b55851f93f5aefda04c200573dbbc2e778a58b373e2eddd69596480c8ae6bb57694f2cb26177d3ebd3f8 MISC metadata.xml 572 BLAKE2B e4dda5027fb1278a406bf629f7968ba3d6d293d747149a910b6d17c9a84be76334fb1933c47c7c7ef08087f7834c5b77d888b081f1a74c432059f395c7acd16f SHA512 1b0e2ea706cb4a270d4b6fef10116237fd5ca3eb8fde1db5153abc047a231eca93e55049ae66443ca5901c86e9420384f3365e393077a88b000e5abf8f7581c7 diff --git a/dev-python/cli-ui/cli-ui-0.17.2.ebuild b/dev-python/cli-ui/cli-ui-0.17.2.ebuild deleted file mode 100644 index be3d46adfd91..000000000000 --- a/dev-python/cli-ui/cli-ui-0.17.2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2024 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_{11..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/" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/your-tools/python-cli-ui.git" -else - inherit pypi - - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="BSD" -SLOT="0" - -RDEPEND=" - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/tabulate[${PYTHON_USEDEP}] - dev-python/unidecode[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/cli-ui/cli-ui-0.19.0.ebuild b/dev-python/cli-ui/cli-ui-0.19.0.ebuild new file mode 100644 index 000000000000..e61d04bb1683 --- /dev/null +++ b/dev-python/cli-ui/cli-ui-0.19.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="poetry" +PYTHON_COMPAT=( python3_{11..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/ + https://pypi.org/project/cli-ui/ +" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/your-tools/python-cli-ui.git" +else + inherit pypi + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" + +RDEPEND=" + >=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/Manifest b/dev-python/cvxopt/Manifest index 7bd6197f1363..837ed1ec79d2 100644 --- a/dev-python/cvxopt/Manifest +++ b/dev-python/cvxopt/Manifest @@ -1,3 +1,3 @@ DIST cvxopt-1.3.2.gh.tar.gz 4095027 BLAKE2B ad4dfba1fe9c5be700ba61268e9d245355493c0334688b7a08bd4b5c4127da7a276cc660a1c1f4fe4df2359f9d2a8e3c4907d57d23c29d8caaf0329f6834cc30 SHA512 a6f9006b8b83445d781b1ba876e5ecefe724cf8666f47744b010e9c61fa1786dbd6233459a6e6a1a333ef9ac075d280076b2aeee3a2636d27541a615c5607b34 -EBUILD cvxopt-1.3.2.ebuild 5483 BLAKE2B a8f6802a95f07cb0e9fb383b27fc7aca438f86f3878b9bf40ef709c9b635ac389697f7f53f0e6979a4f6085ebb40a410a650deb723630b363d9c273cd03a68a6 SHA512 44bc8ef712324ba1f3bab4c497485c8a21c1a6257d9e3f382d860479ac7bb7183f7eeb96c0cc5ce65456c15a66234e39c92c71ac9467e9d12c380785c2a9cf96 +EBUILD cvxopt-1.3.2.ebuild 5490 BLAKE2B a109df65ecff4e879671d4e24addeab3b9f16186e2657acb8a3d342009473597416260c7ea1bc92e8ebbed24ef647308ab893cdad30dcad06219154149475511 SHA512 df570a0cc2e985f518b067dbabe080308dbfe074f28a95e6d2661391d2db20b7e3abb3357ef5ac55779aa36678d2c6c831e49c010bdc05a5bf88751acbb142e8 MISC metadata.xml 937 BLAKE2B 56df0383c4cf21f724c336398a7a78504cab6a838a5dd16a689c3c99b93645fe82bbb50def4c847b414fc16f7d2771e6c6889d4442f73e2e4b9be7769dd9676f SHA512 3ef4196f1ee00ed1831e9b4027c95b6fd2ccce0cfa7b8ec1a5e42397cb16f61992697357ace2b42835844844894207aa569250ec2992b39e27376da359de327e diff --git a/dev-python/cvxopt/cvxopt-1.3.2.ebuild b/dev-python/cvxopt/cvxopt-1.3.2.ebuild index e18a88e7f9e2..25c2b2161146 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 e6d8c2cc9370..0c4ee1b8f3fd 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1,4 +1,6 @@ AUX fakeredis-2.27.0-pypy.patch 1335 BLAKE2B ea19b0ee844de5c5fdf6d143e2b64b3085bdc90e9f94e506244d861f88b0a9bef35b539e0a2c84a222944d75cd561cbf826d4869c5cc0dc805238c4fdfe021f5 SHA512 0b3b2fd37eea2ceacd541030a4bd9966903936c4fab400a906870ea4dfa443b9ce564fc3d81a36d4c7062979412f7bf031bdc4ddf624df6b8c83da1fae74f464 DIST fakeredis-2.27.0.tar.gz 157510 BLAKE2B aa427ce2bc0880aeea6fcb063cb98ff60caf600cae8b21c902a1d9193dd14d7a5f0daa7a3114c92d8eedeef84c936dba326c68e054a6c1dd775209d9055a88f3 SHA512 2fd33ca8e0a95e381cef5794beb009a20c9cf21c03954e86c56e634f00ea959615dc6021265f76c14236f219ee1bf606fbd43d46ab1db5dc3426b1c610020728 +DIST fakeredis-2.28.0.tar.gz 160940 BLAKE2B 211c86d37f3d0ee2d0afd82bd4e00814cce6ff4fd4580810d3606732d41755521edd4c0447cb4e6912313d141346675e4b8649caec864592e79001549e9220b4 SHA512 5ef685ae964d4687054ecc5fa46dc02709730c0152b38b09382f62a3f0793d3930e4454acbe1d819601247cbb514750360730878013df4b1b96cb78c50195b42 EBUILD fakeredis-2.27.0.ebuild 2760 BLAKE2B a2d99f8cab6a3084240069ea9461c5236ed9c94a8c65ed5e64fd92bf1a335dee9acab52f27b6603cfe5b08ee666cf17815cbce2326f50d6cd03a00d2bdd22fa3 SHA512 37ac5d0fc79e28a10d65d54848c1142a90b5ba12c591b5353d8e9afeae12bcabbf16e93348f2bbde0c03595016298fcad1a452807e8782d86b25c0a6e82f39f8 +EBUILD fakeredis-2.28.0.ebuild 2515 BLAKE2B 4910805b6c8eb4cf1199e36b79d4860a60f9f87117ff4d91d5161ae1666ba03cdfeff84e67f94a3088aa02582bf273d81ae6e2b23c77e97db537e9276c8e9c1c SHA512 80a704e9cebb1385fafd81148dbc6a0d22a19774a3a61eac36b34cc484401e090f832b590ebf0c17d9097bf7f597f3653cb59206e9782f6ce7cccf585ebd9c4a MISC metadata.xml 373 BLAKE2B 1de33db59658e6190cd0346be58208cae6c9143a52f49dc289e68aaa0d860b5bd68dfb54f2e0b005f60a67f5caa430e2ce94fc69e64bd27e1bbebb07ad29e602 SHA512 24bfcf4919363fef45c182b6de66221e580ee0e9e99ce46e91b767655dc0b6f8a9fa6c3512ba84d1040698c43a0b6a853ad8d63c1ee5fbc00a1d192defb24db5 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..c485eaa103b4 --- /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=( pypy3 pypy3_11 python3_{10..13} ) + +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-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 f3d1be0a0a04..4e975aed5481 100644 --- a/dev-python/flake8/Manifest +++ b/dev-python/flake8/Manifest @@ -1,3 +1,5 @@ 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 EBUILD flake8-7.1.2.ebuild 1489 BLAKE2B 81047c491c510b9698f97ce770f400a4992b96c3a9d6bcf62ca6f25eb770278b86fd0839ccc1d1dd9eaba141f0eaee4eeb7a1da84c76cdb1aa5ab6af3a6d760a SHA512 95478da84c4f26ada4d1b1e39114323ec1d7f3b12d35fe9247819387eaad95697d9d20be7c1ba206bf7f6d753ea0e4d012ecbd70cf143cfc6b8a9b2ac5634ac5 +EBUILD flake8-7.2.0.ebuild 1497 BLAKE2B de484f2b7eb757a2af200dbb96212c2e32fc23ca97d62f497f1814b8c780c556cf40dd1e613b11acfba7afc6b3f9000ef9fd7fae91689b5ead3a174321d13e7d SHA512 3e6e8a8837dd14a2d40f554d6365d8a44bb0db4f599cafc64fd5026cf566897104ea2609ad1f6e99250e18c2e4274f941e6f0df585b7c8c3dbc08f7a3365e08e MISC metadata.xml 399 BLAKE2B 01ae165c898af67195582e1aaf867b9f9fc937e56b87f09a812d21c9d1175131c25561524ba76857c1630a117a21bc43eeef907c2a34ab9e9b38866dc2f9430e SHA512 8f149a017f4fef8f8fe0fef037e589694e0c3b3689990f97f38ed23fb9b5c5170985fc1fd7814ef70b8200db66cb9367dcfc9bf6453f8742092335a1c3c8fae6 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..663c04731b0f --- /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=( pypy3 pypy3_11 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.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 579d6250f94c..50c716ac61f3 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,5 +1,7 @@ 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 EBUILD griffe-1.6.3.ebuild 1611 BLAKE2B bf144e59f05ea48ef819c3e125202397c32303869af653ec39ecc1e77b9dffe9369c996203a30f4366db1e33f6234b849bfca1bd7db4113a6109d53cf5ce2d3d SHA512 cdc7e8e33a2901c58d634987d8d296a5e062cc8c3d4c4171f049c382f646a7ee976a74d95ac34edf9eab580cd5b4a04ea4175dde51179f952368b2275c9f1c54 EBUILD griffe-1.7.0.ebuild 1611 BLAKE2B bf144e59f05ea48ef819c3e125202397c32303869af653ec39ecc1e77b9dffe9369c996203a30f4366db1e33f6234b849bfca1bd7db4113a6109d53cf5ce2d3d SHA512 cdc7e8e33a2901c58d634987d8d296a5e062cc8c3d4c4171f049c382f646a7ee976a74d95ac34edf9eab580cd5b4a04ea4175dde51179f952368b2275c9f1c54 +EBUILD griffe-1.7.1.ebuild 1611 BLAKE2B bf144e59f05ea48ef819c3e125202397c32303869af653ec39ecc1e77b9dffe9369c996203a30f4366db1e33f6234b849bfca1bd7db4113a6109d53cf5ce2d3d SHA512 cdc7e8e33a2901c58d634987d8d296a5e062cc8c3d4c4171f049c382f646a7ee976a74d95ac34edf9eab580cd5b4a04ea4175dde51179f952368b2275c9f1c54 MISC metadata.xml 393 BLAKE2B f207ed2887879f849db9133aac5b82d507a5c6fc3fed0b931dd0aec5ec8d48991731a15825c7b51d82f1f148c2f6818e3102e963d3342aa248bd475d4b29a692 SHA512 b541674c9f9bf9e356d46de91673e384f50ade9b6f19b0218f03b6e307dde88df2d0078f202bc0a77e18b0d91e89cb6d36ffdac23689ef35306167619404dc01 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..115d0beb002b --- /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=( pypy3 pypy3_11 python3_{10..13} ) + +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 15b16e461266..c946aeefc91d 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -3,9 +3,11 @@ 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 EBUILD inline-snapshot-0.20.10.ebuild 1710 BLAKE2B 40e4dfce9a18869ad55dd0955fbbcf19bf802b2521c4e38c66a1cb655c26fd33da71e5c8aa8b6e1f4f0bdc244b886ae2fc261533a5bcb3cbfcd5d85a441b109b SHA512 a189a0e106097c65ba77ebf51b13e80d969054ea7e78db1a123d537fa03c604c7c52390faa2fe5f57cfb2d3b3e44e9d1fb75d011b1b0107db3b709f6034b4800 EBUILD inline-snapshot-0.20.5.ebuild 1703 BLAKE2B 4c3404f3268dc1288446d57721845179350090ab2489ac7cb9422e999fda07f8300c9db60cc77a7807ea59ecf1040db5e669a533f077be21917fb165353e432f SHA512 0746260a5108dbe84c78a48efe898f4d54c4eb07a33c56ecbef4767ebc8786f9c733542703a111c070841464edb896a0a347b0b3bf95f5f1129b3c8333dd0492 EBUILD inline-snapshot-0.20.8.ebuild 1710 BLAKE2B 40e4dfce9a18869ad55dd0955fbbcf19bf802b2521c4e38c66a1cb655c26fd33da71e5c8aa8b6e1f4f0bdc244b886ae2fc261533a5bcb3cbfcd5d85a441b109b SHA512 a189a0e106097c65ba77ebf51b13e80d969054ea7e78db1a123d537fa03c604c7c52390faa2fe5f57cfb2d3b3e44e9d1fb75d011b1b0107db3b709f6034b4800 EBUILD inline-snapshot-0.20.9.ebuild 1710 BLAKE2B 40e4dfce9a18869ad55dd0955fbbcf19bf802b2521c4e38c66a1cb655c26fd33da71e5c8aa8b6e1f4f0bdc244b886ae2fc261533a5bcb3cbfcd5d85a441b109b SHA512 a189a0e106097c65ba77ebf51b13e80d969054ea7e78db1a123d537fa03c604c7c52390faa2fe5f57cfb2d3b3e44e9d1fb75d011b1b0107db3b709f6034b4800 EBUILD inline-snapshot-0.21.0.ebuild 1755 BLAKE2B e690f04c16ae8f83dfcdd246c756336a27e58cb1e3bdd51a09c960e5617c0cdb42cab0a4431880f27759fc395f1d58b3a1fbe65285a35a6398e1b7cc055bd016 SHA512 ae39d18fedf6617ebf4ada020c54768f1d0c4ebd8985ccb428ec0ebac2acdcc0e111de8c9fc93a94eb755370ed8cc0367c196815cde871a2a840ad0b10a42524 +EBUILD inline-snapshot-0.21.1.ebuild 1755 BLAKE2B e690f04c16ae8f83dfcdd246c756336a27e58cb1e3bdd51a09c960e5617c0cdb42cab0a4431880f27759fc395f1d58b3a1fbe65285a35a6398e1b7cc055bd016 SHA512 ae39d18fedf6617ebf4ada020c54768f1d0c4ebd8985ccb428ec0ebac2acdcc0e111de8c9fc93a94eb755370ed8cc0367c196815cde871a2a840ad0b10a42524 MISC metadata.xml 384 BLAKE2B 37af14f95875416431210b572e9c5e96437d773cf53174dec247a9006ad24940f17ae9803a750dd2e1e73f63675f594b326f880bf7d5cb29ff09a8aae4959e60 SHA512 173bd013e023443c9dac349fab3deea6b5e9c2f054052d3362757cc0c46dd89309c509eb6a0f5a5774a7d8acbc55578b629039615a0cb31d74001a8d0db8b680 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..a1de644ca0f1 --- /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=( pypy3 pypy3_11 python3_{10..13} ) + +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 326f9bc53220..32ce7671fb9f 100644 --- a/dev-python/jsonpickle/Manifest +++ b/dev-python/jsonpickle/Manifest @@ -1,5 +1,7 @@ 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 EBUILD jsonpickle-4.0.2.ebuild 1631 BLAKE2B 5e75c06f535074f1981c218051b2b43adf672542089c0fb8804de445aa38adf2de282964f7b826212f2bcc6f86f3349468e628ac30c5a283a204c097761d751f SHA512 ff030df19c065b4b2f306db59bb1ba78c14c90b041021439e23c8f56944a4431b7ad76c696cee81afd85d416ed8e53a0a8733cd444ec27afdbf9a59e89618597 EBUILD jsonpickle-4.0.3.ebuild 1634 BLAKE2B 7f05c07294965359a5c1dc79d46843362344036c8b2ea3db7e4076b6353b628f5947f2ef9ff1c8780b72b0c4e5c30a75d55435bbfc9c1e35a30367468be38baa SHA512 f52636bda4e5f8bbff68b87a51fb99441534427252c457fe0d1ff2487527c642e5cb190f2ef5f7c6ee5f004ab4836eef14b138ff4790304f737320b04e0be18b +EBUILD jsonpickle-4.0.5.ebuild 1634 BLAKE2B 7f05c07294965359a5c1dc79d46843362344036c8b2ea3db7e4076b6353b628f5947f2ef9ff1c8780b72b0c4e5c30a75d55435bbfc9c1e35a30367468be38baa SHA512 f52636bda4e5f8bbff68b87a51fb99441534427252c457fe0d1ff2487527c642e5cb190f2ef5f7c6ee5f004ab4836eef14b138ff4790304f737320b04e0be18b MISC metadata.xml 412 BLAKE2B a7e746abd8b45415ecdbccbde1b65ba9f1fa9fe7ce353411681c2a3de046878e990aad20849ee561a56ad3208bd5071d7b5e5b3c767fd71b7c44d2e8412d349b SHA512 dc52df78fdfe9024e695aae3d2bf22bed7162e1f2a528a288056b68022ebbc400b0a3a2f3e9c2155ee57e66d77a4f7a3f6f67188fb13ee15f200212ac6809a31 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..904a46bb3345 --- /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_{10..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/Manifest b/dev-python/lrcalc/Manifest index ad718fe8d74e..daf01f8e31b1 100644 --- a/dev-python/lrcalc/Manifest +++ b/dev-python/lrcalc/Manifest @@ -1,3 +1,3 @@ DIST lrcalc_python-2.1.tar.gz 16452 BLAKE2B 9abdb23834e136f10d960695751bc6569f248abf72a7e89f7feafe4ce046bea47faed299e4ecf5e99ab419e6cb02bb861736006c20de2e328321b9bacb96845d SHA512 b6d3bc61be1fe478bef74d1c51d7072521ef8d43bf64323cce0985582e2981c02382fa38a2501f5c9537349573721a1de8e166149ee4df31ed13bf0f0fb5d2a8 -EBUILD lrcalc-2.1-r1.ebuild 772 BLAKE2B 2811ff9205a41bb98ee5583318d6555561bcefbe66abe10a24174dc1d94d7ff894b6e92148ad9790a9eaa2406957834a59c995d941cba17d5a607beaf8d5899e SHA512 e94d067fa8fbe9a49203d38a8eda8c8bd9e2a27e34cbfdc1fb31e7c12ce25c892bf52053a4ab8cceaf2433df8d9b2e137543cc480a612499eccad2c3831438f6 +EBUILD lrcalc-2.1-r2.ebuild 772 BLAKE2B 9ef8bb07fe0805a61f6053a6667994703d70c4cf44356048c334dffb2c28bd4e41841dd6d12fbc5d46166e4f2267807929da81a708cc72de15a9501acfa579ad SHA512 6129780acc32bd657ac5ee0f60a11baf8b275fc594497e879d608b8a2ba1a31577c7ee622e8d464017a3c277a919ffbc9af5af7375ab913ad8c58b5b436bcc3d MISC metadata.xml 762 BLAKE2B 7dcb2ab8dd33113283eec4a79ae7f6ba92c341a457e3a38eeefc96a4f27b799d843e6d52ae7b1d1e127669b577d4ca064926c21c5b80fae96a3607a62df816e9 SHA512 45d86228d840c1c3e81ce8286874cc15a60a52848db781928ea14205df22715d1a2865e33aa60b5d45f712d8456737d2e74ed2dc21cc5f294407e611fd0f3b5e diff --git a/dev-python/lrcalc/lrcalc-2.1-r1.ebuild b/dev-python/lrcalc/lrcalc-2.1-r1.ebuild deleted file mode 100644 index 98af79d57843..000000000000 --- a/dev-python/lrcalc/lrcalc-2.1-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..12} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings for sci-mathematics/lrcalc" -HOMEPAGE="https://bitbucket.org/asbuch/lrcalc" -# Avoid a name clash with the sci-mathematics/lrcalc tarball -SRC_URI="$(pypi_sdist_url) -> ${PN}_python-${PV}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ~riscv" - -BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" -DEPEND="~sci-mathematics/lrcalc-${PV}" -RDEPEND="${DEPEND}" - -src_prepare() { - # Fix this typo in setup.py to avoid a QA warning - sed -i setup.py \ - -e 's/long_description_type/long_description_content_type/' \ - || die - default -} diff --git a/dev-python/lrcalc/lrcalc-2.1-r2.ebuild b/dev-python/lrcalc/lrcalc-2.1-r2.ebuild new file mode 100644 index 000000000000..2607a47f6dd5 --- /dev/null +++ b/dev-python/lrcalc/lrcalc-2.1-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..13} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for sci-mathematics/lrcalc" +HOMEPAGE="https://bitbucket.org/asbuch/lrcalc" +# Avoid a name clash with the sci-mathematics/lrcalc tarball +SRC_URI="$(pypi_sdist_url) -> ${PN}_python-${PV}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 ~riscv" + +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" +DEPEND="~sci-mathematics/lrcalc-${PV}" +RDEPEND="${DEPEND}" + +src_prepare() { + # Fix this typo in setup.py to avoid a QA warning + sed -i setup.py \ + -e 's/long_description_type/long_description_content_type/' \ + || die + default +} diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index ce6ca2d83276..b00668cf90b5 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1,5 +1,3 @@ -AUX pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch 1170 BLAKE2B e214c79ba1183222d00525e0e795d2ba1f10a3abb1ff6e5c986ba3aa036251326d8244787f549d698ab6a015f79eb2397212060365b8c774e2d1218531f8704d SHA512 a2055d9c828352aa1d2d5ec844acf00bc202a579c2dcf7f27997ac29261680ebee0f674b42eca77c3e039ccbc482eac62adfbb82190e157e65b01755d4972f62 -AUX pipdeptree-2.18.1-fix-pypy-7.3.14.patch 1009 BLAKE2B b887e6e3234bd07a1df87b087907d5658a5e5fe3408defd172ded784362c12081f9cf52b41d471b2c28fc09b7398539d3cfdb2d872435bdb304a8d9a42a6336d SHA512 04a128b51a5bac5b58e30a8b521b4bd596f48a25faf5cd32db164cb95f3d9ddfb876d5afa77353cbb2e0029b8eb893da25d8dbf81133fdf95e0f1911cf456cc4 DIST pipdeptree-2.23.4.tar.gz 39945 BLAKE2B 6f1aaf4652b872a28712cf23fb06c26c9e36baf2c5c734b542d418d78081c19f567c730944fba33b43cf6ad612ecd54f37f625a81e88fc8bb68e3e56d76d9088 SHA512 3beeeceb11f842e5f337167b724354b43b01f972f83b0bac5168504483a079e15758206a8e141dc88e4810954630bff1b1cdec3e69aa2f981b9ec2896e40428d DIST pipdeptree-2.24.0.tar.gz 40363 BLAKE2B e0053b742c7e5cf88ce163b5ff504bda5c601e846f84769b742f5a06a298f041dacd223398f29608a91cdd0e91e523fa101d1781472e4327daf954af146e10ac SHA512 56c68f98ff401f4e1fbe7185a989f544c24740b4278fd3de9371019d4a85198a3cedfb2bc54d82fa958068e2133f8fbb326d280cd3e980537456da853c4777bc DIST pipdeptree-2.25.0.tar.gz 40425 BLAKE2B 66ea593cfcfb026876af0a336003f551bdb0b286af8721c8a093a0939c95e26b16511aac3ecd1c3372f13f0e470a3d4bcf0691969a8d65904f35e15e5e5407a1 SHA512 87e51f48cd114b1511f32a241137fe648f80e3be1d071020dcae7f3b62245b64c823c0824e474bb320b6e69dddad68a02d8938a116b4164d1f9fdbbd84aa5f25 diff --git a/dev-python/pipdeptree/files/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch b/dev-python/pipdeptree/files/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch deleted file mode 100644 index 09c31f8a78b4..000000000000 --- a/dev-python/pipdeptree/files/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://github.com/tox-dev/pipdeptree/pull/302 - -From 1fc794e66fc5cac464704dda1bc303353386584f Mon Sep 17 00:00:00 2001 -From: Alfred Wingate -Date: Tue, 14 Nov 2023 08:36:09 +0200 -Subject: [PATCH] Expect hpy in pypy versions >= 7.3.3 - -Signed-off-by: Alfred Wingate ---- a/tests/test_non_host.py -+++ b/tests/test_non_host.py -@@ -32,8 +32,12 @@ def test_custom_interpreter( - implementation = python_implementation() - if implementation == "CPython": - expected = {"pip", "setuptools", "wheel"} -- elif implementation == "PyPy": -- expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} # pragma: no cover -+ elif implementation == "PyPy": # pragma: no cover -+ # hpy added in 7.3.2, enabled in 7.3.3 -+ if sys.pypy_version_info >= (7, 3, 3): # type: ignore[attr-defined] -+ expected = {"cffi", "greenlet", "hpy", "pip", "readline", "setuptools", "wheel"} -+ else: -+ expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} - else: - raise ValueError(implementation) - if sys.version_info >= (3, 12): --- -2.44.0 - diff --git a/dev-python/pipdeptree/files/pipdeptree-2.18.1-fix-pypy-7.3.14.patch b/dev-python/pipdeptree/files/pipdeptree-2.18.1-fix-pypy-7.3.14.patch deleted file mode 100644 index 32d039fed519..000000000000 --- a/dev-python/pipdeptree/files/pipdeptree-2.18.1-fix-pypy-7.3.14.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/tests/test_non_host.py b/tests/test_non_host.py -index 2849375..ed7b7b3 100644 ---- a/tests/test_non_host.py -+++ b/tests/test_non_host.py -@@ -1,5 +1,6 @@ - from __future__ import annotations - -+import json - import sys - from platform import python_implementation - from typing import TYPE_CHECKING -@@ -31,10 +32,10 @@ def test_custom_interpreter( - result = virtualenv.cli_run([str(tmp_path / "venv"), "--activators", ""]) - py = str(result.creator.exe.relative_to(tmp_path)) - cmd = ["", f"--python={result.creator.exe}"] if args_joined else ["", "--python", py] -- mocker.patch("pipdeptree._discovery.sys.argv", cmd) -+ mocker.patch("pipdeptree._discovery.sys.argv", [*cmd, "-j"]) - main() - out, _ = capfd.readouterr() -- found = {i.split("==")[0] for i in out.splitlines()} -+ found = {i["package"]["package_name"] for i in json.loads(out)} - implementation = python_implementation() - if implementation == "CPython": - expected = {"pip", "setuptools", "wheel"} diff --git a/dev-python/poetry-core/Manifest b/dev-python/poetry-core/Manifest index b29c6bc7317c..152b64477cb0 100644 --- a/dev-python/poetry-core/Manifest +++ b/dev-python/poetry-core/Manifest @@ -1,3 +1,5 @@ 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 EBUILD poetry-core-2.1.1.ebuild 1794 BLAKE2B 6aa3b60c10122ff3ec4cbcc2cf412030e83c6fd091b32d3c09e1def11a3c7378bb5814eacb24980ee988e3af71e9565102e8a713e3be8524c18cdbe711966921 SHA512 ce3ea450d86eecddf4589d7b1a5375fdff99286549a93654cb0f7e376f16294e91113eaa99663bbb49adccf23fefa88fc7592555cd75b38d9772ce0e9340fac2 +EBUILD poetry-core-2.1.2.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.2.ebuild b/dev-python/poetry-core/poetry-core-2.1.2.ebuild new file mode 100644 index 000000000000..5c2c2b804862 --- /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=( 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 9602ebafd283..f11cfce803ff 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -1,3 +1,5 @@ DIST poetry-2.1.1.tar.gz 3433288 BLAKE2B 28d8b376d3ca6f8e34b95132b1b09e86f0a6a52b6a75393ab04cdf200d545075235383d650d0867f7f59ed125357b263b56de02ab83390811bf956d4ce5dbf31 SHA512 3f25f72e64871ee3c894df03d9ebc8d7d6f22f0b3c90c09ba3a25316c632f0ecda833979ccd9f835e851fe404061da2f2354f6197c788348e5b884c2165eb0bb +DIST poetry-2.1.2.tar.gz 3434250 BLAKE2B d87289d266d62f812ef11df20094ddbce425218174e0c9d61834233fd01d4392ccf9cc4b5da6914cbea12dbcc703b6899c0a161ea4d0fb1f4cb9051ac917fdff SHA512 0a71d023acba4f90489df104764a3545205de38d9d2d7d099c6c3710487279f4f103641e975731becdc617e5b730653f90bdd11cf55d879a62cbc571e627697e EBUILD poetry-2.1.1.ebuild 2890 BLAKE2B b6c8d88d35208336806e46e682d3343c6bcd7cf18933510fe1d0279f569324c57c19db366a0351d1e49d8c89c5368d5d7bb1a144b4d8dcc5cc2f9d7c850419c4 SHA512 17a3df5ad3b1ec56fd421ce90cd7176576660a691b57164f9d30af9d2e80fdaf1c2dbf0b9c56728fc7f3d2ed0b9b539e414f0641a31594c791a080411e9508a5 +EBUILD poetry-2.1.2.ebuild 2890 BLAKE2B b6c8d88d35208336806e46e682d3343c6bcd7cf18933510fe1d0279f569324c57c19db366a0351d1e49d8c89c5368d5d7bb1a144b4d8dcc5cc2f9d7c850419c4 SHA512 17a3df5ad3b1ec56fd421ce90cd7176576660a691b57164f9d30af9d2e80fdaf1c2dbf0b9c56728fc7f3d2ed0b9b539e414f0641a31594c791a080411e9508a5 MISC metadata.xml 486 BLAKE2B 7757afe2f964f49a04a600ec80af8511387c3a80105c9050755e1815cac148734f540e4da8c1da401c15a63bf5d0a8200ed6a5e1c09e5dacc7d39f5f59dd343f SHA512 541063e55b4dc5b927ef4ff6b385663bbf978d13ac6644c2537483ec42f211780cab4d881b159894dfe86519b4655c80bcfe17cdb90a2e033077b390a3842f46 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..f5e71595e324 --- /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_{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 ~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/Manifest b/dev-python/pplpy/Manifest index 8d1a30823498..08ac76df2232 100644 --- a/dev-python/pplpy/Manifest +++ b/dev-python/pplpy/Manifest @@ -1,3 +1,3 @@ DIST pplpy-0.8.10.tar.gz 64203 BLAKE2B b0735722a051ef33b7415528147a84a163ac49bf5d07e2f6599a7bbf004140abf5e6a09b7f0555ac57b55614a1c059bba20cc7ac7fe47a83f429e33d7f0dd1bc SHA512 982d36291cd0108786e47cb1ff73127ba2b2a619edc697e28360a87ace743e7fc6dd04e32aab38d41724d455de4861065f9ac3d409fd2f68114b07f4d1328c23 -EBUILD pplpy-0.8.10.ebuild 996 BLAKE2B 37b07e2300d2b2b5b4b1a40377ccc94f260602878157ec68d9cab8023f3af8589b70e4c036bd96ac80e92858693cb5b60b6fdbcdd02a5003bc3f177921513953 SHA512 66cd7cb384016f5415d35ceec487ee7b36abe1085353fe51530333a118a55883795aa37ccc1e8b06635860a3856aa4542afeae7139b4ca45c45a2b7717764ff0 +EBUILD pplpy-0.8.10-r1.ebuild 996 BLAKE2B 35be08c2209ed311942dc1b3c4ac5b7aae887811263e3d0e20428b71aef3d09c19d9b0f51f33f1e6273fe1471f87b31c30614cac0fb8966418da4d8af3b65762 SHA512 43d52a63a1263b9eb41708ce96ce47d805dd4604f02f3761a1b671ac89d55b55c7c703f6572677836098f7da1fb25be2632c4ea0c1b6bd792280d52c435203bc MISC metadata.xml 759 BLAKE2B 0c4fcc6e475fae1a8565c392dd82261d796b96aad68d614790e07271057b46eec4b4f89fe3be2185bc9793e828568a85df488ce568daf84555638e0516898086 SHA512 773f95dbb5635a1ffcbff57d00e6af93e173945738e67deb79bb4c628abde3793488b889bb96e9a74832d0b8c42e7274edb479c64e726ddde10ef5297be979a7 diff --git a/dev-python/pplpy/pplpy-0.8.10-r1.ebuild b/dev-python/pplpy/pplpy-0.8.10-r1.ebuild new file mode 100644 index 000000000000..a071af48d910 --- /dev/null +++ b/dev-python/pplpy/pplpy-0.8.10-r1.ebuild @@ -0,0 +1,50 @@ +# 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 pypi + +DESCRIPTION="Python bindings for the Parma Polyhedra Library (PPL)" +HOMEPAGE=" + https://github.com/sagemath/pplpy/ + https://pypi.org/project/pplpy/ +" + +# The file headers under ppl/ contain the "or later" bit +LICENSE="GPL-3+" +# API/ABI changes in point releases +SLOT="0/${PV}" +KEYWORDS="amd64 ~riscv" +IUSE="doc" + +DEPEND=" + dev-libs/ppl + dev-python/cysignals[${PYTHON_USEDEP}] + >=dev-python/gmpy2-2.1.0_beta1[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" + +python_compile() { + # https://bugs.gentoo.org/927770 + distutils-r1_python_compile -j1 +} + +python_compile_all() { + rm -r ppl || die + use doc && build_sphinx docs/source +} + +python_test(){ + "${EPYTHON}" tests/runtests.py || die +} diff --git a/dev-python/pplpy/pplpy-0.8.10.ebuild b/dev-python/pplpy/pplpy-0.8.10.ebuild deleted file mode 100644 index 132a03801a98..000000000000 --- a/dev-python/pplpy/pplpy-0.8.10.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings for the Parma Polyhedra Library (PPL)" -HOMEPAGE=" - https://github.com/sagemath/pplpy/ - https://pypi.org/project/pplpy/ -" - -# The file headers under ppl/ contain the "or later" bit -LICENSE="GPL-3+" -# API/ABI changes in point releases -SLOT="0/${PV}" -KEYWORDS="amd64 ~riscv" -IUSE="doc" - -DEPEND=" - dev-libs/ppl - dev-python/cysignals[${PYTHON_USEDEP}] - >=dev-python/gmpy2-2.1.0_beta1[${PYTHON_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) -" - -python_compile() { - # https://bugs.gentoo.org/927770 - distutils-r1_python_compile -j1 -} - -python_compile_all() { - rm -r ppl || die - use doc && build_sphinx docs/source -} - -python_test(){ - "${EPYTHON}" tests/runtests.py || die -} diff --git a/dev-python/primecountpy/Manifest b/dev-python/primecountpy/Manifest index 8b28f8f295a5..7acdd488efeb 100644 --- a/dev-python/primecountpy/Manifest +++ b/dev-python/primecountpy/Manifest @@ -1,3 +1,3 @@ DIST primecountpy-0.1.0.tar.gz 16070 BLAKE2B e14b0d4bdd27cf4757e796853ec8d260c40a5f01740dc60e2e16f1251434533c5aa0bbd66a9c6de6ad3f69a5010dd77703305b3d1d9262207489e25c552e6225 SHA512 c279fb2bec9d2108960510a25cf645c605618359649dd0a4b6b707aee01047937cbd02fe89c249693dc152e44b85cb960803e378a05e6a52b50c6cba6124c3d5 -EBUILD primecountpy-0.1.0.ebuild 606 BLAKE2B 29d65f28670363a39fe1bba12cef5a932a05f734409f8d0aad250011eb40b9f5a4cb583b5282d3110870a4c194699d02906385b62bf55b95b9b1b98afb14894c SHA512 bec25c77260ad3f06b220d682b42cfb3b14bbb44c6f6ea0c8806f03f8074a8d19a5240656802c068d62aeedfc6d4e04b042d4eb5fbd2a95abd8dbff29be582e7 +EBUILD primecountpy-0.1.0-r1.ebuild 606 BLAKE2B fb9c2b04e3594aa5e0a3e5a616504ff34efab2af3d710cdf8de39eebb62845b65684b03c63dceb885ccca7c72462026f53e1effe31f3e9b68c89c1e60053388a SHA512 08222695a4d353780ef1aa580e1671d65ca1f3c00677008de88a449248ed846778588b82c379fff47407afe8ab536e16c00b15965244b554a3031eb64ffbc16c MISC metadata.xml 772 BLAKE2B 6e7df14a9c5579baa4e9b1d7a1260538f7818be9fb131e39ed089b43254b07865509492081ea5e3de7860bc530b709b81cbae6da802bad936e2aa7778d9ac796 SHA512 18895fd1f43bf7d9b7db3d60054f3defd0fffadb98b30e682d40a0677d2d123fecf4ea33f636dcd1e40e33a0ff28d2765e094e196461c06a90c6a8de750bfd46 diff --git a/dev-python/primecountpy/primecountpy-0.1.0-r1.ebuild b/dev-python/primecountpy/primecountpy-0.1.0-r1.ebuild new file mode 100644 index 000000000000..b05321f02429 --- /dev/null +++ b/dev-python/primecountpy/primecountpy-0.1.0-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +inherit distutils-r1 pypi + +DESCRIPTION="Cython interface to sci-mathematics/primecount" +HOMEPAGE="https://pypi.org/project/primecountpy/ + https://github.com/dimpase/primecountpy" + +# LICENSE clarification in README.md +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~riscv" + +DEPEND="sci-mathematics/primecount + dev-python/cysignals[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" diff --git a/dev-python/primecountpy/primecountpy-0.1.0.ebuild b/dev-python/primecountpy/primecountpy-0.1.0.ebuild deleted file mode 100644 index 032409f7feab..000000000000 --- a/dev-python/primecountpy/primecountpy-0.1.0.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_EXT=1 -inherit distutils-r1 pypi - -DESCRIPTION="Cython interface to sci-mathematics/primecount" -HOMEPAGE="https://pypi.org/project/primecountpy/ - https://github.com/dimpase/primecountpy" - -# LICENSE clarification in README.md -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~riscv" - -DEPEND="sci-mathematics/primecount - dev-python/cysignals[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" -BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" diff --git a/dev-python/pycodestyle/Manifest b/dev-python/pycodestyle/Manifest index a55a6ca3c1a6..d8c8f2612907 100644 --- a/dev-python/pycodestyle/Manifest +++ b/dev-python/pycodestyle/Manifest @@ -1,3 +1,5 @@ DIST pycodestyle-2.12.1.gh.tar.gz 80518 BLAKE2B e64dda57d1c349228f8ffeced4061d278b342af7db152377e34b3fad626db52f7eef4668df60d323196f1844e8fa28d9e231cc216145b2ea1da6ae32bc1f341f SHA512 7709c0611812c3294a55a5e6dde00d5affc67c4273ab1d37dec507a424b618b2736a6976d27872903fa448f208fe2ba4529f2bfbefc2902dcf947cb6bca5b09a +DIST pycodestyle-2.13.0.gh.tar.gz 80780 BLAKE2B 77886f6cf24b27974af6284a70d667dca5766c79325bb377825c4db6d27aacdce08130cef4cdaf8cfcbac284b2e07b1f05b25743eed8f282249ffa9cafc0b8cf SHA512 6e1ba1586b62a9ba3b63f2c67b9b98ee787785fffc29897a68d6dd138d226f5fc490a555ad11f4ca2a8c46082ad5ce8ea1c904c12183005abe4347ca80ca63be EBUILD pycodestyle-2.12.1.ebuild 1106 BLAKE2B 7e62a8a3b372d555d75f0a5a9551de6738f5665e0201c57926bacb9c506b4c6a9a61b070fddbef189457e458b41e828bf265897b8d15c1e33e74f3ae3e043d7c SHA512 e4d1974fa910931cb1dd63da6bffa05acfefcf0cd38742a91da35b97fb8a59b02faae22a45667c638b1479dbca20b55069f53fb98f88e0efc53caa10df1309fc +EBUILD pycodestyle-2.13.0.ebuild 1114 BLAKE2B 0f90b661d2f4800b13ceebcf6b43c943918fe4a9bcb4ebe8dbe577328d615c2a8b76d0a7c8972f0f47ffa7ab6745148308ad66c031e152b7833d82871e9a46bf SHA512 d5ca7e1770a037992d1c390a6eeebc58bf703c5163eaeb6768899a1458256d441fe3a838de7ed729c678fbc2898f7d7bb17b5dac0d1e101c0bcf86940b1d1bee MISC metadata.xml 409 BLAKE2B 86d114cb53a68c8c24caebef1287bce1ae99cd652bca1fe2f19cce870c66490521329133a1fea47c79bd8c64d2bcd945022e31ac7db7885e9a4dea4d50f19a04 SHA512 e1de2014c44c8fdaf71ac26af406d27ab76cfd377dc20bb36e36bfbeab79f8e8981e8834e04b8e0bddd92d231b275e56e91d87570fee5ad426418a4abd00d4be diff --git a/dev-python/pycodestyle/pycodestyle-2.13.0.ebuild b/dev-python/pycodestyle/pycodestyle-2.13.0.ebuild new file mode 100644 index 000000000000..404bcc143ad1 --- /dev/null +++ b/dev-python/pycodestyle/pycodestyle-2.13.0.ebuild @@ -0,0 +1,45 @@ +# 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 pypy3_11 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Python style guide checker (fka pep8)" +HOMEPAGE=" + https://pycodestyle.pycqa.org/en/latest/ + https://github.com/PyCQA/pycodestyle/ + https://pypi.org/project/pycodestyle/ +" +# 2.11.0 broke sdist +# https://github.com/PyCQA/pycodestyle/issues/1183 +SRC_URI=" + https://github.com/PyCQA/pycodestyle/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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # https://github.com/pypy/pypy/issues/5234 + tests/test_api.py::APITestCase::test_check_nullbytes + ) + ;; + esac + + epytest +} diff --git a/dev-python/pyflakes/Manifest b/dev-python/pyflakes/Manifest index 2491d1eacee1..c495e963c178 100644 --- a/dev-python/pyflakes/Manifest +++ b/dev-python/pyflakes/Manifest @@ -1,3 +1,5 @@ DIST pyflakes-3.2.0.tar.gz 63788 BLAKE2B 12547bc1ef69d11efb86198c091072085df8a5435608aace18eab9da92b428980ad62fc4b7b6e182bee7963c511b637c17191db9138fc811256f553b902dbd66 SHA512 bd413b2ad80ae942bc13cef5ecb3a47b09abb0641fe468d427717b32895eb1702c9e8831867fbaa1de6fff71ab16bc3dae96f745bbc3e7d99de104a008f397ba +DIST pyflakes-3.3.0.tar.gz 64021 BLAKE2B e516b08a03b97f5b04377cb34b403c01259463199a84d8ae555fa42fadf7f6bbecf56662814535876173d81e9b789a9ba514f78701ce8f2f535d5094b807398b SHA512 8f22aff3cdac803e4ffc93a0da8317625d624c23ad53428148c9579c3b61b4838b5c1a2c7835c5005d6f73dfa75fb9fb1038e6b55e01c55f2b81d550ad677157 EBUILD pyflakes-3.2.0.ebuild 1282 BLAKE2B d700b5ec8894c49544da9e6895ca01b132374e790cf67917c116292fbe416bf8ba27751add3d85256444759d69a38051ff6882507690c7e8786d8c262799f3fc SHA512 6e0356db9eb20b394ff9da8ca22fa5332ae7b24824d6e41a2222568286784e277424f0d7eae974aca97305660f13784ec41a86e60d6496f1d658a19a2fa3aab8 +EBUILD pyflakes-3.3.0.ebuild 1291 BLAKE2B c5a93bb29cdd56e14ff353df6527c930871b2ed80c7d03c7e5dbacb803277a61bb067de2df6b9f9a82eeda758b2bc8f712c2217276bee7f69428835ffaa52436 SHA512 9b927e38427b53c446ff68643f51916763ca2cb28d968ca8484af709fda9130d2d85b7afaf7f8bdd575780bc408839ad3ad2791026a949032452c979891501b0 MISC metadata.xml 763 BLAKE2B e15bc4240e0cc54bd0d7ecca523bcc43c5ae6ebd4f195815f7b2c3494e0366f1cc6feadbc63fce82390ed414e8f52a7bdf15f5c56909ab39879814ff1b178558 SHA512 bb8e0b6f746c99e5185a8bca736f0af36068ae0de45d1bde9663f0e732770366ac20f2116ddd9d7a85239146cf5d7b8fbbfc5c225d7bca4650001f86468a0142 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..5f1098eb4c7e --- /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_{10..13} pypy3 pypy3_11 ) + +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-testinfra/Manifest b/dev-python/pytest-testinfra/Manifest index 106c4117c3fc..8168b2fa958c 100644 --- a/dev-python/pytest-testinfra/Manifest +++ b/dev-python/pytest-testinfra/Manifest @@ -1,3 +1,5 @@ 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 EBUILD pytest-testinfra-10.1.1.ebuild 1250 BLAKE2B 294debb7495677ab384cc0f8b02a9ba2f6c4ba45cb74607da0ea9457be29514c79059252b3905d6cff2a9fbd2d5739b977bdc059a15552357cb3768e2e79c818 SHA512 5452af12f170b7f4ad630e3f64e4a7c9c0d81841c28385cbea5effd2d058c4bf36051ef9286a63dcece661db6e18794983e4fdf1401a1b2375eb23d3173bcecf +EBUILD pytest-testinfra-10.2.1.ebuild 1372 BLAKE2B 37e2c069f0731f8ac6a768e8a5b189db0cbef30b9791659c07f7b6ccb38e90533557bb9fdf39a9c36e8b14df2ec7cd9732affcd3792797f117206b839c9d1949 SHA512 cf6c0a3b143880a6d38f1a756c7709f5eaac024415d8306c7fd7696ed1d0b4f4921d016dbf68a5194320b7e166ae128710024483b2d3776e45571a81f000787e MISC metadata.xml 675 BLAKE2B e0725c7b69f7a1e7a8ff8a0e62c957ff7fc363b4a045a44d0026f33514053392e7bdabe5d75a897f87b883c79fe2d864038f5d840ce5fccf22e1484bf0e739f6 SHA512 dda8d8466a9600dce843db4af6ac0a0dd3e21f07d9ded26f159414968c1ba42009d5c8d57b5ada603a3ec4cb5583d4695f2cfe0974643120e5c3e6596b5bf66c 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..fb219a614d71 --- /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_{10..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/qpageview/Manifest b/dev-python/qpageview/Manifest index 15240674a95c..f07b562cb55f 100644 --- a/dev-python/qpageview/Manifest +++ b/dev-python/qpageview/Manifest @@ -1,3 +1,5 @@ DIST qpageview-0.6.2.gh.tar.gz 159098 BLAKE2B bd28acaf0f2a123963136acd32ce1a7ee72bba3c19f253af821b44e38bbf314ac3ccb48a8c96b06f484d399ed13bd3b8b3cf62e7b2a44d85edb38d04b60ceccf SHA512 80b1d6d4419594bcac195450ab030ab0b4fe3fe92dc9a6db598d1dd2282670f0d0b9d957b3c37313d7002f8f7dbc1bdd101edca81e5edca19c6e33ec4f6e4ffe -EBUILD qpageview-0.6.2.ebuild 769 BLAKE2B 3c5c514a70092ecfacb79da33852aeb0cd56eb7b591cf0f109028c27b079820ff367963ab65b5f6e4386c400c3b991504a1565413147327d81e70a3502eaa029 SHA512 ca89845776dc963ffeacc79821b6ba1cb85a1b8ea2829d0f3ea5d9093e7f1b14b43accaf55c767130efdb33905cf77bc7811362b9948fe8fb291c64b3398a9e8 -MISC metadata.xml 382 BLAKE2B 9a18f6dc2b6308f84d65992f60b673b25370afc73f7b697673732f8cf93e5fa70791cf0cfc5ecd357d5852385ba3ea289d4076c2b9db68e5c5b9f5320d8a47ca SHA512 24dbff938564a04437fdf3758fa8801556211825fb72b346a67a12b191608105f51c98ebed2377b6275083dbfa6de413383c09804fe4a6dcd74b5fcb730545c5 +DIST qpageview-1.0.0.tar.gz 137299 BLAKE2B 4a6b08993592010847db8935dad117234b85e76407873683c9650161bf053515dc5bc07924a4482bbc412ef2df4847b2648d2b239fe31e9002cb8cd6bcb588ed SHA512 664c79924f184bf3e993b8464cef3e32a266c1c621faac3f82335fb27785b495e6aefe99ff17c1c2a98804bea0920ea7d75005115f702d66ca59e5ba3e77ca03 +EBUILD qpageview-0.6.2.ebuild 765 BLAKE2B 24288ce722b1033cb65731f2d3a45e406026c0042ed97e386fbe2b0a1b2ce0bde0dfaaefb6f88eda00901e55ad5da47d0aa15828fb741e54f0dd773803de0dea SHA512 6d259446441cbb83bfcac064fe975e3f0465249e7764338361348ae87c6c732fb796d9944c3cd20c55310cf8bad5d88dab1257a30d5f238538fd6c3f9ff70b21 +EBUILD qpageview-1.0.0.ebuild 503 BLAKE2B 1bd01a0bab16ea6b51910e111fa64aada408a6f5377d51fc31edb625a42a582b1eb55f64bd4b2f697d36525f4e24b1219f687e25a6d7d64463b9c80bc0023204 SHA512 c6323e979f52bc670af9457dfa48dd600f3cdd3debab3deb5b0e39a3ef61cfeacc09917def6953cd96ac560e5b503ffe14d59ba1612a16f5d157f9c5dd3e0055 +MISC metadata.xml 387 BLAKE2B 88378f2c94c8a46c27d62a50144e31f3b546065a26161cee1f4b41c97214f6bfdad8f6341c7954797f4d8c87c8d2f6c77b7a28285b0d8925b444a1c0b47af916 SHA512 9942b9d50e03f8a7c24545dcd0cb9e86d5b8677bf93fe01c9471f823152fff7caba84064d0eae66b1c160499adbdc3f1305d0df7f33ac2f60e3309a880fefae4 diff --git a/dev-python/qpageview/metadata.xml b/dev-python/qpageview/metadata.xml index bf0b8f79adf0..dee28e462cc0 100644 --- a/dev-python/qpageview/metadata.xml +++ b/dev-python/qpageview/metadata.xml @@ -6,7 +6,7 @@ Gentoo Sound project - wbsoft/qpageview + frescobaldi/qpageview qpageview diff --git a/dev-python/qpageview/qpageview-0.6.2.ebuild b/dev-python/qpageview/qpageview-0.6.2.ebuild index f6433403ec40..37d8ca97e921 100644 --- a/dev-python/qpageview/qpageview-0.6.2.ebuild +++ b/dev-python/qpageview/qpageview-0.6.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ SRC_URI="https://github.com/frescobaldi/qpageview/archive/refs/tags/v${PV}.tar.g # Should be GPL-3+ once cleared up LICENSE="GPL-2+ GPL-3+" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64" RDEPEND=" dev-python/pyqt5[gui,printsupport,svg,widgets,${PYTHON_USEDEP}] diff --git a/dev-python/qpageview/qpageview-1.0.0.ebuild b/dev-python/qpageview/qpageview-1.0.0.ebuild new file mode 100644 index 000000000000..ba3a0603fe3f --- /dev/null +++ b/dev-python/qpageview/qpageview-1.0.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 2022-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} ) +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Page-based viewer widget for Qt5/PyQt5" +HOMEPAGE="https://qpageview.org/" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pyqt6[gui,pdfium,printsupport,svg,widgets,${PYTHON_USEDEP}] +" + +pkg_postinst() { + optfeature "printing support" dev-python/pycups +} diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index 00424142a89d..7520915b10a5 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,5 +1,7 @@ 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 EBUILD trimesh-4.6.4.ebuild 2183 BLAKE2B 1ba86db229b0a155cb01e1c255074d39ce695ae94cd6cbd70028edf2850e5a8ef9b2f2e81142a368f27d0129c40c88ccf8b087ad74838ff5019e3a3dd1feacbd SHA512 4a59cf64aab849c8c919551129ab943c599d2a6191de7e54223393dc34fde7f6bb5768c3753fd8cad6bed1538200b07654a13f20378f0fb3d48ad3e9f7376bf0 EBUILD trimesh-4.6.5.ebuild 2185 BLAKE2B c604e438cc9ca47cc4c088c0126afe1f2736d399ca99ade28970f44951168d71ace351d9bc19016d94a04e79e6692c0ac951f5587a64621db414fa6176393fdd SHA512 7f1c51e048fdbbee8173cee7d66c2f0acc87687592d0343430b11901c8f6e18c0091090dd6a0f59b1375f46e95c4ee06ed3dd92bdbe0052fc8038feee86431c0 +EBUILD trimesh-4.6.6.ebuild 2185 BLAKE2B c604e438cc9ca47cc4c088c0126afe1f2736d399ca99ade28970f44951168d71ace351d9bc19016d94a04e79e6692c0ac951f5587a64621db414fa6176393fdd SHA512 7f1c51e048fdbbee8173cee7d66c2f0acc87687592d0343430b11901c8f6e18c0091090dd6a0f59b1375f46e95c4ee06ed3dd92bdbe0052fc8038feee86431c0 MISC metadata.xml 389 BLAKE2B 6dcc92dfafdedb5cc7fe5f40977594114bbf1628d8179d7222c3b60c4a591e236c7a937530006beb9649a8a84636bcb1923d8ad6a377994295f85b1fe8eb8bbd SHA512 a96f4fb6a1c2bd820f2dd072230fa160536834e1ef19483c372571df2d082cb5a63434181af9107022b75e1019d369d6bece8262eb752cedf24a5038e15ea473 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..252b04a9f06e --- /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_{10..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 +} -- cgit v1.2.3