From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 02F7E158009 for ; Mon, 26 Jun 2023 11:24:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D893E0928; Mon, 26 Jun 2023 11:24:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 609B2E0928 for ; Mon, 26 Jun 2023 11:24:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 519E8340DED for ; Mon, 26 Jun 2023 11:24:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77D4AAC4 for ; Mon, 26 Jun 2023 11:24:20 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1687454996.b9746174d6ffab9e3de8eb2c1357634bd20b42a4.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/vale/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-text/vale/Manifest app-text/vale/metadata.xml app-text/vale/vale-2.27.0.ebuild X-VCS-Directories: app-text/vale/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: b9746174d6ffab9e3de8eb2c1357634bd20b42a4 X-VCS-Branch: master Date: Mon, 26 Jun 2023 11:24:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 71d87a0c-e826-43bd-b779-b1360507a5e0 X-Archives-Hash: 30732880510c2ca4c9aa9ce2f1fd0e0b commit: b9746174d6ffab9e3de8eb2c1357634bd20b42a4 Author: Ferenc Erki gmail com> AuthorDate: Thu Jun 22 17:29:56 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu Jun 22 17:29:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b9746174 app-text/vale: new package, add 2.27.0 Signed-off-by: Ferenc Erki gmail.com> app-text/vale/Manifest | 2 ++ app-text/vale/metadata.xml | 11 ++++++++++ app-text/vale/vale-2.27.0.ebuild | 45 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+) diff --git a/app-text/vale/Manifest b/app-text/vale/Manifest new file mode 100644 index 000000000..4195ec65e --- /dev/null +++ b/app-text/vale/Manifest @@ -0,0 +1,2 @@ +DIST vale-2.27.0-gentoo-deps.tar.xz 137327640 BLAKE2B 384bc73f222b7abddaa77329411ab9f8fcf5712a031d0f3e793239c2d21bda5dfc6ab9e3e920a3d302cdd1fb82ab909c5824929e4884471a4f213cd15a9817dc SHA512 d5ba4f77154f1e8ab5b017bcdcf1965797d3e4f8289d8446cb795ae1d6871189d149de02e258195fc6c2a144acb3e3e18d0edda8e878ba71bd8079724876261e +DIST vale-2.27.0.tar.gz 9654797 BLAKE2B 9c601a4e7bc877a8a2706d5a3e6374921abb59e71dee46ad30921d687aef7c13de83a936ac6da0a7267c0eaa1102c23024cf7ac37141dee778675cb399b28429 SHA512 759552fd0a794accf9de74d87e3bc3c31aa0d6ea99a9a60bf884112398a719321cd1596d0573111d19c28a6eea3aea3ff28e7f919117f0b6f31cec31c177de37 diff --git a/app-text/vale/metadata.xml b/app-text/vale/metadata.xml new file mode 100644 index 000000000..794aefbe4 --- /dev/null +++ b/app-text/vale/metadata.xml @@ -0,0 +1,11 @@ + + + + + erkiferenc@gmail.com + Ferenc Erki + + + errata-ai/vale + + diff --git a/app-text/vale/vale-2.27.0.ebuild b/app-text/vale/vale-2.27.0.ebuild new file mode 100644 index 000000000..a328c323e --- /dev/null +++ b/app-text/vale/vale-2.27.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-2023 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 +}