diff options
| author | Repository mirror & CI <repomirrorci@gentoo.org> | 2025-12-08 03:45:49 +0000 |
|---|---|---|
| committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2025-12-08 03:45:49 +0000 |
| commit | c5b8e05ff956030545e09a406b6a6dbfa45303fb (patch) | |
| tree | f9aba4429522ff895505ed523f947b681f5070bc /dev-python | |
| parent | dadcb0495d206554a1f0fc41d741e765f4addf0d (diff) | |
| parent | 3ffc0f22e82eed1b0b33cb267c18608dc47a9682 (diff) | |
| download | gentoo-c5b8e05ff956030545e09a406b6a6dbfa45303fb.tar.gz gentoo-c5b8e05ff956030545e09a406b6a6dbfa45303fb.tar.bz2 gentoo-c5b8e05ff956030545e09a406b6a6dbfa45303fb.zip | |
Merge updates from master
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/apprise/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/apprise/apprise-1.9.6.ebuild (renamed from dev-python/apprise/apprise-1.9.4.ebuild) | 3 | ||||
| -rw-r--r-- | dev-python/black/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/black/black-25.12.0.ebuild | 62 | ||||
| -rw-r--r-- | dev-python/blockbuster/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/blockbuster/blockbuster-1.5.26.ebuild | 60 | ||||
| -rw-r--r-- | dev-python/cmd2/Manifest | 3 | ||||
| -rw-r--r-- | dev-python/cmd2/cmd2-3.0.0.ebuild (renamed from dev-python/cmd2/cmd2-3.0.0_beta1.ebuild) | 3 | ||||
| -rw-r--r-- | dev-python/cmd2/cmd2-3.0.0_beta2.ebuild | 56 | ||||
| -rw-r--r-- | dev-python/gmpy2/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/gmpy2/gmpy2-2.3.0_alpha3.ebuild | 45 | ||||
| -rw-r--r-- | dev-python/httpx-socks/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/httpx-socks/httpx-socks-0.11.0.ebuild | 51 | ||||
| -rw-r--r-- | dev-python/libtmux/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/libtmux/libtmux-0.52.1.ebuild | 38 |
15 files changed, 269 insertions, 61 deletions
diff --git a/dev-python/apprise/Manifest b/dev-python/apprise/Manifest index 688ee79021c5..1ff078df87b3 100644 --- a/dev-python/apprise/Manifest +++ b/dev-python/apprise/Manifest @@ -1,2 +1,2 @@ -DIST apprise-1.9.4.tar.gz 1855012 BLAKE2B 2375d22f5f3d28a8c9bf8692e6fc1b029cfe0a3ad0eaebfd43cf06fd4b29dfa212289197706ff0913083fb8cab27d967395282bcaf43f5a32593bb115e15f9c5 SHA512 5e25ac6260506e1963f4bb89dcd30bdc7ca639760c0078dc839774901345a91f6b1ec182b40116712f6206115a7e86edfa786f375a09efdfa1473132b5d5cefa DIST apprise-1.9.5.tar.gz 1877134 BLAKE2B d26bd5fb1d2076b25129f89919282db0910f32b16947352f7f0b3d1478209506d9a536fb07ab129f5e2d9847a5c8f32fbcb4826dca1fdb6a6d86905e45cf92fe SHA512 a28f873e56dd1c4fd744f0d402765499144f1f8f76b55ee23bef2c80573cff6f744d66ab0707bef27f5f50165d05ec1454e0903ea018fc147e9b75fb89e4a756 +DIST apprise-1.9.6.tar.gz 1921714 BLAKE2B 5da45ce6a7d150cf40d61bd9fe43abe7da404331d9a6571250db1478b9cb2ef513be015fbf5b70ce6ecd415ee6899b3f1c135de0624b7fa0275b9f92ad357992 SHA512 06a1dc8cc47519a0af38f23083e525c18ee27a539756bff16ee15ac3af0d5b9730f3a7f2906813dc84c40248d4dbbb38d44ab4f761183dda6c8bfb9ad29aca58 diff --git a/dev-python/apprise/apprise-1.9.4.ebuild b/dev-python/apprise/apprise-1.9.6.ebuild index afb0cdfa9fa2..43e0d62db9e5 100644 --- a/dev-python/apprise/apprise-1.9.4.ebuild +++ b/dev-python/apprise/apprise-1.9.6.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv" IUSE="+dbus mqtt" RDEPEND=" @@ -33,6 +33,7 @@ BDEPEND=" " EPYTEST_PLUGINS=( pytest-mock ) +# xdist causes test failures distutils_enable_tests pytest EPYTEST_DESELECT=( diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest index b5248c7f9225..4a89a3b86eef 100644 --- a/dev-python/black/Manifest +++ b/dev-python/black/Manifest @@ -1,3 +1,4 @@ DIST black-25.1.0.tar.gz 649449 BLAKE2B 28045d73259780c38430838ad245a3a6545f6c55890ee5105f15121659e28dc3d3b332ddd08b7f196afcabc04d3d423b0ccf61e2a467f9ac131b9d7480e86415 SHA512 57281a678d322aaf0f2b7059aa59ad65055cb6999b8fc22ead115011d1b2e607d5cc91880369ee93a438bc266d7ebd371cd046f12d41a83383577f36a6211844 DIST black-25.11.0.tar.gz 655669 BLAKE2B 226e1c2e85f903b5bf4033567d266db9aeb56c0365b8debd05e1f13ed98aca98854e4b079a8270db62ae56fab446cdd54d6f60fa572eaa0ed70e8cdcdb68f7b0 SHA512 e6b91cc3772b5a079baf99792140d8d66448b2d17aa27706af5a9c652fca04ed4815dab4fdcaf93721d0b7e85e5fec85ba3fd14f08487a82f558c140a3dfbfd6 +DIST black-25.12.0.tar.gz 659264 BLAKE2B df81aae998aa8d756c2f9d94935f0cdbaa1116fcaff0073e2f82681f852da26197e222832ce134e6c4391614791d98b828fc26c55f7a8ad94194705bc9952342 SHA512 2e67d22218eaba3e5c4f3bbcfe5ea3d305852168cfe7f75edb31ecd4db7b4a3dc349e23f8b93c0e5c5e9c4380cb3cd949733d13b9991b41496a7d17514cd2cea DIST black-25.9.0.tar.gz 648393 BLAKE2B 916d9b6859d31b41a2b064537dd180d37d33ffb41827fab43e8b65d04a17709e2ed20e9672a7bb4a79038e81886b198aed2ce99d46b3ede2bac2a801b23e9f19 SHA512 aa2a2ff1cd1169108968735e7fcd0ad0b25d721786461975d0aaea06b21accc877c96eff0876c40ebe7c31d6de8065c7db47580fe7372c8ad8c08a0c17951311 diff --git a/dev-python/black/black-25.12.0.ebuild b/dev-python/black/black-25.12.0.ebuild new file mode 100644 index 000000000000..7a3f4ad56231 --- /dev/null +++ b/dev-python/black/black-25.12.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="The uncompromising Python code formatter" +HOMEPAGE=" + https://black.readthedocs.io/en/stable/ + https://github.com/psf/black/ + https://pypi.org/project/black/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/click-8.0.0[${PYTHON_USEDEP}] + >=dev-python/mypy-extensions-0.4.3[${PYTHON_USEDEP}] + >=dev-python/packaging-22.0[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2[${PYTHON_USEDEP}] + >=dev-python/pytokens-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/aiohttp-3.10[${PYTHON_USEDEP}] + dev-python/aiohttp-cors[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # https://github.com/psf/black/issues/4582 + 'tests/test_format.py::test_simple_format[backslash_before_indent]' + 'tests/test_format.py::test_simple_format[form_feeds]' + ) + ;; + esac + + epytest +} + +pkg_postinst() { + optfeature "blackd - HTTP API for black" \ + "dev-python/aiohttp dev-python/aiohttp-cors" +} diff --git a/dev-python/blockbuster/Manifest b/dev-python/blockbuster/Manifest index 117b55331bd7..b6de17c06001 100644 --- a/dev-python/blockbuster/Manifest +++ b/dev-python/blockbuster/Manifest @@ -1 +1,2 @@ DIST blockbuster-1.5.25.tar.gz 36058 BLAKE2B 75accc4bcba23664206adcd1a5adbfe5b4f4fdae634370e89b72a3122d3908dbba96ea2387766bced0814c47dac9b2b1c1b57647977b90bbd729561d6a2fb205 SHA512 a5201166425fa4449d319ed7265e9ab51c8bff05e1ec84c79d2b5cc54effc70f047154583b2362d6a6b6d0a986cd4f4082e96079a013778507fc5906bf6b7cff +DIST blockbuster-1.5.26.tar.gz 36085 BLAKE2B 856a57dae55251771cd3340b1b6cad84fa168d7ca63630401fbbd8acf27b99d77759e3161b77f94abf7085035ef9303bf7b693561fad4cf8796009a2297bee5d SHA512 d12263e81c2acc97a537b3067632a6fc41af214125bd4c4c16f12079531fe4d6addc48091942fa5311dec6024113492ee585a185127c0cf69abfde4e3c1a8ce0 diff --git a/dev-python/blockbuster/blockbuster-1.5.26.ebuild b/dev-python/blockbuster/blockbuster-1.5.26.ebuild new file mode 100644 index 000000000000..a06f8a61d4b9 --- /dev/null +++ b/dev-python/blockbuster/blockbuster-1.5.26.ebuild @@ -0,0 +1,60 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Utility to detect blocking calls in the async event loop" +HOMEPAGE=" + https://github.com/cbornet/blockbuster/ + https://pypi.org/project/blockbuster/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/forbiddenfruit-0.1.4[${PYTHON_USEDEP}] + ' 'python*') +" +BDEPEND=" + test? ( + dev-python/aiofiles[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_blockbuster.py::test_ssl_socket + ) + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # upstream doesn't care, however that doesn't stop + # people from depending on it... + # https://github.com/cbornet/blockbuster/issues/47 + tests/test_blockbuster.py::test_file_random + tests/test_blockbuster.py::test_file_read_bytes + tests/test_blockbuster.py::test_file_text + tests/test_blockbuster.py::test_file_write_bytes + tests/test_blockbuster.py::test_lock + tests/test_blockbuster.py::test_os_scandir + tests/test_blockbuster.py::test_scanned_modules + ) + ;; + esac + + epytest +} diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest index e99538982e96..2aa2c467266a 100644 --- a/dev-python/cmd2/Manifest +++ b/dev-python/cmd2/Manifest @@ -1,5 +1,4 @@ DIST cmd2-2.6.2.tar.gz 592373 BLAKE2B 917ecd684c60c0a6c1b273ef52fa1e317f71522dfd6fc8a9d2c1ee7fa28788b734c6536a9481ac56ef8409002f503837ae51191478a68e364c4780e9feb4b8e8 SHA512 75531dca561427eef259765a55c6385401edd8bc9d5c4cf08ab97e53e118334be932ee5c59f9e1fcd529a7a5f7416e654ee1d618d91623068ef21bcc66dcfdd7 DIST cmd2-2.7.0.tar.gz 593131 BLAKE2B 2488c3c9d8e770fca8046fbd5d9537349cfd2b45cb32ed5775cd0b451ae25425909fadb7414d202aa52587e691e2ef8a39b3fe691e345497a0523e17281228df SHA512 6d2e7f3c9e125782da8983fb27a53d5db0c0cc35a8c86eb129961596ff3ff5751622894ee8fb355b0330de3b2cbb7cf18eddaba2ad0b8781e80b479cf53a1c89 -DIST cmd2-3.0.0b1.tar.gz 1017844 BLAKE2B 607ec848de6cfb35682cd8b3a8271d1232c463f3b623a1f6fb17f801b85474d4896c1e85058519d3e946c0fcb9ea4c3fdfe4e4d69dff14918817f02cdb4ee4d6 SHA512 c7443bccb36b7d0bc688f434a1fe77962cd31f33c21ca4dc11847e8e9590bc15920d0afbbcef322f54fe1759de023cea463fb16b4318df140a0e7fb06e561699 -DIST cmd2-3.0.0b2.tar.gz 1007751 BLAKE2B 006373e3ff2d57c67e5824089c408dacd45567e9e654760ac552b5f9628ed97cf580a2878d1426ddf6d1e7aed287633b969e13acc8eb6304957425f180a55a64 SHA512 98b533fc9a826c3df27a33fda527e46b25fde0e2caa2b94f7668b4ea1c56ea3eaa496f7f5664bc9c2ccd4ffdef6382fb060c9b73d254e9bdaa29047ec26de535 +DIST cmd2-3.0.0.tar.gz 1002183 BLAKE2B 0531a4e6cdb8b169e28c3eb5af12b2bfc75824e0f1659f884d7bfc6a482ac3c1d445cdde8c9d54a22f4bc4f899b2beb78199f089e13a1e017395536e59687026 SHA512 b52ea831fce9bc15e22b6cc487c5b2ba2f61ae0427c81113213cfa825c9f898798e5a0fe23ad4545daf80d314b68d3f83fb2984ef757b29a4d4da933419a228b DIST cmd2-3.0.0rc1.tar.gz 1001904 BLAKE2B 5be49c9cb1d474df7c25b0be719f203c5ffdf2d3fb76c28dacc7c1144105c05a4d97d163725cb522c4aae3d12b69c865945d26d66b4ae34fbecd34e735b76918 SHA512 bdbf01757657be026f8ff3fa54a827aadc07ae0f56190cc217c54aab3a25ba536bca3d703dd6ea6f4dad1bab0fe66fb0fdfc0df9d559907b11696f57af98a5e8 diff --git a/dev-python/cmd2/cmd2-3.0.0_beta1.ebuild b/dev-python/cmd2/cmd2-3.0.0.ebuild index 6d473f17d099..4776ce24a398 100644 --- a/dev-python/cmd2/cmd2-3.0.0_beta1.ebuild +++ b/dev-python/cmd2/cmd2-3.0.0.ebuild @@ -16,9 +16,10 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc64 ~riscv ~s390 ~x86" RDEPEND=" - >=dev-python/pyperclip-1.8[${PYTHON_USEDEP}] + >=dev-python/pyperclip-1.8.2[${PYTHON_USEDEP}] >=dev-python/rich-14.1.0[${PYTHON_USEDEP}] >=dev-python/rich-argparse-1.7.1[${PYTHON_USEDEP}] " diff --git a/dev-python/cmd2/cmd2-3.0.0_beta2.ebuild b/dev-python/cmd2/cmd2-3.0.0_beta2.ebuild deleted file mode 100644 index 6d473f17d099..000000000000 --- a/dev-python/cmd2/cmd2-3.0.0_beta2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# 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_{11..14} ) - -inherit distutils-r1 optfeature virtualx pypi - -DESCRIPTION="Extra features for standard library's cmd module" -HOMEPAGE=" - https://github.com/python-cmd2/cmd2/ - https://pypi.org/project/cmd2/ -" - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - >=dev-python/pyperclip-1.8[${PYTHON_USEDEP}] - >=dev-python/rich-14.1.0[${PYTHON_USEDEP}] - >=dev-python/rich-argparse-1.7.1[${PYTHON_USEDEP}] -" -# pyperclip uses clipboard backends in the following preference order: -# pygtk, xclip, xsel, klipper, qtpy, pyqt5, pyqt4. -# klipper is known to be broken in Xvfb, and therefore causes test -# failures. to avoid them, we must ensure that one of the backends -# preferred to it is available (i.e. xclip or xsel). -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - || ( - x11-misc/xclip - x11-misc/xsel - ) - ) -" - -EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} ) -distutils_enable_tests pytest - -src_test() { - # tests rely on very specific text wrapping... - local -x COLUMNS=80 - virtx distutils-r1_src_test -} - -python_test() { - # TODO: tests_isolated? - nonfatal epytest -o addopts= --reruns=5 tests || die -} - -pkg_postinst() { - optfeature "IPython shell integration" dev-python/ipython -} diff --git a/dev-python/gmpy2/Manifest b/dev-python/gmpy2/Manifest index ca9233ab3c27..b90bb64eb3bd 100644 --- a/dev-python/gmpy2/Manifest +++ b/dev-python/gmpy2/Manifest @@ -4,3 +4,5 @@ DIST gmpy2-2.2.2.tar.gz.provenance 9038 BLAKE2B 9881fc716b89ae9ab3993e02d5fdd112 DIST gmpy2-2.3.0a1.tar.gz 244673 BLAKE2B 83ea701d248c610d9b9bc592e45e7cad4e5b8f73c916e05cde700e76e224cb9d40208d7cdf208c1862aa511708c5059f5dba007f1cfbf27cdf7f4a3259f9061a SHA512 caf0ac50e07b62e403c137311c8dff8b2a13c2da43817ec575454e5c6f423ff2ddb73b16f48cc42b54bbf589ca6ae8dd260a911929c7c0736b4a7b2ee840cf31 DIST gmpy2-2.3.0a2.tar.gz 277418 BLAKE2B 92bdcef15d93c55c413c3fcab8bc4ba0f3460d60fc4ad78022cd7cb6c4f5436e22696e16bb3b869bfe9ace7f6d687c701befb9590c99b929c85bddc1c12d7d42 SHA512 b6277303c4c451ee01cf8a20bf810e407a2c3055f9990d2e5cb6555c7ea438cd268e7b69ad442b75d566abdbd5030e086dfdd982790e20792d86b957b515ba37 DIST gmpy2-2.3.0a2.tar.gz.provenance 9305 BLAKE2B 0a3e1ad0910a8c0067df63c03f2bad141e5e8f46f4a6867ed1ab0b9e673094631ae28d06e06ff784d351b258aca521b599707f1a2fa3507b5b2206c0277873aa SHA512 5e9b97f8b6bdc7f589a90c0dac0237303f4a2f9ba7a1e4d2a15fbacccf0c5df057bc8584f3be87a065dca1ac83f2c1c94291bf7ff5a65f19a6bf2b9b36886a95 +DIST gmpy2-2.3.0a3.tar.gz 277957 BLAKE2B 14bf937b105a64efb179523d737834979665bfec8181fd49e7b118183094c2c6e058aaf2c07b8f38f00ebfb003713fdda46fb20464f326c51e6116e93cb695a4 SHA512 d9ee502d3f2796088439db8ddde73ac02bdd3103912d23efd4483655344ca6f55ff5edce2712f6696546b488d218f35adafa6755ff29158e3cb4d42198192f50 +DIST gmpy2-2.3.0a3.tar.gz.provenance 9209 BLAKE2B d878aae03c32bb3671a0e0ac4f0deab68327f23a710ab835da10cdc501f7064e146fb6615941b6dbd6aa968fb0b6f8dfed0144e9ce1b902d9c6740201f436290 SHA512 f8c82090aca3238d73d7da3abea6ac754238aac18945f3ef671e36aeb7437a1142a690e349277969c0908c5b5762a75b90351bddf9106c180eaa7890f07d4e1c diff --git a/dev-python/gmpy2/gmpy2-2.3.0_alpha3.ebuild b/dev-python/gmpy2/gmpy2-2.3.0_alpha3.ebuild new file mode 100644 index 000000000000..ea5f79be6797 --- /dev/null +++ b/dev-python/gmpy2/gmpy2-2.3.0_alpha3.ebuild @@ -0,0 +1,45 @@ +# 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 +PYPI_PN="gmpy2" +PYPI_VERIFY_REPO=https://github.com/gmpy2/gmpy2 +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for GMP, MPC, MPFR and MPIR libraries" +HOMEPAGE=" + https://github.com/gmpy2/gmpy2/ + https://pypi.org/project/gmpy2/ +" + +LICENSE="LGPL-3+" +SLOT="2" + +DEPEND=" + >=dev-libs/mpc-1.0.2:= + >=dev-libs/mpfr-3.1.2:= + dev-libs/gmp:0= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-python/mpmath[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + rm -rf gmpy2 || die + epytest +} diff --git a/dev-python/httpx-socks/Manifest b/dev-python/httpx-socks/Manifest index 5f4399fa155e..27dda8a98b2b 100644 --- a/dev-python/httpx-socks/Manifest +++ b/dev-python/httpx-socks/Manifest @@ -1 +1,2 @@ DIST httpx-socks-0.10.1.gh.tar.gz 15481 BLAKE2B a383b6de2b2d517c27fd202f880b51556f530bb16982d4d7d2d1b1e3f98457093b3131bb02f19599e818e85204de124689064bd9e440ac6cbcb7dd59bc5a1600 SHA512 2b8d4cbc2aba7366b486a8be5d07fa65f95cea1d61caa3a8536dc09eec9769b1833c1b383d9fdf175f11ca59e84222cacab0109d92fa13a7c706f1531824052a +DIST httpx-socks-0.11.0.gh.tar.gz 15579 BLAKE2B 33a4112f6f1d1d56869adfcfe79a538ce4fbe99cde44d400fdee93f256a9adf27ee97d22450ff685cad61c8df478b1eca1a3f3a7b804cd087b5bf5fbca3f20f7 SHA512 38b75fc2dd522d58639213ac7c135af7821ad53d3799a028bfd995f9a5e67a251a0d5255105e42790b78edb0450a336dc87fefb1dc67486b13d4271bd98d411e diff --git a/dev-python/httpx-socks/httpx-socks-0.11.0.ebuild b/dev-python/httpx-socks/httpx-socks-0.11.0.ebuild new file mode 100644 index 000000000000..ffc34df79f75 --- /dev/null +++ b/dev-python/httpx-socks/httpx-socks-0.11.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Proxy (HTTP, SOCKS) transports for httpx" +HOMEPAGE=" + https://github.com/romis2012/httpx-socks/ + https://pypi.org/project/httpx-socks/ +" +# no tests in sdist, as of 0.7.6 +SRC_URI=" + https://github.com/romis2012/httpx-socks/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/httpx-0.28.0[${PYTHON_USEDEP}] + >=dev-python/httpcore-1.0[${PYTHON_USEDEP}] + >=dev-python/python-socks-2.4.3[${PYTHON_USEDEP}] + >=dev-python/sniffio-1.1.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/hypercorn-0.14.3[${PYTHON_USEDEP}] + >=dev-python/starlette-0.25.0[${PYTHON_USEDEP}] + >=dev-python/tiny-proxy-0.1.1[${PYTHON_USEDEP}] + >=dev-python/trio-0.24[${PYTHON_USEDEP}] + >=dev-python/trustme-0.9.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.6.3[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( anyio pytest-{asyncio,trio} ) +distutils_enable_tests pytest + +src_prepare() { + # unpin dependencies + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die + + distutils-r1_src_prepare +} diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index 579622e610ad..cd1e71942f2b 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -6,3 +6,5 @@ DIST libtmux-0.49.0.tar.gz 355432 BLAKE2B f6022b474168bfb1a71b319b1c6ebd3e290eaf DIST libtmux-0.50.0.tar.gz 401066 BLAKE2B 4f8e24248d30ad5672eff5ea272223a0603eccfd158b735afe0ddb95c47f454c89f4f4fcc3c9d66d9e3e63cf881e6d0d442ea057abb5a925f5eae9760a99e8fd SHA512 101b7a3bc3c980aa9b5d8e3f7d3ce3c00ee778c5bdb6d65ca16782780982539409f2afa822171acc7913ec3c48bfc2e684d5a1142c85ab6b243c36f2efbe72b0 DIST libtmux-0.50.1.tar.gz 401531 BLAKE2B 0d6490122e21f0a82435e6506e1269fdf33478ab9fd8770b3147d517ba766b48de029d4ce6d7d78e5976bbd280137bd71d1cab590df2ae67e6c85bd4728e3475 SHA512 e3fccda1383b8443da55916f82a892d704248fb12b4afedf87f9fade6d69dcd302300af12fb9be5f783c1422973cd242431ad8f6f70498e1e25d2e90d6d3c663 DIST libtmux-0.51.0.tar.gz 398729 BLAKE2B b8e3711278b5906a5945bc7c10dedc1bb4a2bc72df9c5ca3378fb95709f5ad3311f3788c797ac5c99035f938df4cc2701598a8ea7e260a2a45f4f8a78093f54d SHA512 1792151627c53d05fd856835e07a9fbc58d19a4153fef21f609a0837c67c5b699de86072d24fcf9cc07ca32436390f3b0e5a4569bd4922879aa4a8a444115db2 +DIST libtmux-0.52.1.tar.gz 403676 BLAKE2B 02e7b1901c4fbe061190b509c49ea79db0176471f2b0e534ad975cf4809c9d6e42954bf80823a0c4635d57516d3456b2f5b68087b0b8b88cf12b2b9026b60174 SHA512 f26d20e96f41d2ea1790c194b3fa808201c9c407e49bf77e54154477d20b1faf0f540f266b418c3c667560d67c8b5aebeeb965873292ece8ae54d71758dee2f7 +DIST libtmux-0.52.1.tar.gz.provenance 9300 BLAKE2B 683066fd1667d4f764eee2ebe1dd7cccf9fdda5b5b09cf19849c6ead20ab68601ced42e7f674cbdbd8b4c777ea2aa3ce350602f155b44e78b1fdee75113b17b5 SHA512 5970eb0715fe2e1b8098d4d448c6d0221cd9ab9c49c5c66d6ab6150ffc0449aff67f5b7ac306f4ce443c6b69c73d01777afcb18b0a0f5b4312520fbf8d45d1da diff --git a/dev-python/libtmux/libtmux-0.52.1.ebuild b/dev-python/libtmux/libtmux-0.52.1.ebuild new file mode 100644 index 000000000000..029113cf4444 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.52.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tmux-python/libtmux +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) + +inherit distutils-r1 pypi + +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/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=app-misc/tmux-3.0a +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-mock ) +EPYTEST_RERUNS=5 +distutils_enable_tests pytest + +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= + + epytest -o addopts= tests +} |
