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 13CBC158011 for ; Sun, 4 Sep 2022 10:54:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF6F0E07EE; Sun, 4 Sep 2022 10:54:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B7CD0E07EE for ; Sun, 4 Sep 2022 10:54:24 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9ADD6340EF9 for ; Sun, 4 Sep 2022 10:54:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2ABAA5BD for ; Sun, 4 Sep 2022 10:54:22 +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: <1662288854.9fa54fce1026e11b834d6968b2037043618b3fee.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sdoc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/sdoc/sdoc-1.1.0-r1.ebuild X-VCS-Directories: dev-ruby/sdoc/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 9fa54fce1026e11b834d6968b2037043618b3fee X-VCS-Branch: master Date: Sun, 4 Sep 2022 10:54:22 +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: b34dedf9-c3f3-4616-b2dd-94c11ba3d09a X-Archives-Hash: 4f0c71e412a8532e23ec39d5f0f103dd commit: 9fa54fce1026e11b834d6968b2037043618b3fee Author: Hans de Graaff gentoo org> AuthorDate: Sun Sep 4 08:10:08 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Sep 4 10:54:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fa54fce dev-ruby/sdoc: update EAPI 7 -> 8, add ruby31 Avoid dependency on bundler. Closes: https://bugs.gentoo.org/723960 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/sdoc/sdoc-1.1.0-r1.ebuild | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/dev-ruby/sdoc/sdoc-1.1.0-r1.ebuild b/dev-ruby/sdoc/sdoc-1.1.0-r1.ebuild new file mode 100644 index 000000000000..5458093ea0e9 --- /dev/null +++ b/dev-ruby/sdoc/sdoc-1.1.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +inherit ruby-fakegem + +DESCRIPTION="rdoc generator html with javascript search index" +HOMEPAGE="https://rubygems.org/gems/sdoc" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~riscv ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/rdoc-5.0" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e '/git ls-files/ s:^:#:' sdoc.gemspec || die + + sed -i -e '/bundler/I s:^:#:' Rakefile spec/spec_helper.rb || die + + # Avoid spec that appears to be broken with newer rdoc versions. + sed -i -e '/should display SDoc version/askip' spec/rdoc_generator_spec.rb || die +} + +each_ruby_test() { + ${RUBY} -I lib:spec:. -e 'Dir["spec/*_spec.rb"].each { require _1 }' || die +}