diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-01 19:20:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-01 19:20:33 +0000 |
| commit | 7e12702389313d1bcff6e3acc60ab5d654966413 (patch) | |
| tree | 7c1dce65d831e4b7acfb13c99f250dc77d8513d2 /dev-python | |
| parent | adf2493bc15dece8e5a4b1dedea642158118767c (diff) | |
| download | baldeagleos-repo-7e12702389313d1bcff6e3acc60ab5d654966413.tar.gz baldeagleos-repo-7e12702389313d1bcff6e3acc60ab5d654966413.tar.xz baldeagleos-repo-7e12702389313d1bcff6e3acc60ab5d654966413.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
18 files changed, 472 insertions, 208 deletions
diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index a51239ebae30..134284878a7a 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -8,3 +8,5 @@ DIST cfn_lint-1.45.0.tar.gz 3512104 BLAKE2B 2f6139e0a041a49a91c66fa8a959c2133cd9 DIST cfn_lint-1.46.0.tar.gz 3625615 BLAKE2B fcf5709311da21a69c222a0925efcb36b0bd5addf2d19e31c18d975c59546dda7e15c2e8ee32270b42f0f17dffb16c6124d7a800b2318762e780aeb25b6c90d1 SHA512 d8e4636f796736ba6eb0b959fee4df0b6454f972ca52bada956e76227bff7c0de539b7b1cbbd742123a0d1d308691f511ca4576dfcbc7bf2cafb73e4d5b8b689 DIST cfn_lint-1.47.0.tar.gz 3673549 BLAKE2B 26a42e2e30cdb6393bb0445b4e97d7c75ab58c2d66a64efc5eb8285a61e40a7f2c2f84e10deb29d6240ba9f2abdb890f95940647815bb353eeb6df4613f56c8e SHA512 dbe192c99f98ca0e5c2743ffaaf65bc2035d7d414fe404f71cb136d1a60f75d829b8afd07699592b640d53cf3749e0a68636592186184ea850f5284236e53d59 DIST cfn_lint-1.47.1.tar.gz 3672271 BLAKE2B 8e6b91bb1d76b56af18316f608dbab578df0106cefe616913f75cf5525b821bf11f02d62216afe3e08e3569f9aac2132c999bc2fa7feb7c30b75a62f2131b98c SHA512 057249d9cc1c0fe99d3d643216e8071bfb14ecee2d3dabba0368d737f589ebe145d7083e725cbbfb4a8a5b887781a675b8768288cd47caad888acf385e56e511 +DIST cfn_lint-1.48.0.tar.gz 3732246 BLAKE2B 9ca71a4deb691beaab14a3704326d17d9dcd94cc48f7570b44ab707a8a3ef68aa1cfb0e3e6b4cf9d577f3ca886f7279e083309bff9f49edef2d50f4c65b851e8 SHA512 689fe10bbab7303f512df37ed2daf5f70a32b343798de0ced29129cb3f8e295d9bc539c6eafc1f3ef287964e1e0f7ab81f715ed4d3ba970d4f807235c0a5817a +DIST cfn_lint-1.48.0.tar.gz.provenance 9678 BLAKE2B 764559893896a2e2687224bb5dc872a4251df7b2d60b1702670ec84302a6fc03e49d3900cb98f5b683dcb05ae166ecb58abee87787d9afa80fcaf6a8b85afb5e SHA512 0a69980543bcd6d8b22adf543fbc87593faa5713493aa5001685a760b281d045def35e74cbf6c91a3631c8c562461b72b7a474b1129071f8360903fa8fd719c2 diff --git a/dev-python/cfn-lint/cfn-lint-1.48.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.48.0.ebuild new file mode 100644 index 000000000000..fdfbfd6dff67 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.48.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/aws-cloudformation/cfn-lint +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.108.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # different line wrapping somehow + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # TODO: suddenly started failing in older versions too + # https://github.com/aws-cloudformation/cfn-lint/issues/4207 + test/integration/test_good_templates.py + test/unit/module/override/test_exclude.py::TestExclude::test_success_run + test/unit/module/test_api.py::TestLintFile::test_good_template + test/unit/module/test_rules_collections.py::TestRulesCollection::test_success_run + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + epytest +} diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index 3a3c09b4199e..99d6723b717e 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -6,16 +6,13 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda -DIST llvm-project-1f9b32ba061e7d5f7173a6a7150faf31964c2974.tar.gz 264557724 BLAKE2B 58b583abbee8d0cfc50c7a3bc1bd526b8c29946dc0bf225fddbd403a157687c557654a7b65e08ac19d5df427f5622d9f699d97adce9ef79b7a5ab571ab4f87ea SHA512 68d27c9cf9f3a0efcbbb51539ce441139b63f79aa799de0c46eadba2abb8f895f78ad42507b4f7191ae361d559bb7597555214e68266dc6b8bcae89efeed21db DIST llvm-project-20.1.8.src.tar.xz 147242952 BLAKE2B 7657ac0b26acc5affb1bfc91b912ade3191c5d77f3979d5a80d5f6ce52f56a7d1c448bd257398390bf10838f02faa6f3ece37a7327cced69d165ec2e2e699316 SHA512 f330e72e6a1da468569049437cc0ba7a41abb816ccece7367189344f7ebfef730f4788ac7af2bef0aa8a49341c15ab1d31e941ffa782f264d11fe0dc05470773 DIST llvm-project-20.1.8.src.tar.xz.sig 566 BLAKE2B 85beedfcff1195a974fab2c667b9efd4b715b3480c1b44b1b887fe32c69f72aca0d3b8fb276c03b6cc5a866622f669047aeee5ccb976640b4008ccd31dce77a4 SHA512 d74369bdb4d1b82775161ea53c9c5f3a23ce810f4df5ff617123023f9d8ce720e7d6ecc9e17f8ebd39fd9e7a9de79560abdf2ffe73bcb907a43148d43665d619 DIST llvm-project-21.1.8.src.tar.xz 158958576 BLAKE2B 0d3d4ee920f8e5db50e98152616f16004c74df0e7313cc86d893428fb7b1c875109988a5e40ea6f2e5d0fef53c7bfe2fc2b69e84807f6eb440b03afa1b228a36 SHA512 cae4c44e7bf678071723da63ad5839491d717a7233e7f4791aa408207f3ea42f52de939ad15189b112c02a0770f1bb8d59bae6ad31ef53417a6eea7770fe52ab DIST llvm-project-21.1.8.src.tar.xz.sig 119 BLAKE2B cffc1825f5778a3e3c128ec3e856ff6ee50687319d621cdf42e895abf67e05cc51cb7493308e2b506ab60dbdbaca7aa75eb9f78d91d42c81f9682a36f4042e9d SHA512 10f58eff58ed6e701d0f123b15e68c82ab8cbdf99b1c86c0d83e3b8553e90ea51055e30327e8e442ded57c8f503e2a2de9ee075e9c28b5ba815a0f8922f8671c DIST llvm-project-22.1.0.src.tar.xz 167040408 BLAKE2B c5e9971dd17f4b0508b85c9f247bebfcf9a9b4e282f65b09105549e7aef529ed25104458b83f5d7b152c4308df8ea2f8fdb7f479f4928d9b4360a3c326255647 SHA512 588753a26742cfc76ca179398eaac6a31e68b1fa5bfaf7300ce710a89bba1dc9bfe41229bb9277663a3cde4468e74922153e5d1529eb7c6fe4de5ba3cb62ba45 DIST llvm-project-22.1.0.src.tar.xz.sig 119 BLAKE2B d3190d9dbacedf9de0c6b3d5c7711ae3c57dd4dc8cd136bc27fe4901253ffbd6d21060c046d7bf69d3a9489b5704ab5337e6d26da8236966c609b2d0eb54db97 SHA512 6145bf769640a9c6546cb63fa82450b2985ab74b2180a735f709ed909998cfbc6781116354b8b819cefa0e87cd11d470ecc64cd758b4a703aa10ee7880315f42 -DIST llvm-project-22.1.1.src.tar.xz 167029452 BLAKE2B 5d02e03ed943904e8e45d5a522ee37720540b80f79f449bdc50ac87c1703d0129aa853384a63782eabf8f6d375e123709d73167f9f708bde4e0118d10837f2b0 SHA512 dddf09651c0e77caa83284788765016b023a9e239cfe35820bab7be64b68218e86bcf39bb07ee14dcddf7b0974b551344d2bff0e109cc9458b0394a3c940917c -DIST llvm-project-22.1.1.src.tar.xz.sig 119 BLAKE2B 02dd014936c4bac983ad6822a3ca084ddc94beeb4f4ccc6afae0031c7c563b10f7b962ef5a1a3d573330725c590f7e3b2eef2c21100063e68e32a1015b733c3d SHA512 592d603d610e121e7466a342bbf6b95c9a5f689268fad778befbf9e5663b53717c50daab9db07288020e3dcc2ec2bf38d611761a9ff6c3ce10a4340cfc2593c7 DIST llvm-project-22.1.2.src.tar.xz 167026580 BLAKE2B f838277e2bb47c273e8c709940aff5e21b88ad8216a4c6813d783f6041ac4b624c954bedd4c572c117d308ccafedca80ea95fcd73675c00ebfa998057e522f7b SHA512 d5adfbb8e5026b845f8251f5f490b4646ccd2ecaf81a2b80091d1c71044f5c7726f2df6680a95589f2dedc614bdd9cdd88febcce6d5fc92f638f616d503b8066 DIST llvm-project-22.1.2.src.tar.xz.sig 119 BLAKE2B 4ca084feb2d99ca6d763048244305408400fd9e1fb08a4314112d4d0318e4a2f3337858217c6d09fc136e0dd48f5bed7e88ecd3510116a3777dedec013f915f3 SHA512 dba272f935aa5ff3e93e538ac8877a79fdd3d2bf0efa61266c3caa85ac3aab167213a76759ed9531b539cdfd57c96a9c890807c4a04ba65a4d80b0c3dff044f2 -DIST llvm-project-704c87bb948aff1bec718d56ad52b9b5d9c49cfb.tar.gz 264313048 BLAKE2B 68a42c37c44be743f1b584e97fbc9633cb2f679d8b2a733c31eb1f6805591a3b817e5c41dcc2d5a7bcf399e822fab3b020f8f2126918ef2e96f7a231b2b2a08f SHA512 dbcbc3b988c60e9a9cd3a03c339d53722f3a854ff05c53f88a9dad2c52db16453a34bd481ce90d063eae93428e438cf397bc5c60194e14ca9c65b0459c2a91d7 +DIST llvm-project-af6521fb3a36149cd69d83bfdf87ed26e59a14a2.tar.gz 265801058 BLAKE2B 3bbaee50354a8c67f4ebfbcbd0ed5d8658af082602a821d1e6d716d0c2f2952c817d594a1d8f573f0b54176ad18b23742db07d6471c72cca6f1082038ea95419 SHA512 70d3b9f95a3a895450da1d77657108a70d4910f0d78c7310b340bed2a2571b0bf5631dee21e8b4c57ebfc756a9e44cc34c2b6a0ac5354a3d500fcfe198a25849 DIST llvm-project-df9eb79970c012990e829d174d181d575d414efe.tar.gz 265149781 BLAKE2B ab7a87dad369685fc26a054c065dee6ef2754b6446d5a6e15ed7f5bb52d7d433b519cac0522063ba222600f6f40dc40f7bf27930c74031cc40fff5372308a097 SHA512 7c63bf1360902e6a55c7f4c15d08a716d54476875744e6f40ec51157de6c18bf75d8fdb921f26831017151e87649bd1a48041e007edd9a0afc5e9f9066bfd79d diff --git a/dev-python/clang/clang-22.1.1.ebuild b/dev-python/clang/clang-22.1.1.ebuild deleted file mode 100644 index 9ecacb5027dc..000000000000 --- a/dev-python/clang/clang-22.1.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..14} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for llvm-core/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=llvm-core/clang-${PV}:* - !llvm-core/llvm:0[clang(-),python(-)] - !llvm-core/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - llvm-core/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/{bindings/python,include} ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang/clang-23.0.0_pre20260314.ebuild b/dev-python/clang/clang-23.0.0_pre20260314.ebuild deleted file mode 100644 index bdbb6bbefa8b..000000000000 --- a/dev-python/clang/clang-23.0.0_pre20260314.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..14} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for llvm-core/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=llvm-core/clang-${PV}:* - !llvm-core/llvm:0[clang(-),python(-)] - !llvm-core/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - llvm-core/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/{bindings/python,include} ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang/clang-23.0.0_pre20260307.ebuild b/dev-python/clang/clang-23.0.0_pre20260331.ebuild index bdbb6bbefa8b..bdbb6bbefa8b 100644 --- a/dev-python/clang/clang-23.0.0_pre20260307.ebuild +++ b/dev-python/clang/clang-23.0.0_pre20260331.ebuild diff --git a/dev-python/kicad-python/Manifest b/dev-python/kicad-python/Manifest index 3e2791927093..0dc159af2d95 100644 --- a/dev-python/kicad-python/Manifest +++ b/dev-python/kicad-python/Manifest @@ -11,3 +11,4 @@ DIST kicad-9.0.6-common-types-project_settings.proto 3141 BLAKE2B 5a6b6450554124 DIST kicad-9.0.6-schematic-schematic_commands.proto 866 BLAKE2B 946b35676e26d091ed35e34331c8c3ffc55007cae5729ea7483b56caccb25de1eefb438dd16a50f731328d908d26faf516353c22acd275ca0945942645183bcf SHA512 031243204c96720f62ad25cb62731d65b9607b6237ee94ee3e28f3831f11a8845351413e5047f7fd695768efbd017094f906289cacd2302e43babd0e2151759d DIST kicad-9.0.6-schematic-schematic_types.proto 1941 BLAKE2B 23ad01b5bd15e7030b76693dd5c80729af6c80ddf782110f3c3a02fa4274dac6f0f26a7bffa5f4456262a8c93fe25e95169395f0cbfe384e07dd50095090f7c0 SHA512 8a762f7c8a1cf8eb0b5691661bcf82c448ef34c3142f8cfe3c77a1bd9666c9704747056c6ea4e08734b7cf7370ff3bd72e1d59414e3cde3a48b79ec371a74cf9 DIST kicad_python-0.5.0.tar.gz 198708 BLAKE2B 6a4e756289de711e633f3adc07e1aaaa6820dad9c5ec6d605bf96bdc0ea74ea622394e15078268c0d1c47b73f304f99b04cb77d86a673e441b7680b3893691d2 SHA512 7d4f0d005525e6a646df0e25fb59cf93a55f9ea072821062c0384a386c382b24f9ccad204f06bc52d4f90158eefb923692497470e0a43ee2947f1b2057a73779 +DIST kicad_python-0.6.0.tar.gz 238738 BLAKE2B 55004fc236765140ee17352bc240fe9ea4559f1b061d7bf64583d648527225a3a6e655254488bf0e256db963e5e3cf9cd19385d0a1df0c412cda2a7ed38cb384 SHA512 1dcbd18bfa31608e38bdb47ba457799bfe841f8b4f48c8fab09cf25976a7e19f178bc527479dde18ac5d5b2971bb2f1b29d630b5234c66e6c1d0eb5f5e6c644c diff --git a/dev-python/kicad-python/kicad-python-0.6.0.ebuild b/dev-python/kicad-python/kicad-python-0.6.0.ebuild new file mode 100644 index 000000000000..65dbe049f2bc --- /dev/null +++ b/dev-python/kicad-python/kicad-python-0.6.0.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..14} ) +inherit distutils-r1 pypi + +DESCRIPTION="KiCad API Python Bindings for interacting with running KiCad sessions" +HOMEPAGE="https://gitlab.com/kicad/code/kicad-python https://pypi.org/project/kicad-python" + +# Proto files version should match kicad release +KICAD_TAG="9.0.6" +KICAD_PROTO_BASE="https://gitlab.com/kicad/code/kicad/-/raw/${KICAD_TAG}/api/proto" + +# List of proto files needed +PROTO_FILES=( + "board/board.proto" + "board/board_commands.proto" + "board/board_types.proto" + "common/commands/base_commands.proto" + "common/commands/editor_commands.proto" + "common/commands/project_commands.proto" + "common/envelope.proto" + "common/types/base_types.proto" + "common/types/enums.proto" + "common/types/project_settings.proto" + "schematic/schematic_commands.proto" + "schematic/schematic_types.proto" +) + +SRC_URI="$(pypi_sdist_url)" +for _p in "${PROTO_FILES[@]}"; do + SRC_URI+=" ${KICAD_PROTO_BASE}/${_p} -> kicad-${KICAD_TAG}-${_p//\//-}" +done +unset _p + +LICENSE="MIT" +SLOT=0 +KEYWORDS="~amd64" + +# Tests not included in PyPI sdist +RESTRICT="test" + +# Regenerate protobuf files at build time to match system protobuf version +# Use := slot operator to trigger rebuild when protobuf is upgraded +RDEPEND=" + >=dev-python/protobuf-5.29:=[${PYTHON_USEDEP}] + >=dev-python/pynng-0.9.0[${PYTHON_USEDEP}] + <dev-python/pynng-0.10.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.13.2[${PYTHON_USEDEP}] + ' python3_{10..12}) +" +BDEPEND=" + ${RDEPEND} + dev-libs/protobuf[protoc(+)] +" + +src_prepare() { + # Remove build script config from pyproject.toml + sed -i '/\[tool.poetry.build\]/,/^$/d' pyproject.toml || die + rm -f setup.py build.py || die + + # Setup proto source directory + local proto_src="${WORKDIR}/proto" + mkdir -p "${proto_src}"/{board,common/commands,common/types,schematic} || die + + # Copy downloaded proto files to proper structure + local _p _f + for _p in "${PROTO_FILES[@]}"; do + _f="kicad-${KICAD_TAG}-${_p//\//-}" + cp "${DISTDIR}/${_f}" "${proto_src}/${_p}" || die + done + + einfo "Regenerating protobuf files with system protoc..." + + # Remove only pre-generated _pb2.py and _pb2.pyi files, keep __init__.py + find "${S}"/kipy/proto -name '*_pb2.py' -delete || die + find "${S}"/kipy/proto -name '*_pb2.pyi' -delete || die + rm -rf "${S}"/build/lib/kipy/proto || die + + # Compile all proto files (output to temp dir first) + local proto_out="${WORKDIR}/proto_out" + mkdir -p "${proto_out}" || die + + protoc \ + --proto_path="${proto_src}" \ + --python_out="${proto_out}" \ + --pyi_out="${proto_out}" \ + "${proto_src}"/board/*.proto \ + "${proto_src}"/common/*.proto \ + "${proto_src}"/common/commands/*.proto \ + "${proto_src}"/common/types/*.proto \ + "${proto_src}"/schematic/*.proto \ + || die "protoc failed" + + # Copy only _pb2.py and _pb2.pyi files to kipy/proto, preserving original __init__.py + find "${proto_out}" \( -name '*_pb2.py' -o -name '*_pb2.pyi' \) | while read -r f; do + local rel="${f#${proto_out}/}" + cp "${f}" "${S}/kipy/proto/${rel}" || die + done + + # Fix imports: protoc generates absolute imports (e.g., "from common.types import ...") + # but kipy expects them relative to kipy.proto (e.g., "from kipy.proto.common.types import ...") + find "${S}/kipy/proto" \( -name '*_pb2.py' -o -name '*_pb2.pyi' \) -exec \ + sed -i -E \ + -e 's/^(from|import) (common|board|schematic)([ .])/\1 kipy.proto.\2\3/g' \ + {} + || die "failed to fix protobuf imports" + + distutils-r1_src_prepare +} diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 3a3c09b4199e..99d6723b717e 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -6,16 +6,13 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda -DIST llvm-project-1f9b32ba061e7d5f7173a6a7150faf31964c2974.tar.gz 264557724 BLAKE2B 58b583abbee8d0cfc50c7a3bc1bd526b8c29946dc0bf225fddbd403a157687c557654a7b65e08ac19d5df427f5622d9f699d97adce9ef79b7a5ab571ab4f87ea SHA512 68d27c9cf9f3a0efcbbb51539ce441139b63f79aa799de0c46eadba2abb8f895f78ad42507b4f7191ae361d559bb7597555214e68266dc6b8bcae89efeed21db DIST llvm-project-20.1.8.src.tar.xz 147242952 BLAKE2B 7657ac0b26acc5affb1bfc91b912ade3191c5d77f3979d5a80d5f6ce52f56a7d1c448bd257398390bf10838f02faa6f3ece37a7327cced69d165ec2e2e699316 SHA512 f330e72e6a1da468569049437cc0ba7a41abb816ccece7367189344f7ebfef730f4788ac7af2bef0aa8a49341c15ab1d31e941ffa782f264d11fe0dc05470773 DIST llvm-project-20.1.8.src.tar.xz.sig 566 BLAKE2B 85beedfcff1195a974fab2c667b9efd4b715b3480c1b44b1b887fe32c69f72aca0d3b8fb276c03b6cc5a866622f669047aeee5ccb976640b4008ccd31dce77a4 SHA512 d74369bdb4d1b82775161ea53c9c5f3a23ce810f4df5ff617123023f9d8ce720e7d6ecc9e17f8ebd39fd9e7a9de79560abdf2ffe73bcb907a43148d43665d619 DIST llvm-project-21.1.8.src.tar.xz 158958576 BLAKE2B 0d3d4ee920f8e5db50e98152616f16004c74df0e7313cc86d893428fb7b1c875109988a5e40ea6f2e5d0fef53c7bfe2fc2b69e84807f6eb440b03afa1b228a36 SHA512 cae4c44e7bf678071723da63ad5839491d717a7233e7f4791aa408207f3ea42f52de939ad15189b112c02a0770f1bb8d59bae6ad31ef53417a6eea7770fe52ab DIST llvm-project-21.1.8.src.tar.xz.sig 119 BLAKE2B cffc1825f5778a3e3c128ec3e856ff6ee50687319d621cdf42e895abf67e05cc51cb7493308e2b506ab60dbdbaca7aa75eb9f78d91d42c81f9682a36f4042e9d SHA512 10f58eff58ed6e701d0f123b15e68c82ab8cbdf99b1c86c0d83e3b8553e90ea51055e30327e8e442ded57c8f503e2a2de9ee075e9c28b5ba815a0f8922f8671c DIST llvm-project-22.1.0.src.tar.xz 167040408 BLAKE2B c5e9971dd17f4b0508b85c9f247bebfcf9a9b4e282f65b09105549e7aef529ed25104458b83f5d7b152c4308df8ea2f8fdb7f479f4928d9b4360a3c326255647 SHA512 588753a26742cfc76ca179398eaac6a31e68b1fa5bfaf7300ce710a89bba1dc9bfe41229bb9277663a3cde4468e74922153e5d1529eb7c6fe4de5ba3cb62ba45 DIST llvm-project-22.1.0.src.tar.xz.sig 119 BLAKE2B d3190d9dbacedf9de0c6b3d5c7711ae3c57dd4dc8cd136bc27fe4901253ffbd6d21060c046d7bf69d3a9489b5704ab5337e6d26da8236966c609b2d0eb54db97 SHA512 6145bf769640a9c6546cb63fa82450b2985ab74b2180a735f709ed909998cfbc6781116354b8b819cefa0e87cd11d470ecc64cd758b4a703aa10ee7880315f42 -DIST llvm-project-22.1.1.src.tar.xz 167029452 BLAKE2B 5d02e03ed943904e8e45d5a522ee37720540b80f79f449bdc50ac87c1703d0129aa853384a63782eabf8f6d375e123709d73167f9f708bde4e0118d10837f2b0 SHA512 dddf09651c0e77caa83284788765016b023a9e239cfe35820bab7be64b68218e86bcf39bb07ee14dcddf7b0974b551344d2bff0e109cc9458b0394a3c940917c -DIST llvm-project-22.1.1.src.tar.xz.sig 119 BLAKE2B 02dd014936c4bac983ad6822a3ca084ddc94beeb4f4ccc6afae0031c7c563b10f7b962ef5a1a3d573330725c590f7e3b2eef2c21100063e68e32a1015b733c3d SHA512 592d603d610e121e7466a342bbf6b95c9a5f689268fad778befbf9e5663b53717c50daab9db07288020e3dcc2ec2bf38d611761a9ff6c3ce10a4340cfc2593c7 DIST llvm-project-22.1.2.src.tar.xz 167026580 BLAKE2B f838277e2bb47c273e8c709940aff5e21b88ad8216a4c6813d783f6041ac4b624c954bedd4c572c117d308ccafedca80ea95fcd73675c00ebfa998057e522f7b SHA512 d5adfbb8e5026b845f8251f5f490b4646ccd2ecaf81a2b80091d1c71044f5c7726f2df6680a95589f2dedc614bdd9cdd88febcce6d5fc92f638f616d503b8066 DIST llvm-project-22.1.2.src.tar.xz.sig 119 BLAKE2B 4ca084feb2d99ca6d763048244305408400fd9e1fb08a4314112d4d0318e4a2f3337858217c6d09fc136e0dd48f5bed7e88ecd3510116a3777dedec013f915f3 SHA512 dba272f935aa5ff3e93e538ac8877a79fdd3d2bf0efa61266c3caa85ac3aab167213a76759ed9531b539cdfd57c96a9c890807c4a04ba65a4d80b0c3dff044f2 -DIST llvm-project-704c87bb948aff1bec718d56ad52b9b5d9c49cfb.tar.gz 264313048 BLAKE2B 68a42c37c44be743f1b584e97fbc9633cb2f679d8b2a733c31eb1f6805591a3b817e5c41dcc2d5a7bcf399e822fab3b020f8f2126918ef2e96f7a231b2b2a08f SHA512 dbcbc3b988c60e9a9cd3a03c339d53722f3a854ff05c53f88a9dad2c52db16453a34bd481ce90d063eae93428e438cf397bc5c60194e14ca9c65b0459c2a91d7 +DIST llvm-project-af6521fb3a36149cd69d83bfdf87ed26e59a14a2.tar.gz 265801058 BLAKE2B 3bbaee50354a8c67f4ebfbcbd0ed5d8658af082602a821d1e6d716d0c2f2952c817d594a1d8f573f0b54176ad18b23742db07d6471c72cca6f1082038ea95419 SHA512 70d3b9f95a3a895450da1d77657108a70d4910f0d78c7310b340bed2a2571b0bf5631dee21e8b4c57ebfc756a9e44cc34c2b6a0ac5354a3d500fcfe198a25849 DIST llvm-project-df9eb79970c012990e829d174d181d575d414efe.tar.gz 265149781 BLAKE2B ab7a87dad369685fc26a054c065dee6ef2754b6446d5a6e15ed7f5bb52d7d433b519cac0522063ba222600f6f40dc40f7bf27930c74031cc40fff5372308a097 SHA512 7c63bf1360902e6a55c7f4c15d08a716d54476875744e6f40ec51157de6c18bf75d8fdb921f26831017151e87649bd1a48041e007edd9a0afc5e9f9066bfd79d diff --git a/dev-python/lit/lit-22.1.1.ebuild b/dev-python/lit/lit-22.1.1.ebuild deleted file mode 100644 index 8f98f054a55e..000000000000 --- a/dev-python/lit/lit-22.1.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - llvm-core/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from llvm-core/llvm) - -src_prepare() { - # flaky test - # https://github.com/llvm/llvm-project/issues/72022 - rm tests/progress-bar.py || die - - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/lit/lit-23.0.0_pre20260314.ebuild b/dev-python/lit/lit-23.0.0_pre20260314.ebuild deleted file mode 100644 index 2cc4b6485aed..000000000000 --- a/dev-python/lit/lit-23.0.0_pre20260314.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - llvm-core/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from llvm-core/llvm) - -src_prepare() { - # flaky test - # https://github.com/llvm/llvm-project/issues/72022 - rm tests/progress-bar.py || die - - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/lit/lit-23.0.0_pre20260307.ebuild b/dev-python/lit/lit-23.0.0_pre20260331.ebuild index 2cc4b6485aed..2cc4b6485aed 100644 --- a/dev-python/lit/lit-23.0.0_pre20260307.ebuild +++ b/dev-python/lit/lit-23.0.0_pre20260331.ebuild diff --git a/dev-python/mypy/mypy-1.20.0.ebuild b/dev-python/mypy/mypy-1.20.0.ebuild index 9abdcd990f1a..9a31cbdd0651 100644 --- a/dev-python/mypy/mypy-1.20.0.ebuild +++ b/dev-python/mypy/mypy-1.20.0.ebuild @@ -99,6 +99,15 @@ python_test() { mypy/test/meta/test_update_data.py ) + case ${EPYTHON} in + python3.14*) + EPYTEST_DESELECT+=( + mypyc/test/test_run.py::TestRun::run-async.test::testRunAsyncRefCounting + mypyc/test/test_run.py::TestRun::run-tuples.test::testNamedTupleClassSyntax + ) + ;; + esac + # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests # fail with high COLUMNS values local -x COLUMNS=80 @@ -115,7 +124,7 @@ python_test() { local failed= nonfatal epytest || failed=1 - rm conftest.py pyproject.toml || die + rm -r conftest.py pyproject.toml .mypy_cache || die [[ ${failed} ]] && die "epytest failed with ${EPYTHON}" } diff --git a/dev-python/pandas/Manifest b/dev-python/pandas/Manifest index 86ed9f42eecd..5159144d40df 100644 --- a/dev-python/pandas/Manifest +++ b/dev-python/pandas/Manifest @@ -2,3 +2,5 @@ DIST pandas-2.2.3.tar.gz 4399213 BLAKE2B eca6d31b21f6385c606b3c6f8f4eedc5871719a DIST pandas-2.3.3.tar.gz 4495223 BLAKE2B c31604617900d439020dcdd66fcbca1cf3b720b6f4dd8ea51891946ad04774754cf7636a2ffb9fe746d15911a88153d36d4033b6a0207e9c7a1653a0f677570d SHA512 4179acb9fd9d1c5d543bb19b22483b4c2b17a36d5b10270a02ff4d8370b43c16a93673bf5509a5b1d1c960c0fde9238bbbf5b309c6745d2abf3d934535f3fd85 DIST pandas-3.0.0.tar.gz 4633005 BLAKE2B 7084d2098e2f95c339c7638333161285e3bc969d0ba68df485c316445ab572ab99f2f4abfac5e22fa117c3af7a45cc412f95822996b75cabb489cc3e1d25673b SHA512 da05f1dc83caeacc95f5d5c84fec1949eea9bc4acd4763a8204a83174c5f45a6555410cac16241a530a584565963c6f6f7ffa7718c31e93d61dc7a47d8fa6c1f DIST pandas-3.0.0.tar.gz.provenance 9455 BLAKE2B 22caafd024bd01c8afc97b764ec19a71a4cdf4c2838d9853720ba801e280e5dbd587de2822805617b78bbf9d95c0b6eb81786a30e30aeb2224f9100855678e34 SHA512 b756eb102dc05afb1eed2ff22177dda0fdc0cc54db1ac45a3115748d7d7c09610d9332276bd448fcebb50a1e66242b2131b2e251b67bdedbad56e6b285728581 +DIST pandas-3.0.2.tar.gz 4645855 BLAKE2B 9d8ccd481d42040a45b990c84acd1ef7ca842bc3e0f80827875aabdf8c4278a2b2f0cedacfd8b73dca4ef36037162fef63e1feffb46d4522c6cc794d9a2052d6 SHA512 71a50f40812f0a5ac80068cc79fb3ec8685f9e21b15ba6cda136465b1258aef5fd8ab4d9b677ef53c6b3f3e8d9939a058457594754c34f9aa6748fc641720ab3 +DIST pandas-3.0.2.tar.gz.provenance 9326 BLAKE2B 11ae41e6c60a15415cbed7f43ecd90a23bd8a465588c73002d197706fc2d5680cfb1471a0f5061d27310f01101c99514ed7088649101d49515722093cd54d7a5 SHA512 402b810942056a62eba500802b1bdf5e8db28df3b47e0fb71340a360ee2c2348a0875b877f72e7c6de21f04980d72a8f547838e050a9bbcbd7bcfea0eb117b02 diff --git a/dev-python/pandas/pandas-3.0.2.ebuild b/dev-python/pandas/pandas-3.0.2.ebuild new file mode 100644 index 000000000000..25e4893923ce --- /dev/null +++ b/dev-python/pandas/pandas-3.0.2.ebuild @@ -0,0 +1,192 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYPI_VERIFY_REPO=https://github.com/pandas-dev/pandas +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="threads(+)" + +VIRTUALX_REQUIRED="manual" + +inherit distutils-r1 optfeature pypi toolchain-funcs virtualx + +DESCRIPTION="Powerful data structures for data analysis and statistics" +HOMEPAGE=" + https://pandas.pydata.org/ + https://github.com/pandas-dev/pandas/ + https://pypi.org/project/pandas/ +" + +LICENSE="BSD" +SLOT="0" +if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +fi +IUSE="big-endian full-support minimal test X" +RESTRICT="!test? ( test )" + +RECOMMENDED_DEPEND=" + >=dev-python/bottleneck-1.3.4[${PYTHON_USEDEP}] + >=dev-python/numexpr-2.8.0[${PYTHON_USEDEP}] +" + +# TODO: add pandas-gbq to the tree +# TODO: Re-add dev-python/statsmodel[python3_11] dep once it supports python3_11 +# https://github.com/statsmodels/statsmodels/issues/8287 +OPTIONAL_DEPEND=" + >=dev-python/beautifulsoup4-4.14.2[${PYTHON_USEDEP}] + dev-python/blosc[${PYTHON_USEDEP}] + >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.1.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.8.0[${PYTHON_USEDEP}] + >=dev-python/matplotlib-3.6.1[${PYTHON_USEDEP}] + >=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.4.36[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}] + >=dev-python/xarray-2022.3.0[${PYTHON_USEDEP}] + >=dev-python/xlrd-2.0.1[${PYTHON_USEDEP}] + >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] + >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] + !arm? ( !hppa? ( !ppc? ( !x86? ( + >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}] + dev-python/statsmodels[${PYTHON_USEDEP}] + ) ) ) ) + !big-endian? ( + >=dev-python/tables-3.7.0[${PYTHON_USEDEP}] + ) + X? ( + || ( + >=dev-python/pyqt5-5.15.6[${PYTHON_USEDEP}] + >=dev-python/qtpy-2.2.0[${PYTHON_USEDEP}] + x11-misc/xclip + x11-misc/xsel + ) + ) +" +DEPEND=" + >=dev-python/numpy-2.3.3:=[${PYTHON_USEDEP}] +" +COMMON_DEPEND=" + ${DEPEND} + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] +" +BDEPEND=" + ${COMMON_DEPEND} + >=dev-build/meson-1.2.1 + >=dev-python/cython-3.1.0[${PYTHON_USEDEP}] + >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] + test? ( + ${VIRTUALX_DEPEND} + ${RECOMMENDED_DEPEND} + ${OPTIONAL_DEPEND} + dev-libs/apache-arrow[brotli,parquet,snappy] + >=dev-python/beautifulsoup4-4.14.2[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.46.1[${PYTHON_USEDEP}] + >=dev-python/openpyxl-3.0.10[${PYTHON_USEDEP}] + >=dev-python/pyarrow-10.0.1[parquet,${PYTHON_USEDEP}] + >=dev-python/pymysql-1.0.2[${PYTHON_USEDEP}] + >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] + x11-misc/xclip + x11-misc/xsel + ) +" +RDEPEND=" + ${COMMON_DEPEND} + !minimal? ( ${RECOMMENDED_DEPEND} ) + full-support? ( ${OPTIONAL_DEPEND} ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_IGNORE=( + # missing test data + pandas/tests/io/pytables/test_compat.py + ) + # Note; deselects relative to pandas/ + local EPYTEST_DESELECT=( + # require -Werror + # https://github.com/pandas-dev/pandas/pull/63436 + tests/config/test_config.py::TestConfig::test_case_insensitive + + # deprecation warning + 'tests/computation/test_eval.py::TestEval::test_scalar_unary[numexpr-pandas]' + ) + + if ! tc-has-64bit-time_t; then + EPYTEST_DESELECT+=( + # Needs 64-bit time_t (TODO: split into 32-bit arch only section) + tests/tseries/offsets/test_year.py::test_add_out_of_pydatetime_range + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessDay]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessHour]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BusinessMonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-BQuarterBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessDay]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessHour]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-CustomBusinessMonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-MonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthBegin]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-SemiMonthEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-QuarterEnd]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-LastWeekOfMonth]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-WeekOfMonth]' + 'tests/tseries/offsets/test_common.py::test_apply_out_of_range[tzlocal()-Week]' + ) + fi + + if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/plotting/test_misc.py::test_savefig + ) + fi + + case ${EPYTHON} in + python3.14) + EPYTEST_DESELECT+=( + # crashing + tests/resample/test_resampler_grouper.py::test_tab_complete_ipython6_warning + ) + ;; + esac + + local -x LC_ALL=C.UTF-8 + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die + # nonfatal from virtx + # --no-strict-data-files is necessary since upstream prevents data + # files from even being included in GitHub archives, sigh + # https://github.com/pandas-dev/pandas/issues/54907 + nonfatal epytest pandas/tests \ + --no-strict-data-files -o xfail_strict=false \ + -m "not single_cpu and not slow and not network and not db" || + die "Tests failed with ${EPYTHON}" +} + +pkg_postinst() { + optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck + optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" + optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup4 dev-python/html5lib dev-python/lxml + optfeature "for msgpack compression using blosc" dev-python/blosc + optfeature "Template engine for conditional HTML formatting" dev-python/jinja2 + optfeature "Plotting support" dev-python/matplotlib + optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-3.0.10" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt + optfeature "necessary for HDF5-based storage" ">=dev-python/tables-3.7.0" + optfeature "R I/O support" dev-python/rpy2 + optfeature "Needed for parts of pandas.stats" dev-python/statsmodels + optfeature "SQL database support" ">=dev-python/sqlalchemy-1.4.36" + optfeature "miscellaneous statistical functions" dev-python/scipy + optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/pyqt5 dev-python/qtpy x11-misc/xclip x11-misc/xsel +} diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest index 2a044365f396..d4a9338e2715 100644 --- a/dev-python/pybind11/Manifest +++ b/dev-python/pybind11/Manifest @@ -1,2 +1,3 @@ DIST pybind11-3.0.1.gh.tar.gz 918227 BLAKE2B 90700c919872cd697a59951ef86da0bd0487fe01cd3f3e1b54f2b0b6380a356271635796ea2289340377ecb6ec571ac921ad5dae0e4c82f579f7d8acefba72e5 SHA512 c17e6d6a78c38e760864b390ac2aa7df6a94ca53acb2e8be71f0d63d611b738fa20a16946c98a93fbfcad56cb0346ebf247bbe41c6f5171c6ce68397b1e5c4db DIST pybind11-3.0.2.gh.tar.gz 953272 BLAKE2B 62d1e5cc948556d5eb161b0059c1c4cada61178554af36c2c07e613399b92c24cbff19f5128abe4ba922de79c36ab349efd4af3d4d7d354270b811039e2c0576 SHA512 19bee2c76320e25202ee078b5680ff8a7acfb33494dec29dad984ab04de8bcb01340d9fec37c8cc5ac9015dfc367e60312dcd8506e66ce8f0af4c49db562ddef +DIST pybind11-3.0.3.gh.tar.gz 964282 BLAKE2B e75596d9ea23a27476ccc3ffc3fbaa47ef7e29a7830bc777a13ad74774e2c0b11485172efb123e9f45847665ee413bc41c8fc84b7dfd3b01579a665ddce7eb85 SHA512 d6846dc88234a355f9ff312cfd0ecb8d3c7bb0e446ea5fcfc931ed7f18d56206e2b02662cdbd8d8d940a9f67b195dabfa13585f4bb1d57cb1af8a9c39a447a79 diff --git a/dev-python/pybind11/pybind11-3.0.3.ebuild b/dev-python/pybind11/pybind11-3.0.3.ebuild new file mode 100644 index 000000000000..edd49be16e6b --- /dev/null +++ b/dev-python/pybind11/pybind11-3.0.3.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=scikit-build-core +PYTHON_COMPAT=( python3_{10..14} ) + +inherit cmake distutils-r1 + +MY_P=${P/_} +DESCRIPTION="AST-based Python refactoring library" +HOMEPAGE=" + https://pybind11.readthedocs.io/en/stable/ + https://github.com/pybind/pybind11/ + https://pypi.org/project/pybind11/ +" +SRC_URI=" + https://github.com/pybind/pybind11/archive/v${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + dev-cpp/eigen:3 +" +BDEPEND=" + test? ( + <dev-cpp/catch-3:0 + >=dev-cpp/catch-2.13.9:0 + dev-libs/boost + dev-python/tomlkit[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + cmake_src_prepare + distutils-r1_src_prepare +} + +python_configure() { + DISTUTILS_ARGS=( + # disable forced lto + -DHAS_FLTO=OFF + # https://github.com/pybind/pybind11/issues/5087 + -DPYBIND11_FINDPYTHON=OFF + -DPYBIND11_INSTALL=ON + -DPYBIND11_TEST=OFF + ) + + local mycmakeargs=( + "${DISTUTILS_ARGS[@]}" + -DPYBIND11_TEST=$(usex test) + + # fix missing prefix, https://bugs.gentoo.org/961861 + -Dprefix_for_pc_file="${EPREFIX}"/usr + ) + cmake_src_configure +} + +python_compile() { + distutils-r1_python_compile + # Compilation only does anything for tests + use test && cmake_src_compile +} + +python_test() { + cmake_build cpptest test_cmake_build + + cd "${BUILD_DIR}/tests" || die + epytest "${S}/tests" +} + +python_install() { + distutils-r1_python_install + cmake_src_install +} diff --git a/dev-python/ytmusicapi/ytmusicapi-1.11.5.ebuild b/dev-python/ytmusicapi/ytmusicapi-1.11.5.ebuild index 689beace28dc..3d9b4225accf 100644 --- a/dev-python/ytmusicapi/ytmusicapi-1.11.5.ebuild +++ b/dev-python/ytmusicapi/ytmusicapi-1.11.5.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://ytmusicapi.readthedocs.io/ LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RESTRICT="test" RDEPEND=" |
