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 F236B1382C5 for ; Sat, 22 May 2021 07:21:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5325DE0848; Sat, 22 May 2021 07:21:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 3851BE083E for ; Sat, 22 May 2021 07:21:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 23E4B340CCE for ; Sat, 22 May 2021 07:21:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F203791 for ; Sat, 22 May 2021 07:21:08 +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: <1621667734.d61d674b17c47ea810715caeb5087eee820a0ce4.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/erubis/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/erubis/erubis-2.7.0-r3.ebuild X-VCS-Directories: dev-ruby/erubis/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d61d674b17c47ea810715caeb5087eee820a0ce4 X-VCS-Branch: master Date: Sat, 22 May 2021 07:21:08 +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: 3b542161-4a98-4942-813e-67e2e099462e X-Archives-Hash: 4cbc1d83d0b830278d5458a26e54bbe5 commit: d61d674b17c47ea810715caeb5087eee820a0ce4 Author: Hans de Graaff gentoo org> AuthorDate: Sat May 22 07:15:34 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat May 22 07:15:34 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d61d674b dev-ruby/erubis: add ruby30; EAPI 7 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/erubis/erubis-2.7.0-r3.ebuild | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/dev-ruby/erubis/erubis-2.7.0-r3.ebuild b/dev-ruby/erubis/erubis-2.7.0-r3.ebuild new file mode 100644 index 00000000000..3c03492b0c7 --- /dev/null +++ b/dev-ruby/erubis/erubis-2.7.0-r3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="Erubis is an implementation of eRuby" +HOMEPAGE="http://www.kuwata-lab.com/erubis/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# http://rubyforge.org/tracker/index.php?func=detail&aid=29484&group_id=1320&atid=5201 +# Tests are not compatible with Psych as YAML module. +RESTRICT="test" + +ruby_add_rdepend ">=dev-ruby/abstract-1.0.0" + +all_ruby_prepare() { + # These tests now fail due to other ordering and fact that sym + # are now returned. + rm test/test-users-guide.rb || die + sed -i -e '/test-users-guide/ s:^:#:' test/test.rb || die +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -I. test/test.rb || die +}