From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sdoc/
Date: Sun, 4 Sep 2022 10:54:22 +0000 (UTC) [thread overview]
Message-ID: <1662288854.9fa54fce1026e11b834d6968b2037043618b3fee.graaff@gentoo> (raw)
commit: 9fa54fce1026e11b834d6968b2037043618b3fee
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 4 08:10:08 2022 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> 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 <graaff <AT> 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
+}
next reply other threads:[~2022-09-04 10:54 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-04 10:54 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-04 18:33 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sdoc/ Rick Farina
2023-12-27 9:36 Hans de Graaff
2023-04-07 18:25 Sam James
2023-03-31 1:07 Sam James
2023-03-31 1:03 Sam James
2023-03-27 13:25 Sam James
2021-09-07 12:30 Marek Szuba
2021-04-28 4:53 Hans de Graaff
2021-04-28 4:53 Hans de Graaff
2020-11-17 18:49 Agostino Sarubbo
2020-11-16 13:30 Marek Szuba
2020-07-25 17:10 Hans de Graaff
2019-01-20 18:43 Hans de Graaff
2018-04-27 9:03 Hans de Graaff
2018-04-12 5:49 Hans de Graaff
2018-04-12 5:49 Hans de Graaff
2016-10-08 5:49 Hans de Graaff
2016-03-31 6:09 Hans de Graaff
2016-03-31 6:09 Hans de Graaff
2016-03-31 6:09 Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1662288854.9fa54fce1026e11b834d6968b2037043618b3fee.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox