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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 534A41382C5 for ; Tue, 29 Dec 2020 07:30:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E437E0BB5; Tue, 29 Dec 2020 07:30:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B1DB7E0BB5 for ; Tue, 29 Dec 2020 07:30:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5BB7B3411BC for ; Tue, 29 Dec 2020 07:30:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE5E446F for ; Tue, 29 Dec 2020 07:30:07 +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: <1609227003.d0a49b37c5f8944e558d6d864ed7a475eb642797.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-r1.ebuild X-VCS-Directories: dev-ruby/metaclass/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d0a49b37c5f8944e558d6d864ed7a475eb642797 X-VCS-Branch: master Date: Tue, 29 Dec 2020 07:30:07 +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: 2b8d9d1c-7f95-4ce4-9798-a548c9c98b1a X-Archives-Hash: bf74a16bff9a097bbc58d3a2ad786414 commit: d0a49b37c5f8944e558d6d864ed7a475eb642797 Author: Hans de Graaff gentoo org> AuthorDate: Tue Dec 29 07:28:29 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Dec 29 07:30:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a49b37 dev-ruby/metaclass: eapi 7, ruby30 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/metaclass/metaclass-0.0.4-r1.ebuild | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/dev-ruby/metaclass/metaclass-0.0.4-r1.ebuild b/dev-ruby/metaclass/metaclass-0.0.4-r1.ebuild new file mode 100644 index 00000000000..7f92a7a53e0 --- /dev/null +++ b/dev-ruby/metaclass/metaclass-0.0.4-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +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 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-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 +}