diff options
Diffstat (limited to 'app-text')
| -rw-r--r-- | app-text/plover/plover-5.3.0.ebuild | 44 | ||||
| -rw-r--r-- | app-text/plover2cat/Manifest | 1 | ||||
| -rw-r--r-- | app-text/plover2cat/files/plover2cat-4.1.0-fix-suggestionsource.patch | 11 | ||||
| -rw-r--r-- | app-text/plover2cat/plover2cat-4.1.0.ebuild | 34 |
4 files changed, 69 insertions, 21 deletions
diff --git a/app-text/plover/plover-5.3.0.ebuild b/app-text/plover/plover-5.3.0.ebuild index d8ece2e..a9d5739 100644 --- a/app-text/plover/plover-5.3.0.ebuild +++ b/app-text/plover/plover-5.3.0.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2019 Gentoo Foundation +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 + PYTHON_COMPAT=( python3_{13,14} ) DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 inherit desktop distutils-r1 @@ -15,26 +17,26 @@ SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64" -RDEPEND=" - dev-python/appdirs - dev-python/babel - dev-python/evdev - dev-python/hidapi - dev-python/packaging - dev-python/pkginfo - dev-python/plover-stroke - dev-python/psutil - dev-python/pygments - dev-python/pyserial - dev-python/pyside - dev-python/python-xlib - dev-python/readme-renderer - dev-python/requests-cache - dev-python/requests-futures - dev-python/rtf-tokenize - dev-python/wcwidth - dev-python/xkbcommon -" +RDEPEND="$(python_gen_cond_dep ' + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/babel[${PYTHON_USEDEP}] + dev-python/evdev[${PYTHON_USEDEP}] + dev-python/hidapi[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pkginfo[${PYTHON_USEDEP}] + dev-python/plover-stroke[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/pyserial[${PYTHON_USEDEP}] + dev-python/pyside[${PYTHON_USEDEP}] + dev-python/python-xlib[${PYTHON_USEDEP}] + dev-python/readme-renderer[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/requests-futures[${PYTHON_USEDEP}] + dev-python/rtf-tokenize[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] + dev-python/xkbcommon[${PYTHON_USEDEP}] +')" BDEPEND=" dev-python/pyside[tools] " diff --git a/app-text/plover2cat/Manifest b/app-text/plover2cat/Manifest new file mode 100644 index 0000000..1abaabb --- /dev/null +++ b/app-text/plover2cat/Manifest @@ -0,0 +1 @@ +DIST plover2cat-4.1.0.tar.gz 163043 BLAKE2B e23c461568a7465784e69bf6b8f0cab0a2d92bd215a4f41470eec4c2d90fb662e4fea90eea359197ab843298901363add69d286af20ab24ce5c18e2c558ac6bf SHA512 049e5e3c0ee4597611e34ec8a41c2814b0f75086017d4e4ae230b51ee57c5ce09dbe1692a6ec472274a201be86983b1f6b1a5e59382b8c680736bf61360952b2 diff --git a/app-text/plover2cat/files/plover2cat-4.1.0-fix-suggestionsource.patch b/app-text/plover2cat/files/plover2cat-4.1.0-fix-suggestionsource.patch new file mode 100644 index 0000000..bc42eca --- /dev/null +++ b/app-text/plover2cat/files/plover2cat-4.1.0-fix-suggestionsource.patch @@ -0,0 +1,11 @@ +--- a/plover_cat/PloverCATWindow.py 2026-07-03 23:18:59.692770816 +0100 ++++ b/plover_cat/PloverCATWindow.py 2026-07-03 23:19:20.384088952 +0100 +@@ -190,7 +190,7 @@ + window_pal.setColor(QPalette.Base, back_color) + self.setPalette(window_pal) + if settings.contains("suggestionsource"): +- self.suggest_source.setCurrentIndex(settings.value("suggestionsource")) ++ self.suggest_source.setCurrentIndex(int(settings.value("suggestionsource"))) + if settings.contains("recentfiles"): + self.recent_file_menu() + self.textEdit = None diff --git a/app-text/plover2cat/plover2cat-4.1.0.ebuild b/app-text/plover2cat/plover2cat-4.1.0.ebuild new file mode 100644 index 0000000..eeb20dd --- /dev/null +++ b/app-text/plover2cat/plover2cat-4.1.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A CAT software for Plover" +HOMEPAGE=" + https://pypi.org/project/plover2cat/ +" +RDEPEND="$(python_gen_cond_dep ' + app-text/plover[${PYTHON_USEDEP}] + dev-python/dulwich[${PYTHON_USEDEP}] + dev-python/obsws-python[${PYTHON_USEDEP}] + dev-python/odfpy[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + dev-python/pyside[multimedia,speech,${PYTHON_USEDEP}] + dev-python/spylls[${PYTHON_USEDEP}] +')" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +src_prepare() { + default + sed -i 's/\r//' "${S}/plover_cat/PloverCATWindow.py" + eapply "${FILESDIR}/plover2cat-4.1.0-fix-suggestionsource.patch" +} |
