diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-12-05 07:31:25 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-12-05 07:31:48 +0100 |
commit | c0b9fe7937549b29e7cd4fbb33706efc56439005 (patch) | |
tree | b3d5be8a36e4f75728c5550188377316d30005f1 /dev-ruby/forwardable | |
parent | dev-ruby/digest: add 3.1.1 (diff) | |
download | gentoo-c0b9fe7937549b29e7cd4fbb33706efc56439005.tar.gz gentoo-c0b9fe7937549b29e7cd4fbb33706efc56439005.tar.bz2 gentoo-c0b9fe7937549b29e7cd4fbb33706efc56439005.zip |
dev-ruby/forwardable: add 1.3.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/forwardable')
-rw-r--r-- | dev-ruby/forwardable/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/forwardable/forwardable-1.3.3.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/forwardable/Manifest b/dev-ruby/forwardable/Manifest index d160bb53cbb4..483dc0ec77af 100644 --- a/dev-ruby/forwardable/Manifest +++ b/dev-ruby/forwardable/Manifest @@ -1 +1,2 @@ DIST forwardable-1.3.2.tar.gz 16904 BLAKE2B 858068489c9c76e3a711d3b7338f948ac44ef9af9f1792f3fe37fcf3cd7c03201146c7a9f0e2aa7022bca1d705fc285fb9377175e688a500ceb38ee1697b964b SHA512 332eae2ee23fa6c5db334511e79a4d09ee168244420fce718cfd90944fbd03694cf9d2c94b9ad9935deb900a285c8ebf679184c8bdc10de563466d026c9794f7 +DIST forwardable-1.3.3.tar.gz 18044 BLAKE2B 41e3299698d6c48c18a2d5468fd446154eb2813d90d05b1e2531ad48cfe2a3bc27a8b33cf7818c3c46d25ddbc1c0e61ee6d755019d68363e31fae469c3b696a0 SHA512 fe388c3377aea76d350da1a140a09a522a405307ce2566160f1dbe7d2bb46612b57fe9d3c516684402586f20a4b510ada762809192ca81dedb7a251906e56ed7 diff --git a/dev-ruby/forwardable/forwardable-1.3.3.ebuild b/dev-ruby/forwardable/forwardable-1.3.3.ebuild new file mode 100644 index 000000000000..d2525027f515 --- /dev/null +++ b/dev-ruby/forwardable/forwardable-1.3.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="forwardable.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Provides delegation of specified methods to a designated object" +HOMEPAGE="https://github.com/ruby/forwardable" +SRC_URI="https://github.com/ruby/forwardable/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +} |