diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-24 22:17:03 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-24 22:17:03 -0500 |
| commit | d1808fe0763b57f61454c5cb4eaa1da0abbc5b9a (patch) | |
| tree | 51969d1ed4ba3b5e1d6663ca104925c724f2f206 /app-misc | |
| parent | b21f57632c8e0b6828a699831b1360fff52b43b8 (diff) | |
| download | baldeagleos-repo-d1808fe0763b57f61454c5cb4eaa1da0abbc5b9a.tar.gz baldeagleos-repo-d1808fe0763b57f61454c5cb4eaa1da0abbc5b9a.tar.xz baldeagleos-repo-d1808fe0763b57f61454c5cb4eaa1da0abbc5b9a.zip | |
Adding metadata
Diffstat (limited to 'app-misc')
| -rw-r--r-- | app-misc/jot/jot-9.0-r2.ebuild | 2 | ||||
| -rw-r--r-- | app-misc/tmuxp/Manifest | 2 | ||||
| -rw-r--r-- | app-misc/tmuxp/files/tmuxp-1.74.0_theme-name.patch | 90 | ||||
| -rw-r--r-- | app-misc/tmuxp/tmuxp-1.70.1-r1.ebuild | 61 | ||||
| -rw-r--r-- | app-misc/tmuxp/tmuxp-1.74.0.ebuild | 61 |
5 files changed, 215 insertions, 1 deletions
diff --git a/app-misc/jot/jot-9.0-r2.ebuild b/app-misc/jot/jot-9.0-r2.ebuild index 874426e5cf2b..dc3323b878c8 100644 --- a/app-misc/jot/jot-9.0-r2.ebuild +++ b/app-misc/jot/jot-9.0-r2.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/athena-${P}" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~mips ppc ~ppc64 x86" +KEYWORDS="amd64 ~arm ~arm64 ~mips ppc ~ppc64 ~riscv x86" src_prepare() { default diff --git a/app-misc/tmuxp/Manifest b/app-misc/tmuxp/Manifest index 28774d4d4f08..09650972a01f 100644 --- a/app-misc/tmuxp/Manifest +++ b/app-misc/tmuxp/Manifest @@ -6,3 +6,5 @@ DIST tmuxp-1.66.0.tar.gz 1072798 BLAKE2B 02e74c2059e5451abf41f18499e71c8b58668a3 DIST tmuxp-1.67.0.tar.gz 1096493 BLAKE2B 4637b7403c1f5699719b754b46d018ad8e90807f590c1ffba3e9877f46cf292e3d2cade7e63bdd46a984cddad95d926ba804fbde5ee7a75ad72bf5c52f9e7c09 SHA512 b0d68796f323b449a5abf6c1cc64e21d1faadbc69a0b26696fd4456fbe871ea6c2408e7e18d002128d7576be3ef36988e4fceccf16200e53d1f021cc73c88165 DIST tmuxp-1.68.0.tar.gz 1051698 BLAKE2B 43ee20652f2dbe5f915e227305d95e7f61e4c881fb2e5e8bd55284268474079b02499294b669e6bb7117dd26e86ea71c9ea378ac57131d9921145748819a77ba SHA512 0ba2755768e555b247b989d491e482967205f365a0e2141e8e9ba6627c5da79f1bb62b5b7bbed8942c9dd1f27a2647b151caca7dc5a1ecdcb19a156d41f5d874 DIST tmuxp-1.70.0.tar.gz 1054547 BLAKE2B ac727d4113212c4f3a670b13b3a21d3557fbbcc1d3ea2c1d37ecd76a5403ef6e3fab0038b7554e579b51d0538082cf199d13cb2ab473a6b485a2612d1c662b12 SHA512 5cea69b6d4fb386d089a0105de96278a8635e7c01f086f0795ad71af1da5ff38f9ef1e38383be0b2a3e1f9c0ebf873874f2cb9e62d5fc87799981a2a7ee5ac5a +DIST tmuxp-1.70.1.tar.gz 1055549 BLAKE2B b3b52467690244f38e0655cdb8d73cffd8cfb5683fc5c7fe29582018e30f1adc04e77f139492f36c69be4725119655c4d6bfc0990e5ee6915cabed7719451a72 SHA512 d3ec7b76244f00033d56523f911b6ce2561e4bafed9487b384256b91dfa015f4766c52b0088fdc5e06630e1d914a4709985fd8ebf18d7d9ad72d722c872633f2 +DIST tmuxp-1.74.0.tar.gz 1114617 BLAKE2B 49e707105ba13a9e3e19a92fa750b33c85b442a31cb04dc6ff3eb8a185d114a154fb549f6f2f29397a42d9cd287f14f14bb5c453e893ba0762a30cc6462ca9be SHA512 3124c7da4d36730594dde5ce2a2bc4d5501eee52213e44279a8a5b533cbb123083c42f25ccec49d7186d8c1680b47955806ac49ee5f299d8f64886b3283cea39 diff --git a/app-misc/tmuxp/files/tmuxp-1.74.0_theme-name.patch b/app-misc/tmuxp/files/tmuxp-1.74.0_theme-name.patch new file mode 100644 index 000000000000..d3de41d2b107 --- /dev/null +++ b/app-misc/tmuxp/files/tmuxp-1.74.0_theme-name.patch @@ -0,0 +1,90 @@ +diff --git a/src/tmuxp/cli/_formatter.py b/src/tmuxp/cli/_formatter.py +index 2296c37b..50b652e6 100644 +--- a/src/tmuxp/cli/_formatter.py ++++ b/src/tmuxp/cli/_formatter.py +@@ -83,7 +83,7 @@ class TmuxpHelpFormatter(argparse.RawDescriptionHelpFormatter): + """ + + # Theme for colorization, set by create_themed_formatter() or externally +- _theme: HelpTheme | None = None ++ _tmuxp_theme: HelpTheme | None = None + + def _fill_text(self, text: str, width: int, indent: str) -> str: + """Fill text, colorizing examples sections if theme is available. +@@ -110,7 +110,7 @@ class TmuxpHelpFormatter(argparse.RawDescriptionHelpFormatter): + >>> formatter._fill_text("hello", 80, "") + 'hello' + """ +- theme = getattr(self, "_theme", None) ++ theme = getattr(self, "_tmuxp_theme", None) + if not text or theme is None: + return super()._fill_text(text, width, indent) + +@@ -347,7 +347,7 @@ def create_themed_formatter( + >>> colors = Colors(ColorMode.ALWAYS) + >>> formatter_cls = create_themed_formatter(colors) + >>> formatter = formatter_cls("test") +- >>> formatter._theme is not None ++ >>> formatter._tmuxp_theme is not None + True + + With colors disabled: +@@ -355,7 +355,7 @@ def create_themed_formatter( + >>> colors = Colors(ColorMode.NEVER) + >>> formatter_cls = create_themed_formatter(colors) + >>> formatter = formatter_cls("test") +- >>> formatter._theme is None ++ >>> formatter._tmuxp_theme is None + True + """ + # Import here to avoid circular import at module load +@@ -372,6 +372,6 @@ def create_themed_formatter( + + def __init__(self, prog: str, **kwargs: t.Any) -> None: + super().__init__(prog, **kwargs) +- self._theme = theme ++ self._tmuxp_theme = theme + + return ThemedTmuxpHelpFormatter +diff --git a/tests/cli/test_formatter.py b/tests/cli/test_formatter.py +index 3f1ba378..49b37142 100644 +--- a/tests/cli/test_formatter.py ++++ b/tests/cli/test_formatter.py +@@ -30,8 +30,8 @@ def test_create_themed_formatter_with_colors_enabled( + formatter_cls = create_themed_formatter(colors) + formatter = formatter_cls("test") + +- assert formatter._theme is not None +- assert formatter._theme.prog != "" # Has color codes ++ assert formatter._tmuxp_theme is not None ++ assert formatter._tmuxp_theme.prog != "" # Has color codes + + + def test_create_themed_formatter_with_colors_disabled() -> None: +@@ -40,7 +40,7 @@ def test_create_themed_formatter_with_colors_disabled() -> None: + formatter_cls = create_themed_formatter(colors) + formatter = formatter_cls("test") + +- assert formatter._theme is None ++ assert formatter._tmuxp_theme is None + + + def test_create_themed_formatter_auto_mode_respects_no_color( +@@ -51,7 +51,7 @@ def test_create_themed_formatter_auto_mode_respects_no_color( + formatter_cls = create_themed_formatter() + formatter = formatter_cls("test") + +- assert formatter._theme is None ++ assert formatter._tmuxp_theme is None + + + def test_create_themed_formatter_auto_mode_respects_force_color( +@@ -63,7 +63,7 @@ def test_create_themed_formatter_auto_mode_respects_force_color( + formatter_cls = create_themed_formatter() + formatter = formatter_cls("test") + +- assert formatter._theme is not None ++ assert formatter._tmuxp_theme is not None + + + def test_fill_text_with_theme_colorizes_examples( diff --git a/app-misc/tmuxp/tmuxp-1.70.1-r1.ebuild b/app-misc/tmuxp/tmuxp-1.70.1-r1.ebuild new file mode 100644 index 000000000000..eab8d148778c --- /dev/null +++ b/app-misc/tmuxp/tmuxp-1.70.1-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 2019-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +DISTUTILS_USE_PEP517=hatchling +inherit distutils-r1 + +DESCRIPTION="tmux session manager. built on libtmux" +HOMEPAGE="https://tmuxp.git-pull.com" +SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=app-misc/tmux-3.2 + =dev-python/libtmux-0.58.1*[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-6.2.5[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] + >=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/tmuxp-1.74.0_theme-name.patch" +) + +python_prepare_all() { + distutils-r1_python_prepare_all +} + +python_test() { + local -a EPYTEST_DESELECT=( + # test doesn't get along with sandbox + "tests/cli/test_load.py::test_load_zsh_autotitle_warning" + ) + + local -a EPYTEST_IGNORE=( + # not actually tests, but throws off test collection + "tests/fixtures/" + ) + + local -a EPYTEST_PLUGINS=( + pytest-mock + pytest-rerunfailures + ) + + # don't run doc tests as they need a bunch of extra sphinx stuff + rm -rf tests/docs || die + + SHELL="/bin/bash" epytest tests +} diff --git a/app-misc/tmuxp/tmuxp-1.74.0.ebuild b/app-misc/tmuxp/tmuxp-1.74.0.ebuild new file mode 100644 index 000000000000..7686facc8ea6 --- /dev/null +++ b/app-misc/tmuxp/tmuxp-1.74.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 2019-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +DISTUTILS_USE_PEP517=hatchling +inherit distutils-r1 + +DESCRIPTION="tmux session manager. built on libtmux" +HOMEPAGE="https://tmuxp.git-pull.com" +SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=app-misc/tmux-3.2 + =dev-python/libtmux-0.61.0*[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-6.2.5[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] + >=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/tmuxp-1.74.0_theme-name.patch" +) + +python_prepare_all() { + distutils-r1_python_prepare_all +} + +python_test() { + local -a EPYTEST_DESELECT=( + # test doesn't get along with sandbox + "tests/cli/test_load.py::test_load_zsh_autotitle_warning" + ) + + local -a EPYTEST_IGNORE=( + # not actually tests, but throws off test collection + "tests/fixtures/" + ) + + local -a EPYTEST_PLUGINS=( + pytest-mock + pytest-rerunfailures + ) + + # don't run doc tests as they need a bunch of extra sphinx stuff + rm -rf tests/docs || die + + SHELL="/bin/bash" epytest tests +} |
