dev-ruby/diff-lcs: add 2.0.0

* Unkeyworded due to tricky reverse dependency situation.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1527
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2026-07-24 21:35:05 +03:00
committed by Sam James
parent db174c869c
commit 7a4de63b03
2 changed files with 34 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST diff-lcs-1.6.1.gem 58880 BLAKE2B 37c527732c85fb4d3a3604b5f8a12d33325a54267b218deab4bcc4b9740f817073a69183c0cd395275b721aac5688aced8cee4b2479ed28df31a83e950fceab0 SHA512 2a454a1b918d4b2b62ea1c313e0cfd9ebf5d4c222d4da8d0e2fab11cbe7f4a105de6cb495a1b75e488b894a8fb30c80b8645740e1412f6cbf57134018d5eecf0
DIST diff-lcs-1.6.2.gem 59392 BLAKE2B ffdc160b0034e53371d08ffa36baae341f93640c644a418bcd331bcf8c6c0d8cfa1b2421b899c5897e2083a4829437d58cfd051ae7e8d6674a444f61c87f5f52 SHA512 0cfaae5b02784dfb17906afe3f044aa58cedb866b4d07229fec8c0859d78c03d24eaba37a951d1a0cc85df63a4132c46a600953ff3a80cd0830ad07e687f8894
DIST diff-lcs-2.0.0.gem 70144 BLAKE2B 069fca35035ade77af4b9122b248b5c753e05332a11b3ae58bed60375053062a77068677a08844ae55635ab45730e462b3935edc7e488798776d9f9321326930 SHA512 228fb7558bbdac3ae6d29a0f72989e9889052b6ecc39570b1f287aa9b6b4224ac80e513491886e25a12c6c60fb1aa0aeb8fba36adeeb659d7b1614b02a648ccd

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
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"
# Rspec and other packages dont work with it. Cannot be slotted simply due to executables
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~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
sed -e '/require "simplecov/ s:^:#:' \
-e '/SimpleCov/,/^end/ s:^:#:' \
-i spec/spec_helper.rb || die
}