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 6B48C15808B for ; Mon, 14 Mar 2022 06:34:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93C58E0878; Mon, 14 Mar 2022 06:34:15 +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 56004E0878 for ; Mon, 14 Mar 2022 06:34:15 +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 D054B342D91 for ; Mon, 14 Mar 2022 06:34:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE61331A for ; Mon, 14 Mar 2022 06:34:03 +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: <1647239637.786eac2b4f4a19e4570e1d684fa392342e260f26.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metaclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/metaclass/metaclass-0.0.4-r2.ebuild X-VCS-Directories: dev-ruby/metaclass/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 786eac2b4f4a19e4570e1d684fa392342e260f26 X-VCS-Branch: master Date: Mon, 14 Mar 2022 06:34:03 +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: 970bf1ff-93a7-44f1-b907-291f1e415dcc X-Archives-Hash: 04b7fafa08179d8368d3fb900a6c0024 commit: 786eac2b4f4a19e4570e1d684fa392342e260f26 Author: Hans de Graaff gentoo org> AuthorDate: Sun Mar 13 08:25:04 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Mar 14 06:33:57 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786eac2b dev-ruby/metaclass: add ruby31; EAPI 8 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/metaclass/metaclass-0.0.4-r2.ebuild | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/dev-ruby/metaclass/metaclass-0.0.4-r2.ebuild b/dev-ruby/metaclass/metaclass-0.0.4-r2.ebuild new file mode 100644 index 000000000000..f426efc3f79b --- /dev/null +++ b/dev-ruby/metaclass/metaclass-0.0.4-r2.ebuild @@ -0,0 +1,25 @@ +# 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_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="metaclass.gemspec" + +inherit ruby-fakegem +SRC_URI="https://github.com/floehopper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +DESCRIPTION="Adds a __metaclass__ method to all Ruby objects" +HOMEPAGE="https://github.com/floehopper/metaclass" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/test_helper.rb || die + sed -i -e 's/git ls-files/find */' -e '/\(test_files\|executables\)/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die +}