diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-12 07:06:45 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-12 07:06:45 +0000 |
| commit | 718fa8d7f2ea98148b0f93b4bafa6acde23f8423 (patch) | |
| tree | 604035374cac66f10f433c8794f0ccd53074ceaf /dev-python | |
| parent | b336f02059a670a6583b67ab71422a4d7dc1984e (diff) | |
| download | baldeagleos-repo-718fa8d7f2ea98148b0f93b4bafa6acde23f8423.tar.gz baldeagleos-repo-718fa8d7f2ea98148b0f93b4bafa6acde23f8423.tar.xz baldeagleos-repo-718fa8d7f2ea98148b0f93b4bafa6acde23f8423.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
18 files changed, 499 insertions, 48 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index db070939b71c..956657c23dbb 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,3 +5,4 @@ DIST boto3-1.40.59.gh.tar.gz 1017517 BLAKE2B 31511c062e6991ba14b7bc7227f4b4a214d DIST boto3-1.40.64.gh.tar.gz 1023920 BLAKE2B ca8af519caa4d3d4a20c808b3b9d263ad4d684327c29513d9fd37fc820f2d38c6a6450d6450d9a5355bdf4182e875a01939d69546821b00594b51b985fec31b5 SHA512 58010e4fbca89978aee5703e6e39ffe6116b31c1afb409335937de07e447e9027eea9523ac04e059c12cbf46b84ce88583b49356457978dc8d8491688fc2034d DIST boto3-1.40.69.gh.tar.gz 1027290 BLAKE2B 5e68da89d063ee063dc79d3fee9958ea6a8d408184f28931f9b21aaaa52c2f1a2ac5ddf293ff7d5dccccd0097ec94e0688fa0cd206f11f19bf0c774ece3c164b SHA512 509b32070e09ebb965d392ced9c064ef97b44f8c530cca807177261eecc3cf522df8d4c0822f7aa3521d7cff81935891e33fcc0570462ba73740ae85f6514d0c DIST boto3-1.40.70.gh.tar.gz 1028782 BLAKE2B 70f8b57c9a515a011d599e7f193d96acd311178f858640f5361cb1ff6d59dc6bd3d6992cf0247e3764ccf4ec55737f0f578f92884b5c4970270c917d6ab816c0 SHA512 c69edcdbb8c748d42c93aaf5e43567e060ad2d323865668345ac0d3dfbbe75eb487d64582b1f5decc898a2a7454f667905224641fa583f99f91474b1ed229e20 +DIST boto3-1.40.71.gh.tar.gz 1029360 BLAKE2B 6b8b244c797eedc1d42411dc0ab552da47f7a78528d17cfed4e7b218119126a0d189c785d077c0a42d59561a994f3af77393be940d6ab89b5363dbf1a7678d27 SHA512 f6a5086b1fbd4c15f39c7e5d10e51dc767615f8238a874115c74151d18701fa2141b32d9c53d368bc99ddd9ff6f9bbae493b98a245a832d615e8558a60f3a8b8 diff --git a/dev-python/boto3/boto3-1.40.71.ebuild b/dev-python/boto3/boto3-1.40.71.ebuild new file mode 100644 index 000000000000..cb388ebe6570 --- /dev/null +++ b/dev-python/boto3/boto3-1.40.71.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +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.14.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +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() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 80b39dfe9f5b..6a63e2c5a224 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -5,3 +5,4 @@ DIST botocore-1.40.59.gh.tar.gz 15284317 BLAKE2B f0e5b5ac06292c003ac6dcf0d8b4098 DIST botocore-1.40.64.gh.tar.gz 15230274 BLAKE2B 6156b2d80f6aee5df0d746bf3a2fe1bda6cee3435612d3db12a8134b9fdfa7a6c250752dadb562d1c804052ea6c775f802067d611ba1fb597e9d90439e219b64 SHA512 a8c7793146d25ae5cabe12fa5a65e8195f35029dd2f0dd9a6d012b8abfe41e1871808e1dd3d550ac153ce323c15c398b35a535780c5e143bbe5645b5eeb8c620 DIST botocore-1.40.69.gh.tar.gz 15265787 BLAKE2B c567c9d2cd25d98e7055b829ca337654f3c2f239296e32735d8064dc698a4fee41464a0ca22453f93feea7a9d6eb58183406780c56bab345521420c7177681a9 SHA512 2c76026a2b5114fbc4d8be54cf67ade64f3a563f8b50e83bdfc1f238f220a94acb1ca1aa607ce4934a8e2b58ebfa2c4b07892b693ad80d539188352a3ffa1f75 DIST botocore-1.40.70.gh.tar.gz 15269974 BLAKE2B 8027b9c8439796ae28768ca127c7ea239afe70dda0f048715b933fb35552f00fbcd5c87599cf673cd9ebb260a9254bb18fe59cb4787e3e0b4198660140580c35 SHA512 e36fa0f865f119723a5fc2a3884035af5a2be7a499e4cc442fc060bab6bd8fc4382fef7144fbbc1fe2d5a9b6bad29fe1baf65c89e98f21eb58f5154809748db6 +DIST botocore-1.40.71.gh.tar.gz 15272822 BLAKE2B 0637e4bea27fdf3236f174b2873c477bdd173da65c3d24b09d70ed98359b213494bb940ef26cede57009443a00987199dc05dd99109416c3cbeee402bf62ded6 SHA512 7d717f5655004de89f3c3e9415ff64d68315f33598f8b89441c8e3e0e4a59512b2a23e16ce0c5200268aee5b7c67e43688a483cad852d5cb0b497e8abee36bd7 diff --git a/dev-python/botocore/botocore-1.40.71.ebuild b/dev-python/botocore/botocore-1.40.71.ebuild new file mode 100644 index 000000000000..ee8074e67dce --- /dev/null +++ b/dev-python/botocore/botocore-1.40.71.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..14} ) + +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_PLUGINS=() +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 + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest index 8892a55df4f1..7137b6a07b81 100644 --- a/dev-python/dns-lexicon/Manifest +++ b/dev-python/dns-lexicon/Manifest @@ -1 +1,2 @@ DIST dns-lexicon-3.21.1.gh.tar.gz 5781489 BLAKE2B 985b966d124f2f0b8adf1e88ca59e7cdc8de19167b9288332a0bae3d7f2bf8d2df9bcbaef3c4a509418cf932a390af8a3403fb4064fcb4ce47740cec2884efcf SHA512 0f53001edf2425afe7b7c4315e974ee47c956b659964998b942943788711c57634eea2d7974e21005be7f0edf16800e6577c49c8789e34f2133c4f5be8ac7ac1 +DIST dns-lexicon-3.23.0.gh.tar.gz 5819716 BLAKE2B f716fc8e3f92e2e77acea5e360f035672a6f25622981a6fe3ec697c4f5a67662be6c63637c482f01c54e47f3c2ee8aee6d0369611bf332c44ffc900c7e09a68d SHA512 0ebf71077b8270ac2a4c2f3fd9aa7a814c79ba52cadc8acc82b77d1d43b53e6aa568c4dd367c665cdc56366d0963e8bae7d0e975b1c72c403abbafd199cf6ccc diff --git a/dev-python/dns-lexicon/dns-lexicon-3.23.0.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.23.0.ebuild new file mode 100644 index 000000000000..4b743d8fe017 --- /dev/null +++ b/dev-python/dns-lexicon/dns-lexicon-3.23.0.ebuild @@ -0,0 +1,74 @@ +# 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..14} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way" +HOMEPAGE=" + https://github.com/dns-lexicon/dns-lexicon/ + https://pypi.org/project/dns-lexicon/ +" +SRC_URI=" + https://github.com/dns-lexicon/dns-lexicon/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/beautifulsoup4-4[${PYTHON_USEDEP}] + >=dev-python/cryptography-2[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + >=dev-python/pyotp-2[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3[${PYTHON_USEDEP}] + >=dev-python/requests-2[${PYTHON_USEDEP}] + >=dev-python/tldextract-2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/boto3-1.28[${PYTHON_USEDEP}] + >=dev-python/zeep-3[${PYTHON_USEDEP}] + dev-python/vcrpy[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # TODO + tests/test_client.py::test_client_init_when_missing_action_should_fail +) + +EPYTEST_IGNORE=( + # Requires the "localzone" module + tests/providers/test_localzone.py + # Requires the "softlayer" module + tests/providers/test_softlayer.py + # Requires the "transip" module + tests/providers/test_transip.py + # Requires the "oci" module + tests/providers/test_oci.py + # Uses tldextract which needs Internet access to download its database + tests/providers/test_auto.py + # Same (https://github.com/dns-lexicon/dns-lexicon/issues/61) + tests/providers/test_godaddy.py +) + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + optfeature_header \ + "Install the following packages to enable support for additional DNS providers:" + optfeature Gransy dev-python/zeep + optfeature Route53 dev-python/boto3 + optfeature DDNS dev-python/dnspython + fi +} diff --git a/dev-python/faker/Manifest b/dev-python/faker/Manifest index 62911978cd25..ec290154ae7a 100644 --- a/dev-python/faker/Manifest +++ b/dev-python/faker/Manifest @@ -1,3 +1,3 @@ DIST faker-37.11.0.tar.gz 1935301 BLAKE2B e2f3fd32fcddab3ac35f56e3efeeb11cd069b2aa35ae56e04bec8e539acad404520db893f43b09707abc1476485c11f9d1a3a67459416c80b3beba61eb856f97 SHA512 c4a39e1b065e08a5f1fccea751a45224d075262f340a7db4cae4265a3d12e67afccaaa2387b46b6c8b10541d0e641e5987cecc264fdb8daa047d35ea5eeb6fd4 DIST faker-37.12.0.tar.gz 1935741 BLAKE2B 4b83a92a66f804be9ac2e4c4261c602a54bf7eb15cc9eae59ea2a1acc018a02b06d38f21d11c57b93c3aa04657948c8a20f47ca03e5facd98a4e32bc4776c1e8 SHA512 9b6cce15f96703ec5200c1c4ceb684fd0ec603cc4929f459ac38ae6b6ddc504b894f1e4ba0993d7aa3805e2b37f6acc298a346deaf511b4dd930e078731d0432 -DIST faker-37.8.0.tar.gz 1912113 BLAKE2B cc434984c5ab19614cc09b917dca63318e5901888a261ec0e682ddaf8874590f9d2fb9823117b65084af982bcb305ad7f283e01fdc4078d15b8a964c8e51f7db SHA512 e7ba4c5e69f4958ebf0791a492f3a9c1c953f5ceb6915c17348c9d612c2f88d657c3aac3417b6c88fec6dc64db7e58b9ddd0fb5e463998e097bd9c62218e3445 +DIST faker-38.0.0.tar.gz 1935705 BLAKE2B 50c1993128612f264c3447d452ae41fca45c2227d813948011567310c0c9651a11ac3c951f0de88cccd1c3153e21562fe7aeb0249a13a014be380da248c68cfb SHA512 1d34268ce62796581860b22bd33d77c2e9b8f3fb45bdf91b7ea7b6800e0e1c4730fb59403efc519ed93138ae1ae51971a5da513ba7f81b98c720f9857f9bcc40 diff --git a/dev-python/faker/faker-37.8.0.ebuild b/dev-python/faker/faker-38.0.0.ebuild index f0658a4b84b5..40c6b84d6c57 100644 --- a/dev-python/faker/faker-37.8.0.ebuild +++ b/dev-python/faker/faker-38.0.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" dev-python/tzdata[${PYTHON_USEDEP}] diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest index 774fd592ce84..f95d65ed4535 100644 --- a/dev-python/pycairo/Manifest +++ b/dev-python/pycairo/Manifest @@ -1 +1,2 @@ DIST pycairo-1.28.0.tar.gz 662477 BLAKE2B 26ab0ab926bc209c33eeff2f7578d31ffce138111e923f6bc8e31a5e318f7ead9d0350ee5717e3774c65eb8ac9f3324ff0446c316469796dc866c3530ef2d0dc SHA512 d3fcb6641ad6dcf9b804dbc2a372f653619512e139fb7a196bb1219b00f60e79e5d60fbbddc2e6a0afb959f9fcb37f1f3c460ad6331274581cb241434865b5a5 +DIST pycairo-1.29.0.tar.gz 665871 BLAKE2B 25c2630923fd209bcdf21a3e0dce6ef5218c52eb5373bc6072174acfbb26c3dd908bc22308a3bf6b749216c10534ef79f2a7ad305c4f8eee694455e27b43e78f SHA512 c685fbdce764ca89e719ebcc8f966227a6c144c8e128945bf9c3411212a01759c016fd3267714328a5a242b37e3a5dd9aab4fc120193afdedb74596522a3cd2f diff --git a/dev-python/pycairo/pycairo-1.29.0.ebuild b/dev-python/pycairo/pycairo-1.29.0.ebuild new file mode 100644 index 000000000000..c3aa5ffee964 --- /dev/null +++ b/dev-python/pycairo/pycairo-1.29.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +# TODO: readd 3.13t & 3.14t (requires same in meson-python) +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python bindings for the cairo library" +HOMEPAGE=" + https://www.cairographics.org/pycairo/ + https://github.com/pygobject/pycairo/ + https://pypi.org/project/pycairo/ +" +SRC_URI=" + https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz +" + +LICENSE="|| ( LGPL-2.1 MPL-1.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="X examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=x11-libs/cairo-1.15.10[svg(+),X?] +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" +BDEPEND=" + virtual/pkgconfig +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme +EPYTEST_PLUGINS=( hypothesis ) +distutils_enable_tests pytest + +src_configure() { + DISTUTILS_ARGS=( + -Dtests="$(usex test true false)" + -Dno-x11="$(usex X false true)" + ) +} + +python_test() { + rm -rf cairo || die + epytest +} + +python_install_all() { + if use examples; then + dodoc -r examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index 44f1a4188b1a..d1d9935bfe24 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1,2 +1,3 @@ DIST pymdown_extensions-10.16.1.tar.gz 853277 BLAKE2B 3cfe1511ead6abec9e5098fc7a1e9ccedadedda3d6cad67f5a4f835f12e009e5dc33fe19460bd79ed0beffc460c4c5139102f6fdbd1fc58db76c861122b16e0e SHA512 7fdb30f7e3df2f049fc4d88d0d588696a5fa588a1b67d2e4060797d555a2732efbaa661513e8323ff386604b5632a0d72cce29f1a61c9b418b8f460c3aa1b9ae -DIST pymdown_extensions-10.16.tar.gz 853197 BLAKE2B 10379f3c41d72c8bb39bdc3d972e4dd1348d3fa2beacee9bf3a25dcd996139676b41b2cc65ffd6b6374d6921f9c841d27c1d5152fa7a1367359346a641b0bdf1 SHA512 042033b39190c156d6da7b30f07e6539c49c26e776ec75d79700b26f7204382bffff7d362b45a1d7110cf3c1a027031e9763dcd0de8978328aee2d0461014916 +DIST pymdown_extensions-10.17.1.tar.gz 845207 BLAKE2B 038de03010e2721dde39bfb24e1f1292dde82ba38c39ec1c140b4cf39cb86d1c336960f94cb5254621b6050065d8c6f85120c0abba4110f3fdfef023d9f212fe SHA512 ee29996aed7f6df4233c5b9d8355792e8a0a91de55ed3a328a1724db80c0a44c5f40754359499341a7c308462ee35dc4cd9327d1e12b9375f814e9ded1f48dc6 +DIST pymdown_extensions-10.17.1.tar.gz.provenance 9505 BLAKE2B b2b20a7def36ad058acb43e6026f4dc3e8c476004cfb584ae6de1e353eb3fcb5f016d9c59c0ec126a3e6889a35a8c9f53d26a9fa2de543431500468a02068544 SHA512 b3a6305de6831d61eec4d7f065fff0feb0c0dad23c84e4326ec89e2a0f3f3acccd56080a5692ba8612731b6bc1fe0bef9208873185669cffe919dda55015afb4 diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.16.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.17.1.ebuild index 86e2ff1c16fd..33a5573a9936 100644 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.16.ebuild +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.17.1.ebuild @@ -4,6 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/facelessuser/pymdown-extensions PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 pypi @@ -16,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" RDEPEND=" >=dev-python/markdown-3.6[${PYTHON_USEDEP}] @@ -29,9 +30,5 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=() distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/pymongo/Manifest b/dev-python/pymongo/Manifest index 6db9818fd655..f17539612368 100644 --- a/dev-python/pymongo/Manifest +++ b/dev-python/pymongo/Manifest @@ -5,3 +5,4 @@ DIST mongo-python-driver-4.15.0.gh.tar.gz 2535131 BLAKE2B 6d8915d0fc2f2aff41a085 DIST mongo-python-driver-4.15.1.gh.tar.gz 2536890 BLAKE2B 6edab82aae4a01e13e7ac81149176c083bac83c274a382d3cd2f2e7e26775ab60d83866b3b183329467275294d1244cc0c784b29aa5b94e0c5ed4850a0dcdd98 SHA512 807ad85313f8ff56e60cb95d6fe35c9f897a57ba413740321a015736d6a61d48f7ec704705843e444628d5844525e64b217a898b502e7d36545421c47542de78 DIST mongo-python-driver-4.15.2.gh.tar.gz 2536862 BLAKE2B 91ba6ce4b15711e8d503b0ec3d6a9267bb812ba539bfc340774d8cfb6446bbc7e3cc0db47ba697bcc264da753625143a55b76607be871606fa739295e148da04 SHA512 e69815b11eb16f39e66494469e2b0c598ab4d0726a746ff0c488547c4c4c41c6feaccc973f936682b868a0eccbc0e76855e92ca2f95e5823c11432619bd2e9aa DIST mongo-python-driver-4.15.3.gh.tar.gz 2536990 BLAKE2B 4df18671a3e366fad3fc8ee2dcdbb23c8496fbf4e8bee8d1f81cffb05884f4bb0a38491cc2dc141a4bd4e7a51e182c3fb215cafbf57a3543e59a7c3b1f33a572 SHA512 5d0c58797268535e097eee30e89dabfbdf0c5dc82ef9ab527d62eeea66c64fed514c19c81607147fb773d498516d4198c64f5ba403b083aef6d94af5bc800b3a +DIST mongo-python-driver-4.15.4.gh.tar.gz 2537291 BLAKE2B 3c269b75156714f8f36cc46ad1c58b11b027ac7fa9ac352240362224e8eeec54cddeeead4446e1e869b4de55a8c5f250b3000f8a64328020f9c4109aaff5f333 SHA512 ee91f55b8d8203aac5be6cf573143778a0250384fb2dd751ccceb8fdaf32923ce55165ee4ab5b9d0aecefd4230a59dbbc0c7c4a890672445115aaf15a5a2c926 diff --git a/dev-python/pymongo/pymongo-4.15.4.ebuild b/dev-python/pymongo/pymongo-4.15.4.ebuild new file mode 100644 index 000000000000..efef80cbe26a --- /dev/null +++ b/dev-python/pymongo/pymongo-4.15.4.ebuild @@ -0,0 +1,201 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit check-reqs distutils-r1 + +MY_P=mongo-python-driver-${PV} +DESCRIPTION="Python driver for MongoDB" +HOMEPAGE=" + https://github.com/mongodb/mongo-python-driver/ + https://pypi.org/project/pymongo/ +" +SRC_URI=" + https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="doc kerberos +native-extensions +test-full" + +RDEPEND=" + <dev-python/dnspython-3.0.0[${PYTHON_USEDEP}] + kerberos? ( dev-python/kerberos[${PYTHON_USEDEP}] ) +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + test-full? ( + >=dev-db/mongodb-2.6.0 + ) + ) +" + +distutils_enable_sphinx doc + +EPYTEST_PLUGINS=( pytest-asyncio ) +EPYTEST_RERUNS=5 +distutils_enable_tests pytest + +reqcheck() { + if use test && use test-full; then + # During the tests, database size reaches 1.5G. + local CHECKREQS_DISK_BUILD=1536M + + check-reqs_${1} + fi +} + +pkg_pretend() { + reqcheck pkg_pretend +} + +pkg_setup() { + reqcheck pkg_setup +} + +src_prepare() { + distutils-r1_src_prepare + # we do not want hatch-requirements-txt and its ton of NIH deps + sed -i -e '/requirements/d' pyproject.toml || die +} + +python_compile() { + # causes build errors to be fatal + local -x TOX_ENV_NAME=whatever + local DISTUTILS_ARGS=() + # unconditionally implicitly disabled on pypy3 + if ! use native-extensions; then + export NO_EXT=1 + else + export PYMONGO_C_EXT_MUST_BUILD=1 + unset NO_EXT + fi + + distutils-r1_python_compile + + # upstream forces setup.py build_ext -i in their setuptools hack + find -name '*.so' -delete || die +} + +python_test() { + rm -rf bson pymongo || die + + local EPYTEST_DESELECT=( + # network-sandbox + test/asynchronous/test_async_loop_unblocked.py::TestClientLoopUnblocked::test_client_does_not_block_loop + test/asynchronous/test_client.py::AsyncClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver + test/asynchronous/test_client.py::AsyncClientUnitTest::test_detected_environment_logging + test/asynchronous/test_client.py::AsyncClientUnitTest::test_detected_environment_warning + test/asynchronous/test_client.py::TestClient::test_service_name_from_kwargs + test/asynchronous/test_client.py::TestClient::test_srv_max_hosts_kwarg + test/test_client.py::ClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver + test/test_client.py::ClientUnitTest::test_detected_environment_logging + test/test_client.py::ClientUnitTest::test_detected_environment_warning + test/test_client.py::TestClient::test_service_name_from_kwargs + test/test_client.py::TestClient::test_srv_max_hosts_kwarg + test/test_dns.py::TestCaseInsensitive::test_connect_case_insensitive + test/asynchronous/test_dns.py::IsolatedAsyncioTestCaseInsensitive::test_connect_case_insensitive + test/test_srv_polling.py + test/asynchronous/test_srv_polling.py + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_custom_srvServiceName + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_invalid_type_for_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_negative_integer_for_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_positive_srvMaxHosts_and_loadBalanced=fa + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_loadBalanced=true + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_replicaSet + + # broken regularly by changes in mypy + test/test_typing.py::TestMypyFails::test_mypy_failures + + # fragile to timing? fails because we're getting too many logs + test/test_connection_logging.py::TestConnectionLoggingConnectionPoolOptions::test_maxConnecting_should_be_included_in_connection_pool_created_message_when_specified + + # hangs? + test/asynchronous/test_grid_file.py::AsyncTestGridFile::test_small_chunks + + # broken async tests? + test/asynchronous/test_encryption.py + + # -Werror + test/test_read_preferences.py::TestMongosAndReadPreference::test_read_preference_hedge_deprecated + test/asynchronous/test_read_preferences.py::TestMongosAndReadPreference::test_read_preference_hedge_deprecated + + # fragile to timing? Internet? + test/test_client.py::TestClient::test_repr_srv_host + test/asynchronous/test_client.py::TestClient::test_repr_srv_host + test/asynchronous/test_ssl.py::TestSSL::test_pyopenssl_ignored_in_async + ) + + if ! use test-full; then + # .invalid is guaranteed to return NXDOMAIN per RFC 6761 + local -x DB_IP=mongodb.invalid + epytest -p asyncio + return + fi + + # Yes, we need TCP/IP for that... + local -x DB_IP=127.0.0.1 + local -x DB_PORT=27000 + + local dbpath=${TMPDIR}/mongo.db + local logpath=${TMPDIR}/mongod.log + + local failed= + mkdir -p "${dbpath}" || die + while true; do + ebegin "Trying to start mongod on port ${DB_PORT}" + + # mongodb is extremely inefficient + # https://www.mongodb.com/docs/manual/reference/ulimit/#review-and-set-resource-limits + ulimit -n 64000 || die + + local mongod_options=( + --dbpath "${dbpath}" + --bind_ip "${DB_IP}" + --port "${DB_PORT}" + --unixSocketPrefix "${TMPDIR}" + --logpath "${logpath}" + --fork + + # try to reduce resource use + --wiredTigerCacheSizeGB 0.25 + ) + + LC_ALL=C mongod "${mongod_options[@]}" && sleep 2 + + # Now we need to check if the server actually started... + if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then + # yay! + eend 0 + break + elif grep -q 'Address already in use' "${logpath}"; then + # ay, someone took our port! + eend 1 + : $(( DB_PORT += 1 )) + continue + else + eend 1 + eerror "Unable to start mongod for tests. See the server log:" + eerror " ${logpath}" + die "Unable to start mongod for tests." + fi + done + + nonfatal epytest -m "default or default_async or encryption" || failed=1 + + mongod --dbpath "${dbpath}" --shutdown || die + + [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" + + rm -rf "${dbpath}" || die +} diff --git a/dev-python/wsproto/Manifest b/dev-python/wsproto/Manifest index 74eba910df29..b0917086ac05 100644 --- a/dev-python/wsproto/Manifest +++ b/dev-python/wsproto/Manifest @@ -1 +1,2 @@ DIST wsproto-1.2.0.tar.gz 53425 BLAKE2B 0b6bafb5d67be54a9b9c77a9682caf1071e82321fb9112ff977b643956ef5d2d5dcc7e523c6e3038c4548adb7b4f022fe2664112b7a10ab0e183d578158b0711 SHA512 43270687a1cfb5f35423c527de5b9db7ee2ddf27d416f47358386c1c94dc3f836a601f300bf66441c4b90130e6e6f502fb29dfeb2374dd76aefa19cfbb70a372 +DIST wsproto-1.3.0.tar.gz 49977 BLAKE2B e9cc7d538cdd7773c0951376611de0a9b02f878df7eb60691a393ffb4e64028f4e4e16ea95aa51171f8312dfa87880ce30d0bf0f3995a620dc19d905df494977 SHA512 9a954eeb51f317aafd256483fc05255c470a99d8bc898f6377c60b828a2bd4c84be299995a03ac6cd36dc2efcea79e5a3ed36f5eb90086322de5c5ab1a260346 diff --git a/dev-python/wsproto/wsproto-1.3.0.ebuild b/dev-python/wsproto/wsproto-1.3.0.ebuild new file mode 100644 index 000000000000..e13aba6ff569 --- /dev/null +++ b/dev-python/wsproto/wsproto-1.3.0.ebuild @@ -0,0 +1,27 @@ +# 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..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="WebSockets state-machine based protocol implementation" +HOMEPAGE=" + https://github.com/python-hyper/wsproto/ + https://pypi.org/project/wsproto/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/h11-1[${PYTHON_USEDEP}] + >=dev-python/h11-0.16.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/yt-dlp-ejs/Manifest b/dev-python/yt-dlp-ejs/Manifest index c5ded7e0acd3..5b3fade08815 100644 --- a/dev-python/yt-dlp-ejs/Manifest +++ b/dev-python/yt-dlp-ejs/Manifest @@ -1,4 +1,2 @@ -DIST yt_dlp_ejs-0.3.0-py3-none-any.whl.zip 53157 BLAKE2B 172de8237ee2a69c77507b6086c5cdbf76425caf8730f4234fa9d233645c911b6a6ff04390b80de8a02dc541f477ce2d5696dde057828ae3b84e8903d673f9b3 SHA512 c3544c61515e889f6edb6d13ee3fcb53a4f852373f1ed1e30d7de8b03e17384286fad25cd9c3be41a2e2864aa36655268ba042fac3655c81812b802b75e78603 -DIST yt_dlp_ejs-0.3.0.tar.gz 33775 BLAKE2B acdeaed46d6bad87532d4b3008e6be35f787ce061473b4b0f808d83b5c5502c03e1aa3b068ee1cdd5aeb8f1c180e79d212dd9ac6ea32a834661b3d7c1c57bc5f SHA512 e76b306f0e1a943a2b337c61cf05ad75f880db6ff8744f1c4b5292874024b8f5a991a5c00e5f55eea1beadca9a6cad0f09c82f57b72b34c4bdc1a7bf637ac93f DIST yt_dlp_ejs-0.3.1-py3-none-any.whl.zip 53155 BLAKE2B 3fddc11eb4d15f3886737866ba11a1bd430e7e19b5313ee15abd912071095bd7b17015db0fcc58da7706068bbfab5aea803a6e3650905be1515a36263718d521 SHA512 9abbdf72a24cceccaa939c7419c6fa89afcfd7a0f36632588566a2a8075f39e91c1b952f42fcb525767e997090b526ba59fc7e91e4e5fc24ae25ffd2ad59b1ea DIST yt_dlp_ejs-0.3.1.tar.gz 33805 BLAKE2B ed9a0b9c164246dcdc196b85c63611fbfa595a482ad3e43d6a1247a4d789c2a57a917c43fbf018a834bda197ce16ac6049152ae1bac2f07514dcc8c40e699df1 SHA512 1693fd171dd62b15c7b686763d5d1bc70c43ae8ed81dd80e13e87c833ea00213624d64a34f6f3bcd409c52b7ee1401284a582a9782fa783063ce9da40a4c91e2 diff --git a/dev-python/yt-dlp-ejs/yt-dlp-ejs-0.3.0.ebuild b/dev-python/yt-dlp-ejs/yt-dlp-ejs-0.3.0.ebuild deleted file mode 100644 index 3ac5a336dc85..000000000000 --- a/dev-python/yt-dlp-ejs/yt-dlp-ejs-0.3.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..14} ) -inherit distutils-r1 pypi - -DESCRIPTION="External JavaScript for yt-dlp supporting many runtimes" -HOMEPAGE="https://github.com/yt-dlp/ejs/" -SRC_URI+=" $(pypi_wheel_url --unpack)" - -LICENSE="Unlicense" -LICENSE+=" ISC MIT" # .js dependencies from the wheel -SLOT="0" -# bumps should typically be done straight-to-stable like yt-dlp itself -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv x86 ~arm64-macos ~x64-macos" - -BDEPEND=" - app-arch/unzip - dev-python/hatch-vcs[${PYTHON_USEDEP}] -" - -# this only tests basic python bits without javascript to avoid headaches -distutils_enable_tests unittest - -src_prepare() { - distutils-r1_src_prepare - - # drop deno/npm calls and use the pre-generated .js from the .whl - # instead, this both prevents network use and ensures no hash - # mismatch given yt-dlp checks the sha512sum of the .js files - # (makes generating our own meaningless given can't be patched) - sed -i '/wheel.hooks.custom/d' pyproject.toml || die - mv ../yt_dlp_ejs/yt/solver/*.js yt_dlp_ejs/yt/solver/ || die -} |
