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 B981D15815E for ; Thu, 1 Feb 2024 07:07:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C64E1E2AB9; Thu, 1 Feb 2024 07:07:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 A883BE2AB9 for ; Thu, 1 Feb 2024 07:07:15 +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 C211334321E for ; Thu, 1 Feb 2024 07:07:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07AD813AA for ; Thu, 1 Feb 2024 07:07:13 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1706771148.98b326caa7d8ddcbf6d306a4c1ca7e26d0627784.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/diff-lcs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/diff-lcs/Manifest dev-ruby/diff-lcs/diff-lcs-1.5.1.ebuild X-VCS-Directories: dev-ruby/diff-lcs/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 98b326caa7d8ddcbf6d306a4c1ca7e26d0627784 X-VCS-Branch: master Date: Thu, 1 Feb 2024 07:07:13 +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: dc361f8c-3cf9-47b5-985b-4e534690b216 X-Archives-Hash: edec9a1b5519d63ceb9cc1e5a510709f commit: 98b326caa7d8ddcbf6d306a4c1ca7e26d0627784 Author: Hans de Graaff gentoo org> AuthorDate: Thu Feb 1 07:00:56 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Feb 1 07:05:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98b326ca dev-ruby/diff-lcs: add 1.5.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/diff-lcs/Manifest | 1 + dev-ruby/diff-lcs/diff-lcs-1.5.1.ebuild | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/dev-ruby/diff-lcs/Manifest b/dev-ruby/diff-lcs/Manifest index 5c69600af348..82610ea80a0c 100644 --- a/dev-ruby/diff-lcs/Manifest +++ b/dev-ruby/diff-lcs/Manifest @@ -1 +1,2 @@ DIST diff-lcs-1.5.0.gem 52736 BLAKE2B ff405fd3ed5238af3eba2ab4fa277edca0eec66df93b0e8d6fba1a52980d484623e57f70587de31fec1696e556f2ae90d82af4b856a9bd4a248de12aa74ada4a SHA512 5cef9dc1d143217cc402173e2b84ffdcbb8d5a4d05716bdbca732ac00d73591e4cab2f7e792382a3686d8e72fdc32269fd7100941d602ca6d683e7645229ef8d +DIST diff-lcs-1.5.1.gem 53248 BLAKE2B a40399223c659b548e59605eb537faae8eff139cacf793fea6af1e543016f8afa80049490dccf915edb0063bd3d71705e47c6343e1f616903b8c12a6f37c8cf4 SHA512 ad0357a047b57bb0314b158f92e83485cec9fe6a3dfeb16117d57cf746ee38545f652397093448862ff36d13945bda3b26bb22b5d0d91643b16ae11548ef463b diff --git a/dev-ruby/diff-lcs/diff-lcs-1.5.1.ebuild b/dev-ruby/diff-lcs/diff-lcs-1.5.1.ebuild new file mode 100644 index 000000000000..6c8b61e3ef2f --- /dev/null +++ b/dev-ruby/diff-lcs/diff-lcs-1.5.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.md" + +inherit ruby-fakegem + +DESCRIPTION="Use the McIlroy-Hunt LCS algorithm to compute differences" +HOMEPAGE="https://github.com/halostatue/diff-lcs" + +LICENSE="|| ( Artistic MIT GPL-2+ )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +each_ruby_prepare() { + # Use the current ruby to test script invocation + sed -e "/system/ s:ruby:${RUBY}:" \ + -i spec/ldiff_spec.rb || die +}