From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 04CED158090 for ; Mon, 23 May 2022 05:05:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 929A0E08F1; Mon, 23 May 2022 05:05:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 70F9FE08F1 for ; Mon, 23 May 2022 05:05:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3CC51340BEA for ; Mon, 23 May 2022 05:05:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DDF6483 for ; Mon, 23 May 2022 05:05:02 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1653282286.100a65547de09a2e8864ae89f0f260b0de485736.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/forwardable/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/forwardable/Manifest dev-ruby/forwardable/forwardable-1.3.2.ebuild dev-ruby/forwardable/metadata.xml X-VCS-Directories: dev-ruby/forwardable/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 100a65547de09a2e8864ae89f0f260b0de485736 X-VCS-Branch: master Date: Mon, 23 May 2022 05:05:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f66c459f-8dca-49ef-83c9-14b3f937d9a0 X-Archives-Hash: 9042e4c306a51b58d36cad0b496a56f1 commit: 100a65547de09a2e8864ae89f0f260b0de485736 Author: Hans de Graaff gentoo org> AuthorDate: Sun May 22 08:25:22 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon May 23 05:04:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=100a6554 dev-ruby/forwardable: initial import of 1.3.2 Dependency for forthcoming dev-ruby/prime. Extracted from dev-lang/ruby, keywords set accordingly. Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/forwardable/Manifest | 1 + dev-ruby/forwardable/forwardable-1.3.2.ebuild | 31 +++++++++++++++++++++++++++ dev-ruby/forwardable/metadata.xml | 11 ++++++++++ 3 files changed, 43 insertions(+) diff --git a/dev-ruby/forwardable/Manifest b/dev-ruby/forwardable/Manifest new file mode 100644 index 000000000000..d160bb53cbb4 --- /dev/null +++ b/dev-ruby/forwardable/Manifest @@ -0,0 +1 @@ +DIST forwardable-1.3.2.tar.gz 16904 BLAKE2B 858068489c9c76e3a711d3b7338f948ac44ef9af9f1792f3fe37fcf3cd7c03201146c7a9f0e2aa7022bca1d705fc285fb9377175e688a500ceb38ee1697b964b SHA512 332eae2ee23fa6c5db334511e79a4d09ee168244420fce718cfd90944fbd03694cf9d2c94b9ad9935deb900a285c8ebf679184c8bdc10de563466d026c9794f7 diff --git a/dev-ruby/forwardable/forwardable-1.3.2.ebuild b/dev-ruby/forwardable/forwardable-1.3.2.ebuild new file mode 100644 index 000000000000..0ac470471f4c --- /dev/null +++ b/dev-ruby/forwardable/forwardable-1.3.2.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="ruby26 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 +} diff --git a/dev-ruby/forwardable/metadata.xml b/dev-ruby/forwardable/metadata.xml new file mode 100644 index 000000000000..2e65848d57fc --- /dev/null +++ b/dev-ruby/forwardable/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + ruby/forwardable + +