diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 269243 -> 269239 bytes | |||
-rw-r--r-- | dev-python/libtmux/Manifest | 2 | ||||
-rw-r--r-- | dev-python/libtmux/libtmux-0.30.2.ebuild | 57 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex ae38a18f637e..6e49fce61af0 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index 66499ec25de7..49bb5ffec5d7 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -2,8 +2,10 @@ DIST libtmux-0.21.0.gh.tar.gz 267484 BLAKE2B 36d7af1bd90ff5a9639587d79f49643eec1 DIST libtmux-0.27.0.gh.tar.gz 270128 BLAKE2B 330335e24ff5f1777d3a4ebd4746adcc391919a129c08c1bfe80d7ef61e962dc550690a68055390c58e8e6c539edcac74def8646d4b1055503496ac38f72fc0d SHA512 fd847524bf6b0742bac4eca2c1032e069be09081e9107a6403eebfce0f6ca4e624f717aae0794ece54065d50cc1eb6ef48327ef1e9aea794328c42a5d7bbb293 DIST libtmux-0.28.0.gh.tar.gz 273309 BLAKE2B 9bc5b3068e64f09af0411f68f22cd23535b084175970338c827783741c8abde03548996cd573c6b58ce49298582f8e159dcab569fb6d19560229187a8da269b1 SHA512 8a6457c82cb06c72c0382c362e5d84d0a5498a01e8806adffd7e8c3a67c1b741fbd11892a3cca2156f940a954684e2d6f85ee7ad14f582f5727b977d433dd707 DIST libtmux-0.30.1.gh.tar.gz 276505 BLAKE2B 508e9b15183ecf7c3c006145fbbc9580e7180fd39b453b8a9589f644f8fddcf14144e9989c92a581c7c10a95660d9c5b9f7f5544e51e202634407c0a1914c6a2 SHA512 9ec06901f978a631b9d8085806b71912f5b582d20e917ed4409f870ec2e873095044779b1d0db2cbe0285e11a043c44cd801fa60cb2f57d9d31fb95e3015daf8 +DIST libtmux-0.30.2.gh.tar.gz 276498 BLAKE2B 13d7940d7f0f2f71819c2a5747f73fb5f0319179ec57a974461552f3de5804bc30d35c8790d8ae63bb9797b3b1aea54ab94e1f593a37cbac286b297d70d33ed0 SHA512 503dd5e7325073cc57ab9a553c3b3cf7c7cd12a506a8a59dcfd84c5902f0a1b2adab507c5b95e9abc97c9384d282bb866d8772c93b23b101d0ec8ded8f2a280d EBUILD libtmux-0.21.0.ebuild 1224 BLAKE2B 0c19dc33639ef451cfe4659aab6b3b1e38d96cb6899f6dbb85aa655a99010be3174ad43c7c7522d3c2d8e597e789048ae8feddc03836d4ab60fd9c5333c9b665 SHA512 9c9e4c7aa82223e54b12bfdd3c088954221f5794723d4766988654d99e3a349eb1928c664cd590021f1a30fc3a854e0811e8f993ffe431394c0fee3839a54b19 EBUILD libtmux-0.27.0.ebuild 1308 BLAKE2B 6e562682cb8832a337d3f7b392b4c70e518d488ef590bd42a5db75b1f98bc6e907c0c57d0305a5efe6b8f968a82ca8feb8067dba98ab457f0023865f4757c557 SHA512 e2c21fc238656193b5e4a16c043dad1ef857ebefb65ef1655d4f536fefdf8d1c329d152cbcea882b781e58f79eeb968e60c159fed91ef8bbbb7eb5e730f495db EBUILD libtmux-0.28.0.ebuild 1308 BLAKE2B 6e562682cb8832a337d3f7b392b4c70e518d488ef590bd42a5db75b1f98bc6e907c0c57d0305a5efe6b8f968a82ca8feb8067dba98ab457f0023865f4757c557 SHA512 e2c21fc238656193b5e4a16c043dad1ef857ebefb65ef1655d4f536fefdf8d1c329d152cbcea882b781e58f79eeb968e60c159fed91ef8bbbb7eb5e730f495db EBUILD libtmux-0.30.1.ebuild 1275 BLAKE2B 8b6ad6a97825498b84b1bb5df7a0006e52786f315fa26677938e1b76321354d21bfe548835dff50f0c8f911ba55401d5b66c166e807232d835ade4eb60eec77a SHA512 c6444baa9738ffb3ded15531f607b9ebd06e153872785f4069a899604863cb824680c2340816b40c4cec3a7d9cfde96df2f3884a5e63e7a4d4e21fc5246fff6c +EBUILD libtmux-0.30.2.ebuild 1275 BLAKE2B 8b6ad6a97825498b84b1bb5df7a0006e52786f315fa26677938e1b76321354d21bfe548835dff50f0c8f911ba55401d5b66c166e807232d835ade4eb60eec77a SHA512 c6444baa9738ffb3ded15531f607b9ebd06e153872785f4069a899604863cb824680c2340816b40c4cec3a7d9cfde96df2f3884a5e63e7a4d4e21fc5246fff6c MISC metadata.xml 403 BLAKE2B 68af7251349c8999bbdbfb7b55ca4632f8752468d7e478fd985097af86d00afe93b231667a25e3c997a3bc86b708d4e6d6ef5c35a783871cdc83519fc1db1ab1 SHA512 2a88df695e94f1da966bb72f7e90d00f2e343e40fe1924837f8c087dfc9a9a84fe0b2909a98f2f41ba72f6ba01796888a80cbac3f1bf9f05984a06385037d977 diff --git a/dev-python/libtmux/libtmux-0.30.2.ebuild b/dev-python/libtmux/libtmux-0.30.2.ebuild new file mode 100644 index 000000000000..3347c96865a2 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.30.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9..12} 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-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-mock[${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 + + sed -r -e '/addopts/s:--doctest-docutils-modules::' \ + -e '/^[[:space:]]+"README\.md"/d' \ + -i pyproject.toml || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -a EPYTEST_DESELECT=( + libtmux/pane.py::libtmux.pane.Pane.send_keys + ) + epytest +} |