diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-16 06:54:20 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-16 06:54:20 +0000 |
| commit | 1e401b36624460b1739adad325159fef8ae353ce (patch) | |
| tree | 4707663d9eff5c0abeb133ed2f41d472deec2a95 /dev-python | |
| parent | 4540b44fc06d88f61fe449f282e93eb20581dc95 (diff) | |
| download | baldeagleos-repo-1e401b36624460b1739adad325159fef8ae353ce.tar.gz baldeagleos-repo-1e401b36624460b1739adad325159fef8ae353ce.tar.xz baldeagleos-repo-1e401b36624460b1739adad325159fef8ae353ce.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
27 files changed, 532 insertions, 67 deletions
diff --git a/dev-python/black/black-25.1.0.ebuild b/dev-python/black/black-25.1.0.ebuild index 4a51e0c284d1..dfb1defa4ba8 100644 --- a/dev-python/black/black-25.1.0.ebuild +++ b/dev-python/black/black-25.1.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" RDEPEND=" >=dev-python/click-8.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/fonttools/fonttools-4.55.8.ebuild b/dev-python/fonttools/fonttools-4.55.8.ebuild index f8b0824070e0..671cb3d64052 100644 --- a/dev-python/fonttools/fonttools-4.55.8.ebuild +++ b/dev-python/fonttools/fonttools-4.55.8.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="+native-extensions" RDEPEND=" diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index f4cca2e0fe6b..3a5f2c97fd9a 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -5,3 +5,5 @@ DIST libtmux-0.39.0.gh.tar.gz 314113 BLAKE2B cfba4cf12fd2418bb917ade6f927eb905dc DIST libtmux-0.40.0.gh.tar.gz 317064 BLAKE2B e3658560a789aa823faf2ff29cca3a0604ebe20b64ce0432359852738ae87280a87e7411ec73283e389a23b31da9da1f435b930bcf0cd250d3b455031669a535 SHA512 15187225ab8a31a04f7d6a3d036c5df133779fc73891782abce694c8a364babc0d19af1290a06dfa6939b61028a2620499551a0b2a9fccf0f7c3067868eb98c1 DIST libtmux-0.40.1.gh.tar.gz 318542 BLAKE2B 5b9e383a3c07bab3af7c25adcf5db1c6acf1c108a2508aa2de5f6c2db64f1e365829c69299568c39a19a7c18aa773b14033aa0c48087d0d1bcf180377df558f6 SHA512 6e4f0d13b375ca1b2c2f6e7c6aaad6d420927c8d55a2f27e7912738a58a7e9f0db67c84936ccff32c9557ebe1f3ac335e779b293466eaab9333a0e3fb4a4b10e DIST libtmux-0.42.0.gh.tar.gz 318655 BLAKE2B 5d462bd78e81bd38cfb0c42a2100287fc79b9fe31aaeccbac5c9fd124afc2df9da4ceb5cd469de1919df2995c27d4c0628629004938795b6f8731e84c23ed2bc SHA512 38e7c21bd99859add1737a1028c18852a564a2d32c27b72ea37d623bcbc0646b095ad4dd520385c11d6df4c779429ac452f6ae592a6d0ffcb4fe64bf2a4388b3 +DIST libtmux-0.42.1.gh.tar.gz 318887 BLAKE2B 7bbac22a4d2aa0a448888777b2ce99b08a90b5a76907f95ffe5278d3fb87354ae7bab5ab6b5b21ff7485b656ae6efd5a70f968750009bda2b8959024aefb3538 SHA512 a8f2be99f7e7b20d78c4597cd588571481247d1cfff4dbecaa93322584f56099a966ee745a192231ace92cd29d48232922b3b15445115039f21aca8cd33c6d69 +DIST libtmux-0.43.0.gh.tar.gz 322128 BLAKE2B 835e6d4bf47c54a7cc373ad54e11bd49aba84b19e68dea20b73c977e145396a89cf7562861c75eed5fdedcfc69f83855786aa88139a2f88dee29a272cdbc1f1d SHA512 1a2992fc6d65811bb7d42e2d5eecc7efe9cf737fcd5898ed91e4f4cf317244e7a5f14fa21ea1a169dd3f8fbad8bf044e371f26704a091d7d22465ce410105220 diff --git a/dev-python/libtmux/libtmux-0.42.1.ebuild b/dev-python/libtmux/libtmux-0.42.1.ebuild new file mode 100644 index 000000000000..857888d8e1e0 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.42.1.ebuild @@ -0,0 +1,56 @@ +# 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 + +DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer" +HOMEPAGE=" + https://libtmux.git-pull.com/ + https://github.com/tmux-python/libtmux/ + https://pypi.org/project/libtmux/ +" +SRC_URI=" + https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=app-misc/tmux-3.0a +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + local issues="https://github.com/tmux-python/libtmux/issues/" + sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die + + # increase timeouts for tests + sed -e 's/0.01/0.1/' -i tests/test_test.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set + # https://bugs.gentoo.org/927158 + local -x TMUX_PANE= + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=libtmux.pytest_plugin + + epytest -o addopts= -p pytest_mock -p rerunfailures --reruns=5 tests +} diff --git a/dev-python/libtmux/libtmux-0.43.0.ebuild b/dev-python/libtmux/libtmux-0.43.0.ebuild new file mode 100644 index 000000000000..857888d8e1e0 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.43.0.ebuild @@ -0,0 +1,56 @@ +# 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 + +DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer" +HOMEPAGE=" + https://libtmux.git-pull.com/ + https://github.com/tmux-python/libtmux/ + https://pypi.org/project/libtmux/ +" +SRC_URI=" + https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=app-misc/tmux-3.0a +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + local issues="https://github.com/tmux-python/libtmux/issues/" + sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die + + # increase timeouts for tests + sed -e 's/0.01/0.1/' -i tests/test_test.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set + # https://bugs.gentoo.org/927158 + local -x TMUX_PANE= + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=libtmux.pytest_plugin + + epytest -o addopts= -p pytest_mock -p rerunfailures --reruns=5 tests +} diff --git a/dev-python/mpmath/mpmath-1.4.0_alpha4.ebuild b/dev-python/mpmath/mpmath-1.4.0_alpha4.ebuild index 01a8e44d2914..7de388693490 100644 --- a/dev-python/mpmath/mpmath-1.4.0_alpha4.ebuild +++ b/dev-python/mpmath/mpmath-1.4.0_alpha4.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +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}] diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 814fb5a0a68e..b3303773ea7b 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,3 +1,2 @@ -DIST Nuitka-2.6.3.tar.gz 3867473 BLAKE2B 77d6d173c130166b26a8cce7ce9b21658f832d86f99022bb43057d8e535d085fabecc0f4541d60eb3fc7b3c6c7785b87d7af789e2d05692408a2e6d9e0550859 SHA512 5e31812dc5351afeb8a172bb3a3b46133d34e8a569940182abe439adb929f6eb810ffdef6b50312e7a5645b97c3b7ec71f5c180ddfc4981b9f4445dc329812e7 -DIST Nuitka-2.6.4.tar.gz 3867647 BLAKE2B 2cac28a64ce52bf9d8f2d60b9cd1741f82a4bda7d34852867683e9d398a1b472b0af00ab67ec8424963318714ccfb07662627ce592999da769bf9836c6da7402 SHA512 a59c966c4f3925c6d2b8914e19c1125fb5efd1e05c32f3a6dbe2600157927e59485216fe990338911c9b1d4dd9e99823a700db5c08f33a836b295c81eb2f719e DIST Nuitka-2.6.5.tar.gz 3866446 BLAKE2B 6bdbd3e9dd43e061c507dfbc7a7a902a387dcb7695ad9bc340aad448e5e8453ed4afb465a403bb185bcba81125cced21b6f5ba107e3bada1fc29614f0538533b SHA512 4b96cb29ea59afa90345e5cbeb77c174d4931414a5cd3df8178cdc320b9e29b2316964bc3384d5d4f16ac948cbfc5b3e428e0d826748ce2a04f57cd42defb77e +DIST Nuitka-2.6.6.tar.gz 3867022 BLAKE2B 30bc28811005426aacb0390cecedc287c6a1a92b17aa594f208b70bc9975c4538d926ce564280a57799a9cbd8a772b8bf2f7598f8163110e3dc64a6d524fc34e SHA512 e226710ee766acde7e26b4e563f61f4aed41f207bfe2b63c5d8661d5049db2ce61016d1040cadb8602034bc23cac9056d5c7cf2b5bf463d50b4fd3fd48a5b61e diff --git a/dev-python/nuitka/nuitka-2.6.4.ebuild b/dev-python/nuitka/nuitka-2.6.4.ebuild deleted file mode 100644 index c97d7f3c6ae8..000000000000 --- a/dev-python/nuitka/nuitka-2.6.4.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 flag-o-matic optfeature pypi - -DESCRIPTION="Python to native compiler" -HOMEPAGE=" - https://nuitka.net/ - https://github.com/Nuitka/Nuitka/ - https://pypi.org/project/Nuitka/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~loong ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-build/scons[${PYTHON_USEDEP}] - >=dev-python/ordered-set-4.1.0[${PYTHON_USEDEP}] - >=dev-python/zstandard-0.15[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( dev-util/ccache ) -" - -distutils-r1_src_prepare() { - # remove vendored version of SCons that is Python2 only - # this should be removed when upstream removes support for Python2 - rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die - eapply_user -} - -python_install() { - distutils-r1_python_install - doman doc/nuitka.1 doc/nuitka-run.1 -} - -python_test() { - append-ldflags -Wl,--no-warn-search-mismatch - ./tests/basics/run_all.py search || die -} - -pkg_postinst() { - optfeature "support for stand-alone executables" dev-util/patchelf -} diff --git a/dev-python/nuitka/nuitka-2.6.3.ebuild b/dev-python/nuitka/nuitka-2.6.6.ebuild index c97d7f3c6ae8..c97d7f3c6ae8 100644 --- a/dev-python/nuitka/nuitka-2.6.3.ebuild +++ b/dev-python/nuitka/nuitka-2.6.6.ebuild diff --git a/dev-python/orjson/orjson-3.10.15.ebuild b/dev-python/orjson/orjson-3.10.15.ebuild index ea070a6293f7..f4c45281fc4f 100644 --- a/dev-python/orjson/orjson-3.10.15.ebuild +++ b/dev-python/orjson/orjson-3.10.15.ebuild @@ -65,7 +65,7 @@ LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-3.0 " 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" BDEPEND=" >=dev-util/maturin-1.7.8[${PYTHON_USEDEP}] diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index ef1ef6228a55..f672c9304b2c 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1 +1,2 @@ DIST python-phonenumbers-8.13.54.gh.tar.gz 4916422 BLAKE2B f6c8ce2a75a78283fab6519f1d454c8ff8254b6286f015e767cc20923ec78b7f94f0ebbcbd979afabf8cd9c36d6cbf7b73b9818cd1b2e2dc5781c9f195ed6ce0 SHA512 f6caf29dc5218f427e46e65cb0cf73ab51f505c3115e3266378f87e709e6e445010f569013d65bbf89d166aa3930d48775efef2134c73db73359bb7d1d1d1377 +DIST python-phonenumbers-8.13.55.gh.tar.gz 4916409 BLAKE2B 4562e04b04b34f58d1fe128709e4867b9dbe4f9f05bbfdfb505d2fc42a0a4f7cc2277e8bd79e0df23ae6f447de7f7eb6a9622b276034d4187941c9f3335c821a SHA512 d3e81afd9867f5b0ef81ae033dc42211601737b31fa4c7e2ca9c404d5c5c06dbc85506d7b58fffade05c563b2c1b28b516ec95ee9b95d3fd2ba57be9e6c01dd5 diff --git a/dev-python/phonenumbers/phonenumbers-8.13.55.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.55.ebuild new file mode 100644 index 000000000000..85e8daf426e4 --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.13.55.ebuild @@ -0,0 +1,39 @@ +# 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 + +MY_P=python-${P} +DESCRIPTION="Python port of Google's libphonenumber" +HOMEPAGE=" + https://github.com/daviddrysdale/python-phonenumbers/ + https://pypi.org/project/phonenumbers/ +" +SRC_URI=" + https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P}/python + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/protobuf[${PYTHON_USEDEP}] + ) +" + +DOCS=( ../README.md ) + +python_test() { + "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/poetry-core/Manifest b/dev-python/poetry-core/Manifest index b2fe3d55f1e6..c36bcb5fac7e 100644 --- a/dev-python/poetry-core/Manifest +++ b/dev-python/poetry-core/Manifest @@ -1 +1,2 @@ DIST poetry_core-2.0.1.tar.gz 355487 BLAKE2B 84bbeb7129c13d3ed1a06fbcbdcb8e1a1a608c35d398bdbf35ea70c467adbbe5d293945fecdf90e7795122af2a3f5d9fa64a99e56ee37a197ea022d271f10a15 SHA512 dd1d303abd034fc0341aaa5fc8d11f13ef305e93b9e9036f4040c2cb007c8b1eecbdb719d2b5692530b80ecc06d416751a45c499f373a05b7066e56785d1a8e8 +DIST poetry_core-2.1.0.tar.gz 362182 BLAKE2B 6f2636e76c037199b8303a58dc7cd28edc9f0359620f803a2ec2d314e1b7254aa1226eec760f425517ce318bed1cbc5c0baf7fdceec8f48b0ee8e8683ede511c SHA512 6b32bc9326766c5df21ad749f2f67d24ee4feea0abe3234206b09a5146a0a52c4b79931d3044d4259e60f1bc8c369035309bab08710893b7e541c2fcf3f4b54d diff --git a/dev-python/poetry-core/poetry-core-2.1.0.ebuild b/dev-python/poetry-core/poetry-core-2.1.0.ebuild new file mode 100644 index 000000000000..ffa565ff9050 --- /dev/null +++ b/dev-python/poetry-core/poetry-core-2.1.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Poetry PEP 517 Build Backend" +HOMEPAGE=" + https://github.com/python-poetry/poetry-core/ + https://pypi.org/project/poetry-core/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +# check inside vendors/pyproject.toml +# (note that some are indirect deps) +RDEPEND=" + >=dev-python/fastjsonschema-2.21.1[${PYTHON_USEDEP}] + >=dev-python/lark-1.2.2[${PYTHON_USEDEP}] + >=dev-python/packaging-24.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.2.1[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/build[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.21[${PYTHON_USEDEP}] + dev-vcs/git + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # remove vendoring of dependencies + rm -r src/poetry/core/_vendor || die + sed -e '/__vendor_site__/d' -i src/poetry/core/__init__.py || die + + distutils-r1_src_prepare +} + +python_test() { + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON} (unported deps)" + return + fi + + # Poetry expects test to be run inside a git repository, otherwise + # VCS-related logic doesn't get triggered. An empty repository + # suffices, though. + git init || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest index bba87580de30..5d2e384cd948 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -1 +1,2 @@ DIST poetry-2.0.1.tar.gz 2846041 BLAKE2B 691ffcd39799d0794f8853cdb9742d95d5dd64a62488af56f58b6ac1d8b7e734b109375d595f975e7b310bd3c36a5b5c846dd37e2ffd7bf2fe7d25bd1835cff1 SHA512 9a53fe5cbaea7c923e8af6920b545a54402d49937f31c5812dcc8939f8db44ea2557302f54e015fd7f7e96de66d8fc90596cd06a30dc53ef474a8bb54fdc2c97 +DIST poetry-2.1.0.tar.gz 3433096 BLAKE2B 27feceb8c5bced84f508a538da231749f18724fd92051f328dbe9cc103c1988773a04e5526c5117c499df5a3121228d50dedb0d12f3a90f0d89b4438ae61245e SHA512 09757d3ca668e014d1591cb56a54013f34eec3b3d4216a2408ae73c2b784a2798727bfd65fb35cf604423cf0d67f2cfcff8f709d14debc9623d1dc9a863f4e68 diff --git a/dev-python/poetry/poetry-2.1.0.ebuild b/dev-python/poetry/poetry-2.1.0.ebuild new file mode 100644 index 000000000000..f1c5279da3eb --- /dev/null +++ b/dev-python/poetry/poetry-2.1.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A frontend for poetry - a python dependency management and packaging tool" +HOMEPAGE=" + https://python-poetry.org/ + https://github.com/python-poetry/poetry + https://pypi.org/project/poetry/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/poetry-core-2.1.0[${PYTHON_USEDEP}] + >=dev-python/poetry-plugin-export-1.6.0[${PYTHON_USEDEP}] + >=dev-python/build-1.2.1[${PYTHON_USEDEP}] + >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}] + >=dev-python/cleo-2.1.0[${PYTHON_USEDEP}] + >=dev-python/dulwich-0.22.6[${PYTHON_USEDEP}] + >=dev-python/fastjsonschema-2.18.0[${PYTHON_USEDEP}] + >=dev-python/findpython-0.6.2[${PYTHON_USEDEP}] + >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] + >=dev-python/keyring-25.1.0[${PYTHON_USEDEP}] + >=dev-python/packaging-24.0[${PYTHON_USEDEP}] + >=dev-python/pbs-installer-2025.01.06[${PYTHON_USEDEP}] + >=dev-python/pkginfo-1.12[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-1.0.0[${PYTHON_USEDEP}] + >=dev-python/shellingham-1.5.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.26.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" + +BDEPEND=" + test? ( + >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] + >=dev-python/httpretty-1.1[${PYTHON_USEDEP}] + >=dev-python/jaraco-classes-3.3.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + # unpin + sed -e 's:,<[0-9.]*::' -e 's:==\([0-9]\):>=\1:' -i pyproject.toml || die + + distutils-r1_src_prepare +} + +EPYTEST_DESELECT=( + # Internal test for lockfile being up-to-date + # Meaningless, also sdist does not include lockfile + tests/installation/test_installer.py::test_not_fresh_lock + + # broken if poetry-plugin-export is installed + 'tests/console/test_application_command_not_found.py::test_application_command_not_found_messages[x-None]' + + # TODO + tests/installation/test_executor.py::test_executor_known_hashes + tests/puzzle/test_provider.py::test_search_for_directory_setup_read_setup_with_no_dependencies + tests/utils/env/test_env_manager.py::test_create_venv_finds_no_python_executable + tests/utils/test_python_manager.py::test_python_get_preferred_default + 'tests/inspection/test_info.py::test_info_setup_missing_mandatory_should_trigger_pep517[name]' +) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m "not network" -p pytest_mock +} diff --git a/dev-python/pygithub/Manifest b/dev-python/pygithub/Manifest index 575c5f09ddca..80a36f85bf90 100644 --- a/dev-python/pygithub/Manifest +++ b/dev-python/pygithub/Manifest @@ -1 +1,2 @@ DIST pygithub-2.5.0.tar.gz 3552804 BLAKE2B edd573728a3522eafc8def0341f508f4cbb700bfa94ec64480c47ade5cf92f6ded6b4c88b6c893d333e258a10f13fc5320d3bb6302410ca8872656fc26a7d63e SHA512 98c7aecf17d4e2e5497f999b65f7e1c531b2efb34c748bd229126f22c5611cfd0b428f5b3be93aead907f49fe9043a29573d2fea6237173f203a0f1c50c748b5 +DIST pygithub-2.6.0.tar.gz 3658095 BLAKE2B 472e69b168676bd4a474b2d7161f02fe5dc0d085e02c6db047ff50bff0adf9482bff2c58a2df7027bfb20989cecf00adae5211c04a5a806fc8e3f7dd64818982 SHA512 00bf952071dd82f24728eb8665a46da4c17fc0de6490ed2bd1c7d85e617db7347fe23eadfe0d6cd83afc6d5b52c863c8fee65689546f0f15e5bfe12e89c01840 diff --git a/dev-python/pygithub/pygithub-2.6.0.ebuild b/dev-python/pygithub/pygithub-2.6.0.ebuild new file mode 100644 index 000000000000..331fc6af4d91 --- /dev/null +++ b/dev-python/pygithub/pygithub-2.6.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=PyGithub +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python library to access the Github API v3" +HOMEPAGE=" + https://github.com/PyGithub/PyGithub/ + https://pypi.org/project/PyGithub/ +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +# cryptography via pyjwt[crypto] +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/deprecated[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.4.0[${PYTHON_USEDEP}] + >=dev-python/pynacl-1.4.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pykka/Manifest b/dev-python/pykka/Manifest index 07968cabfdc6..9755bd818b3b 100644 --- a/dev-python/pykka/Manifest +++ b/dev-python/pykka/Manifest @@ -1,2 +1,2 @@ -DIST pykka-4.1.0.gh.tar.gz 48569 BLAKE2B 7b97988d543cb6205c698cb91d292aae8312b5e0ccffc8113af0201a97abf01d67e15b2440c2d2473f7005a3e5cb475fa55d333f332f44e0995a4a0e07c9cf95 SHA512 ffb83329f3fc7dc9caa0d63e17138186286975259573540842eb8840e383cabc1959827659de22360fd6542332865f38fb23f75c89a16e224360ef4dbc33ecc4 DIST pykka-4.1.1.gh.tar.gz 48728 BLAKE2B 4c3f0bf5454c6af04a91ebecc562e34dad257f61cca1aa20e11deea6fb524d0fa1bb86d4dd0829fe8392f57c6fd6c49b1b50abb74f08b77bccf4219d91abb5f7 SHA512 99f8738dbd0a4172e9c8a2cdbfe36335e349f8b0e421ab53ad2869e4250e6c03e69b89eea30e05c015a0203e0e6191b421f23061aa3aab869bb4383cc6ed0d49 +DIST pykka-4.1.2.gh.tar.gz 48738 BLAKE2B d6b6695a6c6482540ee5362752544753f5baaadbd888103ff13f025c5870304200cb3615d986c615b70b239d6c8710515fe9d974c765939190bd8b1abcdf3d0a SHA512 07ce084484abb56dd89399252e93a05e9f3e08b3ca023f751700a2cc99f7cb52a926c95b158c7208096bdfc250831aa1c340f2df04cbff5b159b329bb66f1c8c diff --git a/dev-python/pykka/pykka-4.1.0.ebuild b/dev-python/pykka/pykka-4.1.2.ebuild index b982a6e11829..8401ab0f0809 100644 --- a/dev-python/pykka/pykka-4.1.0.ebuild +++ b/dev-python/pykka/pykka-4.1.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,7 +25,6 @@ KEYWORDS="~amd64" BDEPEND=" test? ( - >=dev-python/pydantic-2.9[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] ) " diff --git a/dev-python/pyotherside/Manifest b/dev-python/pyotherside/Manifest index 5c064d96db65..1c26a8d99272 100644 --- a/dev-python/pyotherside/Manifest +++ b/dev-python/pyotherside/Manifest @@ -1 +1,2 @@ DIST pyotherside-1.6.1.tar.gz 184539 BLAKE2B 32c017b6d3a64a3125f779a0201ee15288fbcc84bf070442dc542df525f5994cee6b334d86ff2bbbcada39f645ac2e900a459d729c4f8c838d529fb33bdf1226 SHA512 ea672405b97d09b3c4f1266b1714da5e127c47f8f1c99caa282bd823261c06a0b02e7094185724863f339a0bd35d45426bdf6e8cb7d37a8a23d1d18e81939d9d +DIST pyotherside-1.6.2.tar.gz 184620 BLAKE2B 78e02274f71a30c6bc0d78eb993d070e7dfc9487c3964ceb4138338180b00e837006de6c15adb6168c52dab87959961e2b2cf40cce5eb123e01aaaf06fc03cad SHA512 5f625b733bf9b15b16236be836696d62c9297bafcbb491dc2ec353522612c1b593379c130e281b7b259acdbffb5cd89fb46e060969d29e7ed2d1452c6bbf43d2 diff --git a/dev-python/pyotherside/pyotherside-1.6.2.ebuild b/dev-python/pyotherside/pyotherside-1.6.2.ebuild new file mode 100644 index 000000000000..62f52f558ff3 --- /dev/null +++ b/dev-python/pyotherside/pyotherside-1.6.2.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit multibuild qmake-utils python-single-r1 + +DESCRIPTION="Asynchronous Python 3 Bindings for Qt" +HOMEPAGE=" + https://github.com/thp/pyotherside/ + https://thp.io/2011/pyotherside/ +" +SRC_URI=" + https://github.com/thp/pyotherside/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" +IUSE="qt5 qt6" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + || ( qt5 qt6 ) +" + +DEPEND=" + ${PYTHON_DEPS} + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtsvg:5 + ) + qt6? ( + dev-qt/qtbase:6[opengl] + dev-qt/qtdeclarative:6[opengl] + dev-qt/qtquick3d:6[opengl] + dev-qt/qtsvg:6 + ) +" +RDEPEND=" + ${DEPEND} +" + +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usev qt5) $(usev qt6) ) + python_setup +} + +src_prepare() { + default + sed -i -e "s/qtquicktests//" pyotherside.pro || die + multibuild_copy_sources +} + +src_configure() { + myconfigure() { + pushd "${BUILD_DIR}" > /dev/null || die + + case ${MULTIBUILD_VARIANT} in + qt5) + eqmake5 + ;; + qt6) + eqmake6 + ;; + *) + # This should never happen if REQUIRED_USE is enforced + die "Neither Qt5 nor Qt6 support enabled, aborting" + ;; + esac + + popd > /dev/null || die + } + + multibuild_foreach_variant myconfigure +} + +src_compile() { + mycompile() { + emake -C "${BUILD_DIR}" + } + + multibuild_foreach_variant mycompile +} + +src_test() { + mytest() { + QT_QPA_PLATFORM="offscreen" "${BUILD_DIR}"/tests/tests || die + } + + multibuild_foreach_variant mytest +} + +src_install() { + myinstall() { + emake -C "${BUILD_DIR}" install INSTALL_ROOT="${D}" + } + + multibuild_foreach_variant myinstall +} diff --git a/dev-python/pyzmq/pyzmq-26.2.1.ebuild b/dev-python/pyzmq/pyzmq-26.2.1.ebuild index df67e894167a..4f8a2d1a8f6e 100644 --- a/dev-python/pyzmq/pyzmq-26.2.1.ebuild +++ b/dev-python/pyzmq/pyzmq-26.2.1.ebuild @@ -23,7 +23,7 @@ SRC_URI=" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="drafts" # There are additional test failures if zeromq has the draft api enabled, but pyzmq has it disabled. diff --git a/dev-python/rapidfuzz/rapidfuzz-3.12.1.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.12.1.ebuild index 6b7f2f56f493..317df628fb44 100644 --- a/dev-python/rapidfuzz/rapidfuzz-3.12.1.ebuild +++ b/dev-python/rapidfuzz/rapidfuzz-3.12.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" # all these are header-only libraries DEPEND=" diff --git a/dev-python/tagpy/tagpy-2025.1-r1.ebuild b/dev-python/tagpy/tagpy-2025.1-r1.ebuild index 1cb703817816..b781fa4e1cc4 100644 --- a/dev-python/tagpy/tagpy-2025.1-r1.ebuild +++ b/dev-python/tagpy/tagpy-2025.1-r1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="amd64 ppc ppc64 ~sparc x86" DEPEND=" dev-libs/boost:=[python,${PYTHON_USEDEP}] diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 94995839526c..a9e02d709dc0 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -4,3 +4,4 @@ DIST zeroconf-0.143.0.tar.gz 159481 BLAKE2B 3c73c85a86180b21766bae0a9ba9ebce8910 DIST zeroconf-0.143.1.tar.gz 160017 BLAKE2B 6ca7c3c72f747703c2d12aa1547c1007bca77ba288e915e5dc56f77c21117158792e5ebb0829d016058889592e45139ee80af3f57d71ff333e5523834062d0e3 SHA512 16efd961a5c06264006ef6c39afbff49cce09812a31b392b3fa56c9f14cb4ea011ab6c1cac9934ad5e466e1430154f70693ea2160ec6d319e3a4a516005b90dd DIST zeroconf-0.144.1.tar.gz 160109 BLAKE2B c0dc535665fa46ee143c09b35f380f6898c16a844d2e7c3c233bd0ea1b0c0f1f551daf05dd220f4d7ce6478f65d5bb8a1dbda2d845744e9fe46b6138008c98f7 SHA512 3ad3827c5bd834ce4fc9b6a1349c34b0ede562da327f87fba17905b697a001271c55569e4a1ee8857c088a96a18e1a0782836a7ec2ff3c36982ae57f805e72c8 DIST zeroconf-0.144.3.tar.gz 161347 BLAKE2B 43f75df44a95d58ec372fbd68013cce2c9e4c78fa5b5c445604c8cb8281fbf4b96b6625c5867ca2817877d81c28824a0b8fab322e2da326b864ead539561a359 SHA512 c849a8b1ade29a34e7a4a4ad7710368eba6253408eae9b655381625b79170b7deeecf0d4be4821ee598a2af1a431803b2f6a072a4c61e94cee5ec0a9895a0153 +DIST zeroconf-0.145.0.tar.gz 161541 BLAKE2B a1978bbf52f1b14a5a7d6089c5d41c526cfd7f93cd386cc46d3a1d3bcea354761053bfcb4b5e390ff5915e80584855580475f03fad2ed1ec2aae6dbedda54aa8 SHA512 3a9df86385406b27f85c21dda6b20c040a73ecf4616d3d2bd38b3734e21cf038e0f65812c060bc5775dac242a519285f4a0a9a0ecf6c022c60abdcd1df915e82 diff --git a/dev-python/zeroconf/zeroconf-0.145.0.ebuild b/dev-python/zeroconf/zeroconf-0.145.0.ebuild new file mode 100644 index 000000000000..503705515b10 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.145.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/python-zeroconf/python-zeroconf/ + https://pypi.org/project/zeroconf/ +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export REQUIRE_CYTHON=1 + +python_test() { + local -x SKIP_IPV6=1 + local EPYTEST_DESELECT=( + # network + tests/test_core.py::Framework::test_close_multiple_times + tests/test_core.py::Framework::test_launch_and_close + tests/test_core.py::Framework::test_launch_and_close_context_manager + + # fragile to timeouts (?) + tests/services/test_browser.py::test_service_browser_expire_callbacks + tests/utils/test_asyncio.py::test_run_coro_with_timeout + + # randomly broken by a leftover thread? + tests/test_circular_imports.py::test_circular_imports + ) + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} |
