logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: e489e721cf912f8c04b9d9abf84ab40cc6874489
parent d0c2c9e3235f6cf878a805596c2dcac85c41dab8
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 21 Jun 2023 12:54:58 +0200

app-text/grammalecte: new package, add 2.1.1

Diffstat:

Aapp-text/grammalecte/Manifest1+
Aapp-text/grammalecte/grammalecte-2.1.1.ebuild27+++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/app-text/grammalecte/Manifest b/app-text/grammalecte/Manifest @@ -0,0 +1 @@ +DIST Grammalecte-fr-v2.1.1.zip 4393120 BLAKE2B d1a5172548d95e6ce1befc02907b5595329391b4ccf789a1aa3e49106123b2f5a494be0f8908898a4ae264564189129227e1fd998f99b94b45007c232b854d57 SHA512 40cd63f2e6ad29ea563ad73129fbc65179b8cac97a3c5eaceb126ce7cab389c38622649ebc2bcc0a4aa1546c42a6bedbfffae0b0e3155c53de9c169e87f244ef diff --git a/app-text/grammalecte/grammalecte-2.1.1.ebuild b/app-text/grammalecte/grammalecte-2.1.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2023 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_SINGLE_IMPL=1 +inherit distutils-r1 + +DESCRIPTION="Correcteur grammatical et typographique open source dédié à la langue française" +HOMEPAGE="https://grammalecte.net/" +SRC_URI="https://grammalecte.net/zip/Grammalecte-fr-v${PV}.zip" +S="${WORKDIR}/" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="$(python_gen_cond_dep 'dev-python/bottle[${PYTHON_USEDEP}]')" +DEPEND="${RDEPEND}" + +src_prepare() { + rm grammalecte/bottle.py || die + sed -i -e 's;grammalecte.bottle;bottle;' grammalecte-server.py || die + + default +}