diff options
| author | winter Sparkles | 2026-07-03 23:35:36 +0100 |
|---|---|---|
| committer | winter Sparkles | 2026-07-03 23:37:02 +0100 |
| commit | f886997649e46a7ec1f92f4b662ab2e37948ba38 (patch) | |
| tree | 1ec87644e581c17fcefa2c336eb4532325e385e5 | |
| parent | 360d850003945b988c8b205242c3336ca6b0b8fc (diff) | |
add plover2cat and some other plugins
| -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 | ||||
| -rw-r--r-- | dev-python/obsws-python/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/obsws-python/obsws-python-1.8.0.ebuild | 22 | ||||
| -rw-r--r-- | dev-python/spylls/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/spylls/files/spylls-0.1.7-dont-install-tests.patch | 11 | ||||
| -rw-r--r-- | dev-python/spylls/spylls-0.1.7.ebuild | 22 | ||||
| -rw-r--r-- | plover-plugin/auto-reconnect-machine/Manifest | 1 | ||||
| -rw-r--r-- | plover-plugin/auto-reconnect-machine/auto-reconnect-machine-0.1.0.ebuild | 20 | ||||
| -rw-r--r-- | plover-plugin/clippy2/Manifest | 1 | ||||
| -rw-r--r-- | plover-plugin/clippy2/clippy2-0.0.8.ebuild | 20 | ||||
| -rw-r--r-- | plover-plugin/lapwing-aio/lapwing-aio-1.5.0.ebuild | 17 | ||||
| -rw-r--r-- | plover-plugin/tapey-tape/Manifest | 1 | ||||
| -rw-r--r-- | plover-plugin/tapey-tape/tapey-tape-0.0.6.ebuild | 20 | ||||
| -rw-r--r-- | readme.org | 23 |
17 files changed, 217 insertions, 33 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" +} diff --git a/dev-python/obsws-python/Manifest b/dev-python/obsws-python/Manifest new file mode 100644 index 0000000..1b0e971 --- /dev/null +++ b/dev-python/obsws-python/Manifest @@ -0,0 +1 @@ +DIST obsws_python-1.8.0.tar.gz 28727 BLAKE2B 42ef5edc1f8f22ccb6c8a1ace64d41eb9b641c65445fc56b77913404a1285e740ae99028a7b029e5a73f08ab08a3b08d15e187dc18815689570b2bd615222643 SHA512 f74049640ac2fe73976da884fa0dc567e5d10782c93716e19469f402ef1010f4af3965bfe784679ddb5c3488629ea7aa78810a32b8be772f56ebbfc779230b52 diff --git a/dev-python/obsws-python/obsws-python-1.8.0.ebuild b/dev-python/obsws-python/obsws-python-1.8.0.ebuild new file mode 100644 index 0000000..c5ce36e --- /dev/null +++ b/dev-python/obsws-python/obsws-python-1.8.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python SDK for OBS Studio WebSocket v5.0" +HOMEPAGE="https://pypi.org/project/obsws-python/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="$(python_gen_cond_dep ' +dev-python/websocket-client[${PYTHON_USEDEP}] +')" + +distutils_enable_tests pytest diff --git a/dev-python/spylls/Manifest b/dev-python/spylls/Manifest new file mode 100644 index 0000000..556afec --- /dev/null +++ b/dev-python/spylls/Manifest @@ -0,0 +1 @@ +DIST spylls-0.1.7.tar.gz 1499693 BLAKE2B 2e75bad084fa1ee00b8ebfaf7150791ad7f5b30c2273a09f3fdd15c501dc9565b2f6ad58dd8c80b88d1dcdf44ea6bfcdd9391046986945eda2343338ba306ba8 SHA512 046a354750fe76d035e80fb153e15cbf45aa179c34ae1ec78fbc0b6c920a9af83d91bbb68c34dd5a95fb6c1d7c672dbadd97fbaa0b45201662de5ef876e4a614 diff --git a/dev-python/spylls/files/spylls-0.1.7-dont-install-tests.patch b/dev-python/spylls/files/spylls-0.1.7-dont-install-tests.patch new file mode 100644 index 0000000..c351b4a --- /dev/null +++ b/dev-python/spylls/files/spylls-0.1.7-dont-install-tests.patch @@ -0,0 +1,11 @@ +--- a/setup.py 2026-07-03 20:54:20.548344244 +0100 ++++ b/setup.py 2026-07-03 20:55:07.175186902 +0100 +@@ -11,7 +11,7 @@ + description="Hunspell ported to pure Python", + long_description=long_description, + url="https://github.com/zverok/spylls", +- packages=setuptools.find_packages(), ++ packages=setuptools.find_packages(exclude=["tests", "tests.*"]), + include_package_data=True, + classifiers=[ + "Development Status :: 4 - Beta",
\ No newline at end of file diff --git a/dev-python/spylls/spylls-0.1.7.ebuild b/dev-python/spylls/spylls-0.1.7.ebuild new file mode 100644 index 0000000..696e925 --- /dev/null +++ b/dev-python/spylls/spylls-0.1.7.ebuild @@ -0,0 +1,22 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Hunspell ported to pure Python" +HOMEPAGE="https://pypi.org/project/spylls/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +PATCHES=( + "${FILESDIR}/spylls-0.1.7-dont-install-tests.patch" +) + +distutils_enable_tests pytest diff --git a/plover-plugin/auto-reconnect-machine/Manifest b/plover-plugin/auto-reconnect-machine/Manifest new file mode 100644 index 0000000..db399f1 --- /dev/null +++ b/plover-plugin/auto-reconnect-machine/Manifest @@ -0,0 +1 @@ +DIST plover_auto_reconnect_machine-0.1.0.tar.gz 15342 BLAKE2B d8f6b457d8e1e9918061c8425365aaaa5b4739cce23b76b2cfcb48b52b2bee3d22c733c5d6c9d40c5b485fb2959a2d47aeea8192606d1c5308c1777e806e601a SHA512 e05d9af7f61c9685937aca8266d61009bb1254122f06f88b38357feedc5311d70854d54157fba1f377c09028204e140d94be2af1901cec3c6d4c38e6d87052c6 diff --git a/plover-plugin/auto-reconnect-machine/auto-reconnect-machine-0.1.0.ebuild b/plover-plugin/auto-reconnect-machine/auto-reconnect-machine-0.1.0.ebuild new file mode 100644 index 0000000..9ec5db6 --- /dev/null +++ b/plover-plugin/auto-reconnect-machine/auto-reconnect-machine-0.1.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6..14} ) +PYPI_PN=plover-${PN} + +inherit distutils-r1 pypi + +DESCRIPTION="Automatically reconnect the steno machine if the connection got lost." +HOMEPAGE=" + https://pypi.org/project/${PYPI_PN}/ +" +DEPEND="app-text/plover" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" diff --git a/plover-plugin/clippy2/Manifest b/plover-plugin/clippy2/Manifest new file mode 100644 index 0000000..f2ce7fe --- /dev/null +++ b/plover-plugin/clippy2/Manifest @@ -0,0 +1 @@ +DIST plover_clippy_2-0.0.8.tar.gz 27623 BLAKE2B eb8094197af71cf3bffa694d5c731a92986ab73d4bc2d6c912b34967464e8e9f8d03fe67b204ea57dae53292f6493734aac60a2f3b3c3cefcde1ebd71d119323 SHA512 987d720576746df9a67a0a658835fca2d3fbfecef600fc09a7703f0dc8db15395fcabaa8685de1189233e351f1180e3df786407876e6f93506f9822e4d885935 diff --git a/plover-plugin/clippy2/clippy2-0.0.8.ebuild b/plover-plugin/clippy2/clippy2-0.0.8.ebuild new file mode 100644 index 0000000..58094c4 --- /dev/null +++ b/plover-plugin/clippy2/clippy2-0.0.8.ebuild @@ -0,0 +1,20 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7..14} ) +PYPI_PN=plover-clippy-2 + +inherit distutils-r1 pypi + +DESCRIPTION="Logs inefficient strokes to a file for later review. (fork)" +HOMEPAGE=" + https://pypi.org/project/${PYPI_PN}/ +" +DEPEND="app-text/plover" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" diff --git a/plover-plugin/lapwing-aio/lapwing-aio-1.5.0.ebuild b/plover-plugin/lapwing-aio/lapwing-aio-1.5.0.ebuild index e2b6542..242454b 100644 --- a/plover-plugin/lapwing-aio/lapwing-aio-1.5.0.ebuild +++ b/plover-plugin/lapwing-aio/lapwing-aio-1.5.0.ebuild @@ -4,6 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 PYTHON_COMPAT=( python3_{6..14} ) PYPI_PN=plover-${PN} @@ -13,14 +14,14 @@ DESCRIPTION="All the necessary plugins and dictionaries for using Lapwing theory HOMEPAGE=" https://pypi.org/project/${PYPI_PN}/ " -DEPEND="app-text/plover" -RDEPEND=" - plover-plugin/dict-commands - plover-plugin/last-translation - plover-plugin/modal-dictionary - plover-plugin/python-dictionary - plover-plugin/stitching -" +DEPEND="app-text/plover[${PYTHON_SINGLE_USEDEP}]" +RDEPEND="$(python_gen_cond_dep ' + plover-plugin/dict-commands[${PYTHON_USEDEP}] + plover-plugin/last-translation[${PYTHON_USEDEP}] + plover-plugin/modal-dictionary[${PYTHON_USEDEP}] + plover-plugin/python-dictionary[${PYTHON_USEDEP}] + plover-plugin/stitching[${PYTHON_USEDEP}] +')" LICENSE="GPL-2" SLOT="0" diff --git a/plover-plugin/tapey-tape/Manifest b/plover-plugin/tapey-tape/Manifest new file mode 100644 index 0000000..81a5722 --- /dev/null +++ b/plover-plugin/tapey-tape/Manifest @@ -0,0 +1 @@ +DIST plover_tapey_tape-0.0.6.tar.gz 21328 BLAKE2B 8e4ceca06c74477c4210c4e94b947bba57919c25a22d34e6e6de46a15d49d1276401cd2956d6e08dd847071aa384156c6e88e9e55da1fd9fbd9eb2fc413e57b4 SHA512 329607452342179976b8140efd878ea1999c53c195adf6d40f728ceae0fed053be53a56a615011105c5d579c989a6616b260666fa71df0e92f2062507a57b4bc diff --git a/plover-plugin/tapey-tape/tapey-tape-0.0.6.ebuild b/plover-plugin/tapey-tape/tapey-tape-0.0.6.ebuild new file mode 100644 index 0000000..a5e90a3 --- /dev/null +++ b/plover-plugin/tapey-tape/tapey-tape-0.0.6.ebuild @@ -0,0 +1,20 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6..14} ) +PYPI_PN=plover-${PN} + +inherit distutils-r1 pypi + +DESCRIPTION="Paper tape with extra information" +HOMEPAGE=" + https://pypi.org/project/${PYPI_PN}/ +" +DEPEND="app-text/plover" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" @@ -1,7 +1,22 @@ * sparkly-ebuilds -this is a collection of gentoo packages you can use but i just made them for myself +this is a collection of gentoo packages you can use but i just made them +for myself ** plover -- install =app-text/plover= for the open source stenography engine -- some plugins are available in the category =plover-plugin= (e.g. =plover-plugin/lapwing-aio=) -- the integrated Plugins Manager inside plover will not work +install =app-text/plover= for the open source stenography engine [[https://opensteno.org/plover/][Plover]]. +it's written in python, currently targeting python 3.13, but in my +testing it also works flawlessly on 3.14. + +note that the only officially supported installation method is appimage; +personally i hate appimages so that's why i made this set of packages +but do bear in mind it may have sneaky unexpected bugs. if you encounter +any bugs using this package please report them to *me* and not to the +upstream plover project unless they also occur with the appimage. + +*** plugins +- the integrated Plugins Manager inside plover will not work, as it + tries to install python modules globally which is blocked by gentoo. + therefore you have to install them via portage. i packaged a few here +- see the category =plover-plugin= (e.g. =plover-plugin/lapwing-aio= for + [[https://lapwing.aerick.ca/][Lapwing]] support) +- =app-text/plover2cat= for the transcription software [[https://plover2cat.readthedocs.io/][Plover2CAT]] |
