mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-ruby/hashdiff: add 1.1.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST hashdiff-1.1.1.tar.gz 17625 BLAKE2B ca3d29a9538fbe9af0c9f77f01036eea1c8b0308a63769984c7ffd23655aa2a32cfa84dbc2014cacfe9dcbed214e355688fe341b26746bc7a34ba9358aecd8f6 SHA512 73dd54651efbe6f5e1eaf3986bbb10566af822eb266e40bba9347b21cbf9fdb726fea597f8185a076de1c7d2cc94b3d64f69e2e104fb63d10d2bfeca20291004
|
||||
DIST hashdiff-1.1.2.tar.gz 17623 BLAKE2B f4fbc445298d9c17930b0eb6675260def915e4f29125902e480bcb681d8d2f1f48734123bd3c88296bf213e9ad766dc3d932dad80a989fae289ce13e893b672b SHA512 477593786887414819b0d98fd062fc6cb7a98b96c0154c6a23585636d0b27d6f6202f555d3e1ee83a2572640fc70c60bfc13e7c7d80880565966629b1396f0ad
|
||||
|
||||
30
dev-ruby/hashdiff/hashdiff-1.1.2.ebuild
Normal file
30
dev-ruby/hashdiff/hashdiff-1.1.2.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user