Install this version:
emerge -a =app-text/vale-3.9.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-text/vale-3.9.1
Or alternatively:
emerge --autounmask-write -a =app-text/vale-3.9.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.9.1 | 8 | ~amd64 | 0 |
# 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
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | vale-3.9.1-gentoo-deps.tar.xz | 68323412 bytes | https://github.com/ferki/vale/releases/download/v3.9.1-gentoo-deps/vale-3.9.1-gentoo-deps.tar.xz |
| DIST | vale-3.9.1.tar.gz | 10540125 bytes | https://github.com/errata-ai/vale/archive/v3.9.1.tar.gz |