diff options
author | 2024-07-09 13:05:52 +0200 | |
---|---|---|
committer | 2024-07-09 13:05:52 +0200 | |
commit | 98580ada89c8137de66a976e2716793a5aba0eee (patch) | |
tree | 2320415c7720acf6bd86731e691d44d2dd2afb31 /app-text | |
parent | dev-python/python-statemachine: add 2.3.3 (diff) | |
download | guru-98580ada89c8137de66a976e2716793a5aba0eee.tar.gz guru-98580ada89c8137de66a976e2716793a5aba0eee.tar.bz2 guru-98580ada89c8137de66a976e2716793a5aba0eee.zip |
app-text/vale: add 3.6.1
Signed-off-by: Ferenc Erki <erkiferenc@gmail.com>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/vale/Manifest | 2 | ||||
-rw-r--r-- | app-text/vale/vale-3.6.1.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/app-text/vale/Manifest b/app-text/vale/Manifest index f4dbcbab9e..a9a6c199b2 100644 --- a/app-text/vale/Manifest +++ b/app-text/vale/Manifest @@ -8,3 +8,5 @@ DIST vale-3.5.0-deps.tar.xz 163145008 BLAKE2B 03c657708096bccfb3fe478f70a46dd8ee DIST vale-3.5.0.tar.gz 10535020 BLAKE2B 35808c41569a75bdcc32c6339e56adbdf44bfbcf9a52f8447f10d706c91ee097948a12264406891701911d7ce5a910f5fc7bdce3e486a6103eeb2f093735a544 SHA512 131f102033090e81afabf883068f96d30c81b4dd24fac51e86fa71ce76a81b9da23063837e3cee2464394f6af5f5ef2153ef1effceb3ca1554b04639b8aad109 DIST vale-3.6.0-gentoo-deps.tar.xz 162279280 BLAKE2B 4d18fbfc6d5d1aac0790c7ca70791780030f93bb77ae09863ef2ad4f304c19b683a48e6f9d59031e3342d796c62c60bfac427fc6339ad59bdab24818ebdb8629 SHA512 05ecd719d796bd9c912e2d50fbc510f7460a721c65d64f535880be585cf49c197a5bdc2f305e9ccd583ac7e342d4223ebf18fc0cd67657feec8ba3bdf91fed88 DIST vale-3.6.0.tar.gz 10535190 BLAKE2B 4d8baf8c10e8cf7a261caff85e82858d938790487ad8e57cc38af33a0f7ee4f10eb5e1a8de9b9e971be28e58068b04804b9d0578527c646bd3debff4b47f687a SHA512 deaaf76bc829b34ca343fc78890c650bcdfe894d46460e61c8cc7d6aba2bc935ebcc2993b1f91d33c53ec861831d79471d2a11481dd707746da2afb24fa2c16f +DIST vale-3.6.1-gentoo-deps.tar.xz 162274372 BLAKE2B c6db735787e439f2eac06fcf829e41ec45e0d34d0da9a16a08f9e562c9221588fb1cb0b2786663cec3f149c7c27d2965c14b60375f7da85f22a0e72d122fd440 SHA512 2d26fd9d4b09a393933472fa25f3fc6299a42666360177a23efd4f4fef5e5ffba44f62b8cd025c929ea78d53e1efdec972a9c79daac53aff4a1763810df289e3 +DIST vale-3.6.1.tar.gz 10534500 BLAKE2B 23dba19ea464b9b1c1175bcf01a76b40a7caf74cff7091f5f9223bca5adbe209b18c49029f42d3793a07ba545381b333a32388c7ac6f6e62c9e8646cda481278 SHA512 3651799d1dd617ad2e3adcab28ca855dff8e8e0b052f38994c677293fca11ec4f9002f7701406df3aa53f364a9734e380043045008929c16f76281682dcd1e24 diff --git a/app-text/vale/vale-3.6.1.ebuild b/app-text/vale/vale-3.6.1.ebuild new file mode 100644 index 0000000000..47410dd3e7 --- /dev/null +++ b/app-text/vale/vale-3.6.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module optfeature + +DESCRIPTION="A syntax-aware linter for prose built with speed and extensibility in mind" +HOMEPAGE="https://vale.sh/docs/" + +SRC_URI=" + https://github.com/errata-ai/vale/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/ferki/${PN}/releases/download/v${PV}-gentoo-deps/${P}-gentoo-deps.tar.xz +" + +LICENSE="Apache-2.0 BSD BSD-2 MIT public-domain" +SLOT="0" +KEYWORDS="~amd64" + +# tests require: +# - various ruby gems: see testdata/Gemfile +# - packaged optional runtime dependencies: asciidoctor, rst2html, xsltproc +# - unpackaged optional runtime dependency: dita (may be removed in a patch) +# - network access: sync subcommand tests (may be removed in a patch) +RESTRICT="test" + +src_prepare() { + sed -i "s/\$(LAST_TAG)/v${PV}/" Makefile || die 'sed failed' + default +} + +src_compile() { + emake build os=linux +} + +src_install() { + dobin bin/vale + default_src_install +} + +pkg_postinst() { + optfeature "AsciiDoc support" dev-ruby/asciidoctor + optfeature "reStructuredText support" dev-python/docutils + optfeature "XML support" dev-libs/libxslt +} |