diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-30 06:53:35 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-30 06:53:35 +0000 |
| commit | c274884963bce2da3feb11087ab38d5359dce6b4 (patch) | |
| tree | 3cdc2dcbe2612dd61ce81792bdc14d25864d3537 /dev-python | |
| parent | 09e7ba82863ca0798e5f9d24118c3905b4e17ae6 (diff) | |
| download | baldeagleos-repo-c274884963bce2da3feb11087ab38d5359dce6b4.tar.gz baldeagleos-repo-c274884963bce2da3feb11087ab38d5359dce6b4.tar.xz baldeagleos-repo-c274884963bce2da3feb11087ab38d5359dce6b4.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
24 files changed, 552 insertions, 22 deletions
diff --git a/dev-python/agate/Manifest b/dev-python/agate/Manifest index 39fed7799927..4e4a66389c04 100644 --- a/dev-python/agate/Manifest +++ b/dev-python/agate/Manifest @@ -1,2 +1,2 @@ -DIST agate-1.11.0.tar.gz 203764 BLAKE2B c652f4f28840b036361fd05d5f1ca612fdb251a055f2e42d3859050907f0c0f0c17cb2a3351d5eb9d96759f18fc6851a501d1d3aabcb2ad257093ee97a96693d SHA512 9134987ed32838565e6d599568d5346e90d4623dca0868d13d134d6333d55f64ee4fc67469c691e1e964c735e14482e18615ca79f25108ffaf24c4da50a28ae6 DIST agate-1.12.0.tar.gz 203989 BLAKE2B 790b1e04dce60754dc24dec367420dfeaacd15879940872d3231ea848b35d4149472285b0dcddd3749c37136b917fa718178de7401d6ca3322e249d56979fb3f SHA512 ba73717d1ad270161d2c5c8b45013c146e9ca0d8d7ca9b47e2db48818226544f66fd5762d5b956ea33add04a18bac46d9f0128e2022b98e0f78b3d2a7f0f1f1f +DIST agate-1.13.0.tar.gz 204156 BLAKE2B 9064aac64d02fea1e0613d501ecbe60b76cf1300195d9f8a0fe0fbe37df24ad891f4951bf7220a9c2c74bcad32d2a022c57054eb1075245b3933aa8714f87f06 SHA512 3f39387315b97bc003b4e5c77ccb806c35cd0ccd41238a2547524641abe87d0a8850c82831f551f72db4e9569901cc2dd94c7c68310f300e73fe5861a4618971 diff --git a/dev-python/agate/agate-1.11.0.ebuild b/dev-python/agate/agate-1.13.0.ebuild index db0d6eada929..bc0bc7e8dd73 100644 --- a/dev-python/agate/agate-1.11.0.ebuild +++ b/dev-python/agate/agate-1.13.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2024 Gentoo Authors +# Copyright 2021-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 03d7278cdb9a..f883de736d31 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,3 +3,4 @@ DIST boto3-1.36.2.gh.tar.gz 923432 BLAKE2B 91f19eb6e1451923adbf323688d89cfadd384 DIST boto3-1.36.6.gh.tar.gz 925646 BLAKE2B 71db3ff552033c187e19b699d193e4834649b80d2c0dd2ed35496bfef798371f7794e58d445aeeafcc3e4aef50d4dc6e17347b04ae82b4f3b7778a1a5e419daf SHA512 c638903cb3afff4867dbee7295e387f5ce91d9d3d9f37b28c103ead87883377a69fbccfce34850da5c77186ced0bb56f5dc5f4549e84871d10a9134c731d4c36 DIST boto3-1.36.7.gh.tar.gz 894133 BLAKE2B b4e8e52e02528d0268b40d430ff32068a74764bfb3028e7c533a28e51ed7c5f1bad6742b5bbb07caf20d3a3daaf58647ca6ee4557f8d55b562604ee47c9aa9f0 SHA512 2b525e9b73b9b7b4934383ebeb4aef629eeef546637b0bf69b5c4a0c8ed0c70241e0df799105952e51fe28880ee9a035f57dcd0b6445775bdc36283f076bfa9b DIST boto3-1.36.8.gh.tar.gz 894929 BLAKE2B 7c848e09f550c7268303f48537079d8b557c5b685c1fd4097605ef039686f1191dcc253eb442d6f9dc77b623bfe402e7dc81906b9f46004dadea99ba9f326afe SHA512 e3d2fc7e3003ba7107b5430ae61962d61d8c0c7957f2654212683af39970b489cf57121392d1ffac4d44672818884e9fe01a077296586d64cafe2d18b2b96ae4 +DIST boto3-1.36.9.gh.tar.gz 895496 BLAKE2B a23a0b8c99314aff33327c781092fda3db70d5765223c78d4dbd02b5dec840f4043b945f5cf3eb2652a3941058a11143e72227617f7c304baa9c0e9f25a668b0 SHA512 0351d4e8caae0c4c693e142a24eaf708b240e8a29d7b99adfaab82a6f7c9756b80ab1c15d9b6846a086d34781768759d9c0216a5ac80256d6e84fad7444888d3 diff --git a/dev-python/boto3/boto3-1.36.9.ebuild b/dev-python/boto3/boto3-1.36.9.ebuild new file mode 100644 index 000000000000..dfe05b3d9a81 --- /dev/null +++ b/dev-python/boto3/boto3-1.36.9.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.11.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index f868fd81d8c5..2fadb0d6c8bc 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,3 +3,4 @@ DIST botocore-1.36.2.gh.tar.gz 14197789 BLAKE2B 21441cd52052d117ce05e425c13f3494 DIST botocore-1.36.6.gh.tar.gz 14173329 BLAKE2B 1eea293adad312439f2c60e0f73f721fa207439af2918fb5db98304a565e44d33f953f517e5526e865cbf58751892be4a6cc275545f295638109ee4051d2a276 SHA512 bcd1077bfeb5709e8c6224560f7974d70a884310539b531f520b20446aeaf3aa5d9aba6cbd19d75526d34dd7ab68be578f5ece7bddf7986997f9f5bbd5cee905 DIST botocore-1.36.7.gh.tar.gz 14176309 BLAKE2B 5ec7df33c49242dd2b1069261db0090703689c7b8be613225fae4cee2e1046d8d6884842c53482d31915c00f59323414d3e09cc7cc1b9e0e0a898c9a8c1a52ff SHA512 7de8921b70e9b068f087c7bd3b31b6c246a044a0389d1ba727ab423a2406f756fd42209f4403a79d381a5fcbc90737f91bf936386136ddaea6fb6730ef08b993 DIST botocore-1.36.8.gh.tar.gz 14184344 BLAKE2B 6df84c80521d047d560b462a2d85b5111c20c07432f21080aebc46f4c836852825d199d442f61e497e4503f9527bde74850987b5c04102d13225f31521a206c7 SHA512 d206c1ff90b7a4dde2e23de7b4f2764991375b48c81344119d24f045cbfde6bcded3cd5c7853139b40584fafbb3a3936f79a2728efbfab79dc6b8783bfe07669 +DIST botocore-1.36.9.gh.tar.gz 14187911 BLAKE2B 2323aed97f901249dd381cc9f4bb7c4adfeb5876f25a3a5829e7b8ccb5aceb5fa4b1a5209cbbd232e6d5c7e6ae6c2e58870b0d0a023792efab751e64a62cc05f SHA512 a2bc29dbb2360ee949f33b5888c7ddec86d0f0180d656bac061087d4687876e4ef73abe17183703a3f0c856062bd6e4870c4102c4b94390233b170170b394181 diff --git a/dev-python/botocore/botocore-1.36.9.ebuild b/dev-python/botocore/botocore-1.36.9.ebuild new file mode 100644 index 000000000000..df85ee0d220c --- /dev/null +++ b/dev-python/botocore/botocore-1.36.9.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/braintree/Manifest b/dev-python/braintree/Manifest index af0ad2904638..f710251b4cc9 100644 --- a/dev-python/braintree/Manifest +++ b/dev-python/braintree/Manifest @@ -1 +1,2 @@ DIST braintree_python-4.31.0.gh.tar.gz 239483 BLAKE2B 959f039fa98a6acefb9b114bf8c7fef6d9b848f0a9c2e36dac86704df2e228604b316092022bfa2624c6d5688011e2ad85db6b2270736522497b67bfdbd8a2ff SHA512 5a29ab736f3c535c1e54f9210a148059833d1b56d073a0190407f103b65719cfdd02b3dd77ec61298127017dcc8bc4be0478aba2b386358169f5aaba264f19ea +DIST braintree_python-4.33.0.gh.tar.gz 247006 BLAKE2B 55f28e7bd99bf76d92875701a06779c0385a821a29a5ee7a137d00ea0ec8e9b7b2293eae12b2ec7d0470edbc450ea5ad610f8d1815ef4b55665fbf41b9904df4 SHA512 bb6fea92cde62beaa1556263c2eccc707692c7f9ed2c8ede2f12ef7382c07c17955f5dd1fd1f2bae90effa9e4e2f6bb7fdf4f51d849ab192fc49b3d08ce170a5 diff --git a/dev-python/braintree/braintree-4.33.0.ebuild b/dev-python/braintree/braintree-4.33.0.ebuild new file mode 100644 index 000000000000..56280ce81eda --- /dev/null +++ b/dev-python/braintree/braintree-4.33.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +MY_P=braintree_python-${PV} +DESCRIPTION="Braintree Python Library" +HOMEPAGE=" + https://developer.paypal.com/braintree/docs/reference/overview/ + https://github.com/braintree/braintree_python/ + https://pypi.org/project/braintree/ +" +# no tests in sdist, as of 4.19.0 +SRC_URI=" + https://github.com/braintree/braintree_python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/requests-0.11.0[${PYTHON_USEDEP}] +" + +DOCS=( README.md ) + +distutils_enable_tests unittest + +python_test() { + eunittest tests/unit +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index d25faae6c0bb..b9a0fca33fa9 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -2,3 +2,4 @@ DIST cfn_lint-1.22.3.tar.gz 2700564 BLAKE2B d1bfed3fda2d5133919396a54257ad484c3c DIST cfn_lint-1.22.5.tar.gz 2722622 BLAKE2B 147f1ec4543a2e54c6b6652b439ca4dd870aad44532a71bc75564bcb71e1aed0258b0387e3be57ef2c8059343cefaf2fef1af02b9442c37347987c018c9411ef SHA512 772430a958e53b90c529311a6f90602de7c2ced9d86840907a9c1e612f18db456c6678d2de43b3bee2e3498cc71b238e2ab8564238aef4467cc285c52ad3a6dd DIST cfn_lint-1.22.6.tar.gz 2734354 BLAKE2B cda53c8500de713af87c2ad9a1306869c8305cc26389a3e01403d6df0e1a0d4c4014811135712bfa2af54f6333a25c5687c8d5b9c163f4798b394e29a4644622 SHA512 7fddd9ddde5eca7b68e838535ce8a0a0b4d50807467cecb3c51e78736a0c49f85a81608481b7f89b972222b08530b4f29ae8023bf5cdbd70bc79ec27782e9b11 DIST cfn_lint-1.22.7.tar.gz 2735518 BLAKE2B 4357981083d1a32c6be9194552ddb6d2064d8da59b869d617f0047833386232e7fbfede778ad5949a1a10708a1ea166c6bcdfecbaac0e4684e209c812fbde564 SHA512 c079f0b3f7947545ad79d8700833fca1ddc74bc9a224604ced3ab09981e6c363f73a6b214981fbdc16264611213d9a8a41e960de077943a4c407c79af458c551 +DIST cfn_lint-1.23.0.tar.gz 2670666 BLAKE2B 20fe7436223400c390a94448c6bbcf7f6dccaad31f0e91ba362d0b149a8d3837458625e10e1bd4d3e78f9b00b888edd27ed91357f488556aac5497f2942a9dd9 SHA512 914c504934268a7ae13ffdfcb36a461aa9697df95f8409a76008a499b1bb201ca58bc0a0256dc327392f5aac9eb5039511faaf65461521c29a1be081151d589b diff --git a/dev-python/cfn-lint/cfn-lint-1.23.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.23.0.ebuild new file mode 100644 index 000000000000..3ae37d5581a5 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.23.0.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=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +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.94.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=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + # different graphviz version? + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 8e75bcf0db81..eee1e6b9509c 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -4,3 +4,4 @@ DIST fonttools-4.55.4.gh.tar.gz 3895558 BLAKE2B 9769f07c110f774bc597b6c4d63b502f DIST fonttools-4.55.5.gh.tar.gz 3897134 BLAKE2B 7e7cd6f172e34488a095ff55341a9f6a075ad5ccd4f375d052ab3a586244923464d21a93c75af985ae81cc85bb897f8a1731fe7eabcfdf0b1f2c6bb9eed9e36f SHA512 fb2d4fb67c7778ebcb166f39651e3fceb8986844dee2ce711554e7bf0d160c458110352e922c8faf85a5514f6fc56762f82d037b0df44c3cb8b17191b827a6d9 DIST fonttools-4.55.6.gh.tar.gz 3897113 BLAKE2B f2ea39291ed57add406df285be0e3590b8a9d404049f38ad79869a7ea2d3f0e97135e5e4d93835a91825b126cb81383fa1dce9fc75db98be33704c3d36ea4530 SHA512 b14d12b21988bfbcda8b2532c9fd0072344452ebbd9ced2197fef8b0c8037fad6acb8d969473443e2d9c02df0f68eed45326179d6d0385d4921c8b95a1f7a42a DIST fonttools-4.55.7.gh.tar.gz 3897996 BLAKE2B a34b1144133b69cbc057f3aea8f4a99290a8b5c33490008d29ee3546da975e690b959042f44117bd4496f5e523bb24b0671a415a59e741207efd19c25fd46ef9 SHA512 2c60bed9173b656e7b9f2cf3c0604b334b3e07b4d5e1f7d2bc2ec8a8e764095877e225b8801649df3551a1db3c7c9f4f65df1b5bbfdb4bf1221af122e04fe195 +DIST fonttools-4.55.8.gh.tar.gz 3897975 BLAKE2B fd97aa3e4a02fd2cf5eaf85f0a741f7fb4dc253a41de21088b1a918132377f1c23d8a4b373c7ad04d8f22f023d1e34abcbe585f62d8b5cad9b42cebf711c478b SHA512 15a608362b0fec9811bd7079568ed0f3f398cfaee6917988ff1391659a0544114debf190e02df5326ffa305adc4f1ff297ccbb81918850934d1617ac23dbebf4 diff --git a/dev-python/fonttools/fonttools-4.55.8.ebuild b/dev-python/fonttools/fonttools-4.55.8.ebuild new file mode 100644 index 000000000000..3653213263ff --- /dev/null +++ b/dev-python/fonttools/fonttools-4.55.8.ebuild @@ -0,0 +1,99 @@ +# 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_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE=" + https://github.com/fonttools/fonttools/ + https://pypi.org/project/fonttools/ +" +SRC_URI=" + https://github.com/fonttools/fonttools/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + ) + test? ( + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/munkres[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # When dev-python/pytest-shutil is installed, we get weird import errors. + # This is due to incomplete nesting in the Tests/ tree: + # + # Tests/feaLib/__init__.py + # Tests/ufoLib/__init__.py + # Tests/svgLib/path/__init__.py + # Tests/otlLib/__init__.py + # Tests/varLib/__init__.py + # + # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. + touch Tests/svgLib/__init__.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions) + [[ ${EPYTHON} == pypy3 ]] && FONTTOOLS_WITH_CYTHON=0 + distutils-r1_python_compile +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # flaky test + Tests/ttLib/woff2_test.py::WOFF2ReaderTest::test_get_normal_tables + ) + + if [[ ${EPYTHON} == pypy3 ]] && + has_version "dev-python/pyxattr[${PYTHON_USEDEP}]" && + { + has_version "<dev-python/pypy3_10-exe-7.3.13_p2" || + has_version "<dev-python/pypy3_10-exe-bin-7.3.13_p2" + } + then + EPYTEST_DESELECT+=( + # affected by a bug in PyPy/pyxattr + # https://github.com/iustin/pyxattr/issues/41 + Tests/t1Lib/t1Lib_test.py::ReadWriteTest::test_read_with_path + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest \ + -p rerunfailures --reruns=5 \ + Tests fontTools || die -n "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/gherkin-official/Manifest b/dev-python/gherkin-official/Manifest index 1df49f8ea542..b5611d4e9385 100644 --- a/dev-python/gherkin-official/Manifest +++ b/dev-python/gherkin-official/Manifest @@ -1 +1,2 @@ DIST gherkin-30.0.4.gh.tar.gz 3858403 BLAKE2B bdf5cf80f1e06c9e8464d3fbc5a56a594b75f3d8ae6ff13dafcd583aa6571e1a6ba4aa4dd344f7c532174b09829bdaf9aae1e1e02339521e2836dbf9b3014108 SHA512 52cd5bab779e46d5d2c451558b545fb8ac408d1d5d11558e1dace94d77472ca271589eb183c412093fcbdef2574a495fdd11c98ce97d8146077a54b3369a9a6e +DIST gherkin-31.0.0.gh.tar.gz 3850999 BLAKE2B e38bdd97af5d3a011e2c31e2cc67f25c72a4e729c9af8be4355a4a9155d83b403781f182f05e8db9b10cb929bbd208067ef39433982514bee29afa2aa4d621b4 SHA512 7b512a5ef2d4e840939f6109ff850913052dbb7263d8013a79f3485cc4037a3a2967706e9d8fbb9e7e436863819c89214953f493fa4666a496465fdb20d7c524 diff --git a/dev-python/gherkin-official/gherkin-official-31.0.0.ebuild b/dev-python/gherkin-official/gherkin-official-31.0.0.ebuild new file mode 100644 index 000000000000..5eb5ba433d9f --- /dev/null +++ b/dev-python/gherkin-official/gherkin-official-31.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# note: only bump when there is a release on pypi, GH tags (which include +# tests) are for the whole package and may have no changes to python/ + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +inherit distutils-r1 + +DESCRIPTION="Gherkin parser/compiler for Python" +HOMEPAGE="https://github.com/cucumber/gherkin/" +SRC_URI=" + https://github.com/cucumber/gherkin/archive/refs/tags/v${PV}.tar.gz + -> gherkin-${PV}.gh.tar.gz +" +S=${WORKDIR}/gherkin-${PV}/python + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/typing-extensions[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index 20f36ed139c3..829bb2211596 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -1 +1,2 @@ DIST jupyterlab-4.3.4.tar.gz 21797583 BLAKE2B 6b3cf186992edd58dd02e77e58c5e729391468438ab04a18a59b286adb9d8db677c14878eb09cc2d8857dd80915dd7191ae8bd24abaa1f7d96e8c76785ae0a57 SHA512 e9d46ec06f5bca037d45a9c6ef811a1927db3e1fb32996592676f8578563d4a24aaad82facf4f75014740711247d66a8362d2e344537d4952c2af3a9e5bdf9e3 +DIST jupyterlab-4.3.5.tar.gz 21800023 BLAKE2B 3afd452569ba2eceb4de9d3b23ed0b4db634c7084b6fba321af1515cf21e70ec67ff2e43c655f0ff4e667eb41a35569e3313f23134782eab918c472008f26304 SHA512 03f38c3c2b68edee8558b7e4a936d44c76154920adc05fe86257c92d8b1e7c8657e2a9c1fc26507ce7f791d289006febefdbfe61d25afa3336a7dd06f597aebe diff --git a/dev-python/jupyterlab/jupyterlab-4.3.5.ebuild b/dev-python/jupyterlab/jupyterlab-4.3.5.ebuild new file mode 100644 index 000000000000..945203648400 --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-4.3.5.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi xdg + +DESCRIPTION="JupyterLab computational environment" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab/ + https://pypi.org/project/jupyterlab/ +" + +LICENSE="BSD MIT GPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/async-lru-1.0.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28.0[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.5.0[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.0.3[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-server-2.27.1[${PYTHON_USEDEP}] + <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] + >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/setuptools-40.8.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.10) + >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + net-libs/nodejs[npm] +" + +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + >=dev-python/pytest-jupyter-0.5.3[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # These tests call npm and want internet + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build +) + +EPYTEST_IGNORE=( + jupyterlab/tests/test_announcements.py +) + +distutils_enable_tests pytest +# TODO: package sphinx_copybutton +#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..37a64204a00a 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index eb2586280d80..56733bbffc48 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index c0f74ac187e2..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>pastalian46@gmail.com</email> - <name>Takuya Wakazono</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest index dec165612924..11be7898c592 100644 --- a/dev-python/mpmath/Manifest +++ b/dev-python/mpmath/Manifest @@ -1,2 +1,3 @@ DIST mpmath-1.4.0a2.tar.gz 2079112 BLAKE2B 9d2d99dddd4e800b3860f38ef1955b7d803c928d54a7e5d7b07386a127c5a6477818e3ac5c9f679f596c7a2c21bbf430f0bb2348c70ab77d6a888cfb19c6a218 SHA512 523775f3e7d96fd9e0d2c5e4caf855f62d0b683ac00df9dce4fd50d8764bfcf77282fdb34afb51bc53bb303178e7f0e8b6d72700e530d3ca11e3d365b09fc4de DIST mpmath-1.4.0a3.tar.gz 2079258 BLAKE2B f57e4603758f8aae879e9e61d42f11303eb3f81c02ee51ea54260ce26fa49013f41c7f6f7d97eea6489c42d490ae4f423c3d7f79052972d6b089fb8a03d47aa0 SHA512 8fd32e98beaf2382a2ec8a92df2a097f2101e746bd3e821b92183b6be560b0fed30daeb0b93d459fad62bea29c425ed142055819a346629d385a1426fb00e611 +DIST mpmath-1.4.0a4.tar.gz 2079349 BLAKE2B 197578fe989776a2def8bc7de009a9a7a2720ebf488e03e4d0a97ec7fbebbf75b009686bf936b884af5d98dd82abf8f65df0e3b8a9b29a92b3d92925103ead67 SHA512 ea04bed2d95de4ff45420d5e8785410589c118831f7d66f0cc0eb5e9a1a8b42e7acc39d7d36b39c28b6c92640617432c17f7162a5bc66410b2581e98c75e951f diff --git a/dev-python/mpmath/mpmath-1.4.0_alpha4.ebuild b/dev-python/mpmath/mpmath-1.4.0_alpha4.ebuild new file mode 100644 index 000000000000..71afff46b64f --- /dev/null +++ b/dev-python/mpmath/mpmath-1.4.0_alpha4.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=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic" +HOMEPAGE=" + https://mpmath.org/ + https://github.com/mpmath/mpmath/ + https://pypi.org/project/mpmath/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/gmpy2[${PYTHON_USEDEP}] + ' 'python3*') + !mips? ( + dev-python/ipython[${PYTHON_USEDEP}] + !hppa? ( + dev-python/matplotlib[${PYTHON_USEDEP}] + ) + ) + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # minor whitespace mismatch, apparently fixed in pypy 7.3.18 + mpmath/tests/test_format.py::test_mpf_floats_bulk + mpmath/tests/test_format.py::test_mpc_complexes + ) + ;; + esac + + # CLI crashes otherwise, sigh (not a regression) + # https://github.com/mpmath/mpmath/issues/907 + > "${HOME}/.python_history" || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p rerunfailures --reruns=5 -p timeout +} + +pkg_postinst() { + optfeature "gmp support" dev-python/gmpy2 + optfeature "matplotlib support" dev-python/matplotlib +} diff --git a/dev-python/sigstore-protobuf-specs/Manifest b/dev-python/sigstore-protobuf-specs/Manifest index 6ada89cd92ca..9b095cbd9d2a 100644 --- a/dev-python/sigstore-protobuf-specs/Manifest +++ b/dev-python/sigstore-protobuf-specs/Manifest @@ -2,3 +2,4 @@ DIST sigstore_protobuf_specs-0.3.2.tar.gz 17529 BLAKE2B e12bcd471f20c993b0fd5cab DIST sigstore_protobuf_specs-0.3.3.tar.gz 17475 BLAKE2B d973b24d55dc2e5eda4dbb20175f3d9d481c619748dc720934843c42744e5640fdb39c6902cd736df23f97cdf0c267615d4c0d31ec491a7296c19ee9a7ee9081 SHA512 4bf412d29212efc87782d8585b58cadc801b0246fb6b8bc02e163c04f968694fd07d3bdbe8ce60ec4546bdb6c0b43a6ed42b1f56423eb624cc1f2b5b59b3b304 DIST sigstore_protobuf_specs-0.3.4.tar.gz 17596 BLAKE2B 470012394af8eec796e2683b3dd9b4c71e9a3f41fcb495fe7982eac14b937a68993d00fc3b80fbc6fc021a9f84766e696110b183ff6590449a04e220e2d0c1fd SHA512 cfaedea569e592d85d7e0ca7d78af483326db0aea7a8f1cf052f0ab733a43009e318bb1100b49412a92f6b3dc83768f03f514f5426dc3f816eee5ef499ceede4 DIST sigstore_protobuf_specs-0.3.5.tar.gz 18179 BLAKE2B a022b5c937902bb0f6fcfefebf2347d101a5d803dbbebd03a1c7e595df4edff73c8f0c09af0b686e5c090193f696802d8a41fea9b20160fe1d5e55e43322f2d4 SHA512 f413ca3344093e863078698de49ebf141f0152638ea9e47300835444c7c15a9ecc9fcd477cece3aab6bdbdc0052c7c1e607917b32ece56bf3b5cd11cecfd5fe2 +DIST sigstore_protobuf_specs-0.4.0.tar.gz 18530 BLAKE2B 001f13d25217485652bc0836e02136aea8342cbecc67d65692b6714c97afea478b4af564fa4bbb5c7b0b1fa46b393bc88234772671ced3c72a0ff3e250bedd91 SHA512 817c7e506fc54bbb1ab84d510df2eeb7e8e04535b559ea3303d2086c4e92500ff9254cd6e9734ed7e0d4baaa2b0fbc81398e00684e520bb0917337bfdd95ec5a diff --git a/dev-python/sigstore-protobuf-specs/sigstore-protobuf-specs-0.4.0.ebuild b/dev-python/sigstore-protobuf-specs/sigstore-protobuf-specs-0.4.0.ebuild new file mode 100644 index 000000000000..91d183b0922a --- /dev/null +++ b/dev-python/sigstore-protobuf-specs/sigstore-protobuf-specs-0.4.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A library for serializing and deserializing Sigstore messages" +HOMEPAGE=" + https://github.com/sigstore/protobuf-specs/tree/main/gen/pb-python/ + https://pypi.org/project/sigstore-protobuf-specs/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + ~dev-python/betterproto-2.0.0_beta7[${PYTHON_USEDEP}] + =dev-python/pydantic-2*[${PYTHON_USEDEP}] +" |
