commit: 45609b76d8aff29168ab6ff0b0ddd3851dd15b26 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sat Aug 3 05:57:50 2024 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat Aug 3 06:00:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45609b76
dev-ruby/hashdiff: add 1.1.1 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/hashdiff/Manifest | 1 + dev-ruby/hashdiff/hashdiff-1.1.1.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-ruby/hashdiff/Manifest b/dev-ruby/hashdiff/Manifest index 4baf8f6a6314..09abe9c4b792 100644 --- a/dev-ruby/hashdiff/Manifest +++ b/dev-ruby/hashdiff/Manifest @@ -1,2 +1,3 @@ DIST hashdiff-1.0.1.gem 20480 BLAKE2B 9f9723bd4e3547422b185df07d314699d0381ce6526be31c821f2d213f0721f077560567c830256a3bb2873b37a2616213113257e993fc364cd72a416b77cf10 SHA512 fa6e7ad88373038341473de25b7df5e146744efb8b5613fb4da41630498e68de585e2a8d66ba86d577ded574464948234f51e662a9caa6e695c3d6a2c3b85059 DIST hashdiff-1.1.0.gem 20992 BLAKE2B 821bbf331f701fca924a05ca39cab4a0cff21dd4039fcfb6b6ccab8b649f2c9853edde1c12b7febd437e42ad35623b1f8d5afba92968dcba91312aa7bc09af38 SHA512 e5e76f6cdea6b94c5ee86eb17b2fae83a1acf84499b9e60aeb9b9166c468b58e2f6742893f989ee613aead3f37402f3eeb62d10df9b54b08c337a5824425b475 +DIST hashdiff-1.1.1.tar.gz 17625 BLAKE2B ca3d29a9538fbe9af0c9f77f01036eea1c8b0308a63769984c7ffd23655aa2a32cfa84dbc2014cacfe9dcbed214e355688fe341b26746bc7a34ba9358aecd8f6 SHA512 73dd54651efbe6f5e1eaf3986bbb10566af822eb266e40bba9347b21cbf9fdb726fea597f8185a076de1c7d2cc94b3d64f69e2e104fb63d10d2bfeca20291004 diff --git a/dev-ruby/hashdiff/hashdiff-1.1.1.ebuild b/dev-ruby/hashdiff/hashdiff-1.1.1.ebuild new file mode 100644 index 000000000000..e9ba5b7b8df5 --- /dev/null +++ b/dev-ruby/hashdiff/hashdiff-1.1.1.ebuild @@ -0,0 +1,30 @@ +# 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="changelog.md README.md" +RUBY_FAKEGEM_GEMSPEC="hashdiff.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Simple Hash extension to make working with nested hashes easier" +HOMEPAGE="https://github.com/liufengyun/hashdiff" +SRC_URI="https://github.com/liufengyun/hashdiff/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -e '/test_files/ s:^:#:' \ + -e 's/git ls-files/find * -print/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die +}