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 4151915808B for ; Sat, 19 Mar 2022 12:00:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D31942BC009; Sat, 19 Mar 2022 12:00:53 +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 B7AB22BC009 for ; Sat, 19 Mar 2022 12:00:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 7AA1B3438A7 for ; Sat, 19 Mar 2022 12:00:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D700732D for ; Sat, 19 Mar 2022 12:00:50 +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: <1647691244.30ec1bc56662a087aee05f49ac2a2083cee36cb4.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/builder/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/builder/builder-3.2.4-r1.ebuild X-VCS-Directories: dev-ruby/builder/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 30ec1bc56662a087aee05f49ac2a2083cee36cb4 X-VCS-Branch: master Date: Sat, 19 Mar 2022 12:00:50 +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: 5ae246b5-a4ea-4a90-ab71-3c06b75e8c50 X-Archives-Hash: e0ddc912e0f7a8e2e13bc70e66c89e1d commit: 30ec1bc56662a087aee05f49ac2a2083cee36cb4 Author: Hans de Graaff gentoo org> AuthorDate: Sat Mar 19 08:33:04 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Mar 19 12:00:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30ec1bc5 dev-ruby/builder: add ruby30, ruby31; EAPI 8 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/builder/builder-3.2.4-r1.ebuild | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/dev-ruby/builder/builder-3.2.4-r1.ebuild b/dev-ruby/builder/builder-3.2.4-r1.ebuild new file mode 100644 index 000000000000..4c68ce67a785 --- /dev/null +++ b/dev-ruby/builder/builder-3.2.4-r1.ebuild @@ -0,0 +1,39 @@ +# 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_RECIPE_DOC="none" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGES" + +inherit ruby-fakegem + +DESCRIPTION="A builder to facilitate programatic generation of XML markup" +HOMEPAGE="http://onestepback.org/" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~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 -i \ + -e '/rdoc\.template .*jamis/d' \ + Rakefile || die + + rm rakelib/* || die +} + +each_ruby_prepare() { + case ${RUBY} in + *ruby30|*ruby31) + sed -i -e '/test_late_included_module_in_kernel_is_ok/askip "broken due to different ruby behavior"' test/test_blankslate.rb || die + ;; + esac +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +}