From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 1761E158287 for ; Mon, 12 May 2025 04:42:17 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id F3C223430AB for ; Mon, 12 May 2025 04:42:16 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E500F1102C5; Mon, 12 May 2025 04:42:15 +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 bobolink.gentoo.org (Postfix) with ESMTPS id DCD2B1102C5 for ; Mon, 12 May 2025 04:42: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 8B6C5343090 for ; Mon, 12 May 2025 04:42:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F049DDA7 for ; Mon, 12 May 2025 04:42: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: <1747024863.b9b965be75970b2b7852167c6ea46cea14a8b15c.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.6.2.ebuild X-VCS-Directories: dev-ruby/diff-lcs/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: b9b965be75970b2b7852167c6ea46cea14a8b15c X-VCS-Branch: master Date: Mon, 12 May 2025 04:42: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: 48c9ddc2-45e0-4d3d-9b7a-e44cc2b4c6d5 X-Archives-Hash: baae2432cc21dd1dc766da70e3996ff3 commit: b9b965be75970b2b7852167c6ea46cea14a8b15c Author: Hans de Graaff gentoo org> AuthorDate: Mon May 12 04:41:03 2025 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon May 12 04:41:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9b965be dev-ruby/diff-lcs: add 1.6.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/diff-lcs/Manifest | 1 + dev-ruby/diff-lcs/diff-lcs-1.6.2.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/dev-ruby/diff-lcs/Manifest b/dev-ruby/diff-lcs/Manifest index 5fdfda2ce468..84d593a80f2a 100644 --- a/dev-ruby/diff-lcs/Manifest +++ b/dev-ruby/diff-lcs/Manifest @@ -1,3 +1,4 @@ DIST diff-lcs-1.5.1.gem 53248 BLAKE2B a40399223c659b548e59605eb537faae8eff139cacf793fea6af1e543016f8afa80049490dccf915edb0063bd3d71705e47c6343e1f616903b8c12a6f37c8cf4 SHA512 ad0357a047b57bb0314b158f92e83485cec9fe6a3dfeb16117d57cf746ee38545f652397093448862ff36d13945bda3b26bb22b5d0d91643b16ae11548ef463b DIST diff-lcs-1.6.0.gem 56832 BLAKE2B 050dcb2e24d77a2d2f6e1d6fcc1980f7f8138ff68f05a1411f8430a59fe9bfa4d23d6caf2d8a5c7486fbb6af1a6f5a08f31a729d77be46f89abe91dc51c6ecae SHA512 f87928a34c65bb99cbf88e934b0d6e6094ef7a8f37b1cf08c5f3d709389f5041b71f47995396ede1adf44a58147ac9beb8aad887dd8e5c56773192afff11d527 DIST diff-lcs-1.6.1.gem 58880 BLAKE2B 37c527732c85fb4d3a3604b5f8a12d33325a54267b218deab4bcc4b9740f817073a69183c0cd395275b721aac5688aced8cee4b2479ed28df31a83e950fceab0 SHA512 2a454a1b918d4b2b62ea1c313e0cfd9ebf5d4c222d4da8d0e2fab11cbe7f4a105de6cb495a1b75e488b894a8fb30c80b8645740e1412f6cbf57134018d5eecf0 +DIST diff-lcs-1.6.2.gem 59392 BLAKE2B ffdc160b0034e53371d08ffa36baae341f93640c644a418bcd331bcf8c6c0d8cfa1b2421b899c5897e2083a4829437d58cfd051ae7e8d6674a444f61c87f5f52 SHA512 0cfaae5b02784dfb17906afe3f044aa58cedb866b4d07229fec8c0859d78c03d24eaba37a951d1a0cc85df63a4132c46a600953ff3a80cd0830ad07e687f8894 diff --git a/dev-ruby/diff-lcs/diff-lcs-1.6.2.ebuild b/dev-ruby/diff-lcs/diff-lcs-1.6.2.ebuild new file mode 100644 index 000000000000..421c450d4c24 --- /dev/null +++ b/dev-ruby/diff-lcs/diff-lcs-1.6.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.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 + + # Skip ldiff specs altogether for now since the fixtures are riddled + # with encoding and newline issues and ldiff is not the core of this gem. + rm -f spec/ldiff_spec.rb || die +}