aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerenc Erki <erkiferenc@gmail.com>2024-08-25 16:55:45 +0200
committerFerenc Erki <erkiferenc@gmail.com>2024-08-25 16:55:45 +0200
commit5e4367bd064f45dd4ed28914ef13a4de6b4175c1 (patch)
tree5a4cd8a176312be3c9ce5e1b22ae01ed81a12c23 /app-text
parentgui-apps/pop-launcher: add missing deps (diff)
downloadguru-5e4367bd064f45dd4ed28914ef13a4de6b4175c1.tar.gz
guru-5e4367bd064f45dd4ed28914ef13a4de6b4175c1.tar.bz2
guru-5e4367bd064f45dd4ed28914ef13a4de6b4175c1.zip
app-text/vale: add 3.7.1
Signed-off-by: Ferenc Erki <erkiferenc@gmail.com>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/vale/Manifest2
-rw-r--r--app-text/vale/vale-3.7.1.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/app-text/vale/Manifest b/app-text/vale/Manifest
index ce08991f4..5e16e9071 100644
--- a/app-text/vale/Manifest
+++ b/app-text/vale/Manifest
@@ -2,3 +2,5 @@ DIST vale-3.6.1-gentoo-deps.tar.xz 162274372 BLAKE2B c6db735787e439f2eac06fcf829
DIST vale-3.6.1.tar.gz 10534500 BLAKE2B 23dba19ea464b9b1c1175bcf01a76b40a7caf74cff7091f5f9223bca5adbe209b18c49029f42d3793a07ba545381b333a32388c7ac6f6e62c9e8646cda481278 SHA512 3651799d1dd617ad2e3adcab28ca855dff8e8e0b052f38994c677293fca11ec4f9002f7701406df3aa53f364a9734e380043045008929c16f76281682dcd1e24
DIST vale-3.7.0-gentoo-deps.tar.xz 162284224 BLAKE2B 90ce7ac3938f2e78575938506f4174e4f72ae65e8894497e90f0855c58f39cd49d24f08cc17161552e7fc66351a1461b5f358892789fad9a6eee7c5d2c25cea3 SHA512 e0c02325687ab651476b4d809129c9239f3990a2184cb9827ebb0ea856257b6efb4ee47b552cc0a507dc12664763a7916477cab1468996b5a86353af34dab7cd
DIST vale-3.7.0.tar.gz 10537281 BLAKE2B 3d66ba28edbbcf5cd0b52d876b2fd05804a033f29e58d643b1c8b44253bcaac6c97e1ceec9ab41c936e225ab81ff9376e38142e8581fea39e60112cf443ef6d5 SHA512 da7bcf9ba6dd470d2047081193ee1f91f585d29dbd0fcaf4bbab7eef24f80946264db38ba9d1250a7aed1396aaa4a0818056244cdecaeb0b01d3e8e57a3bdc57
+DIST vale-3.7.1-gentoo-deps.tar.xz 67817256 BLAKE2B 7f383724a617204186ca63f7d9dfdf8bb51d9f4f466e8b8e79d77ed07b2c026cf08cb62d0f537e82983400e65e6be633cb8ef0e674f4e75b8697ca6d0e28d991 SHA512 e329d477385c86e889f39669d7b9cf62c982502cbd26033b3b3998ef350b3cdb392bb00a92f19a097c314419d5086b529f11bf9c7b0ecdb3b1becf10ef86ef8d
+DIST vale-3.7.1.tar.gz 10538611 BLAKE2B 7e1f4ea713e6a023112f8d5bc38fc734e8e64b1f4b6b7efded85e05982cd91b73d2239ee5c502a001268e3f5919650deb58c26d8c3af69e330fe86c22003d80b SHA512 b9fb4842f58816225d5f82c902b0fc7fb8965094f8cb429aa9d016fc50fb4d807e5dbc72a88c96b80c0e7fd96f60908bf3a28a0a3b75c26b5dab3974fccd3193
diff --git a/app-text/vale/vale-3.7.1.ebuild b/app-text/vale/vale-3.7.1.ebuild
new file mode 100644
index 000000000..47410dd3e
--- /dev/null
+++ b/app-text/vale/vale-3.7.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
+}