diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-27 03:04:55 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-27 03:04:55 -0500 |
| commit | cae7be1ab2bd23fee3929a8e940d968ee86a78e6 (patch) | |
| tree | 97cc406771ec329a0480aab0f7fad2319be66e5c /dev-ruby/diff-lcs | |
| parent | 704373259ee68c274d8ce04949a32d64de4b6014 (diff) | |
| download | baldeagleos-repo-cae7be1ab2bd23fee3929a8e940d968ee86a78e6.tar.gz baldeagleos-repo-cae7be1ab2bd23fee3929a8e940d968ee86a78e6.tar.xz baldeagleos-repo-cae7be1ab2bd23fee3929a8e940d968ee86a78e6.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/diff-lcs')
| -rw-r--r-- | dev-ruby/diff-lcs/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/diff-lcs/diff-lcs-2.0.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/diff-lcs/Manifest b/dev-ruby/diff-lcs/Manifest index 8131ec7c0bcc..13b421f6cfaf 100644 --- a/dev-ruby/diff-lcs/Manifest +++ b/dev-ruby/diff-lcs/Manifest @@ -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 diff --git a/dev-ruby/diff-lcs/diff-lcs-2.0.0.ebuild b/dev-ruby/diff-lcs/diff-lcs-2.0.0.ebuild new file mode 100644 index 000000000000..f6b8a19385a0 --- /dev/null +++ b/dev-ruby/diff-lcs/diff-lcs-2.0.0.ebuild @@ -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 +} |
