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 82B0215802E for ; Tue, 25 Jun 2024 09:11:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25E4A2BC020; Tue, 25 Jun 2024 09:11:02 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 083872BC020 for ; Tue, 25 Jun 2024 09:11:02 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66C19343067 for ; Tue, 25 Jun 2024 09:11:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 865B21D53 for ; Tue, 25 Jun 2024 09:10:57 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1718885211.c304271b0f6addd9d4bd7256379f1df9a311237c.davidroman@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/vale-3.6.0.ebuild X-VCS-Directories: app-text/vale/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: c304271b0f6addd9d4bd7256379f1df9a311237c X-VCS-Branch: master Date: Tue, 25 Jun 2024 09:10:57 +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: 48cad6a4-d04f-4943-8f06-4c1796f5dcf1 X-Archives-Hash: 58e6cc1e35791c6d71ff4ef4dc463fb7 commit: c304271b0f6addd9d4bd7256379f1df9a311237c Author: Ferenc Erki gmail com> AuthorDate: Thu Jun 20 12:06:51 2024 +0000 Commit: David Roman gmail com> CommitDate: Thu Jun 20 12:06:51 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c304271b app-text/vale: add 3.6.0 Signed-off-by: Ferenc Erki gmail.com> app-text/vale/Manifest | 2 ++ app-text/vale/vale-3.6.0.ebuild | 45 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/app-text/vale/Manifest b/app-text/vale/Manifest index c4d9bf23d..f4dbcbab9 100644 --- a/app-text/vale/Manifest +++ b/app-text/vale/Manifest @@ -6,3 +6,5 @@ DIST vale-3.4.2-gentoo-deps.tar.xz 146710436 BLAKE2B 62b1f122f6f29c9037762675e6e DIST vale-3.4.2.tar.gz 10528649 BLAKE2B ddad91adc3a132d583df305501f0b80af7267ce249c17f54abe57c013e03463bd3a143a789148637a393cc479da257aabf06597fb9f70a1e961f8854d21cb9f3 SHA512 e6d6ec06d968ac35abf7f08eb5938b46f2e0162c511acef89f0307ba8a917cd7b9b9c3e0ddee50b720e845252991a88a5fa52f9cc3f9415130147db7c2256dac DIST vale-3.5.0-deps.tar.xz 163145008 BLAKE2B 03c657708096bccfb3fe478f70a46dd8ee7d75193f3422641c74b34f44b790f6f809514b0d4fe3e2b1a02719f620d747104ac8b4165592490b288e348bea586e SHA512 ed1c66fbf879abded56d18b1d6ec87ecd8eee6bbf5a048eb7fde3a2ae5e42b99f1ca4acb56cc791dfb0f0ebc2f925cebdd3a6080fc30999fd0cba403d8332241 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 diff --git a/app-text/vale/vale-3.6.0.ebuild b/app-text/vale/vale-3.6.0.ebuild new file mode 100644 index 000000000..47410dd3e --- /dev/null +++ b/app-text/vale/vale-3.6.0.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 +}