public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rdoc/
Date: Sat, 16 Dec 2023 07:58:42 +0000 (UTC)	[thread overview]
Message-ID: <1702713518.ff606c5f04df6681e11b109c5f65b2f5976ff491.graaff@gentoo> (raw)

commit:     ff606c5f04df6681e11b109c5f65b2f5976ff491
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 16 07:55:34 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Dec 16 07:58:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff606c5f

dev-ruby/rdoc: add 6.6.2

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rdoc/Manifest          |  1 +
 dev-ruby/rdoc/rdoc-6.6.2.ebuild | 98 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 99 insertions(+)

diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest
index 4b64877679f8..efe59476844a 100644
--- a/dev-ruby/rdoc/Manifest
+++ b/dev-ruby/rdoc/Manifest
@@ -1,3 +1,4 @@
 DIST rdoc-6.5.0.tar.gz 762645 BLAKE2B cecade491f0d18b2c50ec710cb27a28b6cb946f321503e0508e8d4802e93033a78867346eb1d68ca56884ea0d68d51d6fdb92eb61fa63034a01332e8b572dbcf SHA512 10382e66ca778f85f236614fe071b2b0d598065d3aab8f5a89cb0839da7713b5e16a66e3f7a2bff2e2125d26a42f088a86c6d339dc36479a943bb7023c1cad0c
 DIST rdoc-6.6.0.tar.gz 764785 BLAKE2B 85bd4b4ece07ae95c9afb6521ba42c1e016f75ef439c71512024ccf2f0ad47f603944aee1aeb28c76c74d59352ae673825c7d7f6bfe46b2ad3e2bafe406feb68 SHA512 fb4c58bb19652a090f45c85fec47be52e2474854ab9ae6705e9a3f6b2ac3381af4aca89b8a39ee5906bab6ff6c63a384d4a12dc6aa19024cc335df18cc92aab7
 DIST rdoc-6.6.1.tar.gz 766276 BLAKE2B 480f26688dfa03ac60278b66934f599a2f695787c9c1394b5ea596977c5dc94699429c921cb98fa0faf8aa0b3fd6598441e18cb379886ad152d34eae92206377 SHA512 9baa6fa467c3d4b5dea34a199ca697124bce7ead3bd3a11eb1c28d6a246bf5317331008dde0595baf382a6e05e9bde752008ecb29fe271df1eef3e7875115bd5
+DIST rdoc-6.6.2.tar.gz 765932 BLAKE2B 39bcb0f1af6ee4d53b9011179556d8f1a6b09e20716e60a5d57ca7dcede54797946517e7321004e41d440f26d39e9f3c7c80aaf3b24212ce6a650cddc23d69f3 SHA512 326ead5d4ec5b9328f9feaf3434351911a3dda18d739c8657d9025f7b3387139e1b63ea8fc649870ca474e4a0560ad87cb9e2a13fbbecd240a8aad652d061d42

diff --git a/dev-ruby/rdoc/rdoc-6.6.2.ebuild b/dev-ruby/rdoc/rdoc-6.6.2.ebuild
new file mode 100644
index 000000000000..7ea9b73b0177
--- /dev/null
+++ b/dev-ruby/rdoc/rdoc-6.6.2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.rdoc TODO.rdoc"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_BINDIR="exe"
+
+RUBY_FAKEGEM_GEMSPEC="rdoc.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An extended version of the RDoc library from Ruby 1.8"
+HOMEPAGE="https://github.com/ruby/rdoc/"
+SRC_URI="https://github.com/ruby/rdoc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 Ruby-BSD )"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+SLOT="0"
+IUSE="doc"
+
+RDEPEND+=">=app-eselect/eselect-ruby-20181225"
+
+ruby_add_rdepend "
+	>=dev-ruby/psych-4.0.0
+"
+
+ruby_add_bdepend "
+	>=dev-ruby/kpeg-1.1.0-r1
+	>dev-ruby/racc-1.4.10
+	dev-ruby/rake
+	test? (
+		dev-ruby/bundler
+		>=dev-ruby/minitest-5.8:5
+	)"
+
+all_ruby_prepare() {
+	# Other packages also have use for a nonexistent directory, bug 321059
+	sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/rdoc/test_rdoc*.rb || die
+
+	# Avoid unneeded dependency on bundler, bug 603696
+	sed -i -e '/bundler/ s:^:#:' \
+		-e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' \
+		-e '/rubocop\/rake/ s:^:#:' \
+		-e '/RuboCop/,/end/ s:^:#:' Rakefile || die
+
+	# Skip rubygems tests since the rubygems test case code is no longer installed by rubygems.
+	sed -i -e '/^task/ s/, :rubygems_test//' Rakefile || die
+
+	# Remove test that is depending on the locale, which we can't garantuee.
+	sed -i -e '/def test_encode_with/,/^  end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die
+
+	# Remove test depending on FEATURES=userpriv, bug 361959
+	sed -i -e '/def test_check_files/,/^  end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die
+
+	sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+all_ruby_compile() {
+	all_fakegem_compile
+
+	if use doc ; then
+		ruby -S exe/rdoc --force-output || die
+		rm -f doc/js/*.gz || die
+	fi
+}
+
+each_ruby_compile() {
+	LANG=C.UTF-8 ${RUBY} -S rake generate || die
+}
+
+all_ruby_install() {
+	all_fakegem_install
+
+	for bin in rdoc ri; do
+		ruby_fakegem_binwrapper $bin /usr/bin/$bin-2
+
+		for version in $(ruby_get_use_implementations); do
+			version=`echo ${version} | cut -c 5-`
+			if use ruby_targets_ruby${version}; then
+				ruby_fakegem_binwrapper $bin /usr/bin/${bin}${version}
+				sed -i -e "1s/env ruby/ruby${version}/" \
+					"${ED}/usr/bin/${bin}${version}" || die
+			fi
+		done
+	done
+}
+
+pkg_postinst() {
+	if [[ ! -n $(readlink "${ROOT}"/usr/bin/rdoc) ]] ; then
+		eselect ruby set $(eselect --brief --colour=no ruby show | head -n1)
+	fi
+}


             reply	other threads:[~2023-12-16  7:58 UTC|newest]

Thread overview: 169+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-16  7:58 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-20  7:00 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rdoc/ Hans de Graaff
2024-07-17  4:38 Viorel Munteanu
2024-06-05  5:49 Hans de Graaff
2024-05-25  5:46 Hans de Graaff
2024-05-18 10:19 Sam James
2024-05-11  8:23 Hans de Graaff
2024-04-29  7:53 Jakov Smolić
2024-04-24 18:19 Arthur Zamarin
2024-04-24 17:59 Arthur Zamarin
2024-04-21 12:05 Sam James
2024-04-19 11:11 Arthur Zamarin
2024-04-17  6:54 Sam James
2024-03-23  7:09 Hans de Graaff
2024-03-21  6:42 Hans de Graaff
2023-12-11  7:05 Hans de Graaff
2023-12-09  8:28 Hans de Graaff
2023-11-07  5:55 Hans de Graaff
2023-08-02 23:02 Sam James
2023-07-07 19:31 Arthur Zamarin
2023-07-04 16:09 Sam James
2023-07-04 16:09 Sam James
2023-07-04 16:09 Sam James
2023-07-04 16:09 Sam James
2023-07-04 16:09 Sam James
2023-07-04 16:09 Sam James
2023-06-23  9:38 Sam James
2023-06-12 20:45 Hans de Graaff
2023-06-12 20:44 Hans de Graaff
2023-05-30  1:28 Sam James
2023-05-30  1:28 Sam James
2023-05-29 20:21 Sam James
2023-05-29 20:21 Sam James
2023-05-29 20:10 Sam James
2023-05-29 20:10 Sam James
2023-05-29 20:01 Arthur Zamarin
2023-05-29 20:01 Arthur Zamarin
2023-05-29 19:45 Arthur Zamarin
2023-05-29 19:45 Arthur Zamarin
2023-05-29 19:45 Arthur Zamarin
2023-05-29 19:45 Arthur Zamarin
2023-05-29 19:45 Arthur Zamarin
2023-05-29 19:45 Arthur Zamarin
2023-04-16  6:45 Sam James
2023-03-04 10:25 Hans de Graaff
2023-01-08  7:49 Hans de Graaff
2022-07-30  7:46 Hans de Graaff
2022-07-30  7:46 Hans de Graaff
2022-03-26 14:30 Hans de Graaff
2022-03-12  7:21 Hans de Graaff
2021-11-26 10:06 Hans de Graaff
2021-11-13  5:24 Hans de Graaff
2021-07-30  9:24 Hans de Graaff
2021-07-21 10:27 Marek Szuba
2021-07-15 13:44 Sergei Trofimovich
2021-07-13  6:34 Agostino Sarubbo
2021-07-13  6:31 Agostino Sarubbo
2021-07-13  6:29 Agostino Sarubbo
2021-07-11  9:00 Agostino Sarubbo
2021-07-11  8:58 Agostino Sarubbo
2021-07-09  9:42 Hans de Graaff
2021-07-09  9:42 Hans de Graaff
2021-07-09  9:42 Hans de Graaff
2021-07-07  6:53 Hans de Graaff
2020-12-28  7:46 Hans de Graaff
2020-04-13 12:37 Hans de Graaff
2020-04-02  2:21 Matt Turner
2020-04-02  2:11 Matt Turner
2020-04-02  2:11 Matt Turner
2020-01-05  8:54 Hans de Graaff
2019-12-29 13:36 Jeroen Roovers
2019-12-26 11:06 Hans de Graaff
2019-12-02 11:07 Mikle Kolyada
2019-09-21 22:57 Matt Turner
2019-09-21 22:57 Matt Turner
2019-09-13 17:52 Mikle Kolyada
2019-09-13 17:43 Mikle Kolyada
2019-09-13 12:04 Agostino Sarubbo
2019-09-11  3:51 Matt Turner
2019-09-04  9:41 Agostino Sarubbo
2019-09-03 19:28 Aaron Bauman
2019-09-03  8:30 Agostino Sarubbo
2019-09-02 16:59 Hans de Graaff
2019-09-02 10:11 Agostino Sarubbo
2019-09-02  9:32 Agostino Sarubbo
2019-09-02  7:25 Agostino Sarubbo
2019-09-01 21:25 Aaron Bauman
2019-09-01  9:21 Sergei Trofimovich
2019-08-30 18:39 Sergei Trofimovich
2019-08-28 23:22 Thomas Deutschmann
2019-08-28 23:22 Thomas Deutschmann
2019-08-28 17:40 Hans de Graaff
2019-08-28 11:27 Hans de Graaff
2019-08-28 11:27 Hans de Graaff
2019-08-18 17:09 Aaron Bauman
2019-08-18  6:04 Hans de Graaff
2019-07-26 17:55 Sergei Trofimovich
2019-06-24 15:14 Michael Haubenwallner
2019-06-10  7:31 Hans de Graaff
2019-05-13 18:08 Hans de Graaff
2019-05-11  6:08 Hans de Graaff
2019-04-27 19:48 Aaron Bauman
2019-04-21  6:36 Hans de Graaff
2019-01-09  9:36 Hans de Graaff
2018-12-30  3:43 Matt Turner
2018-12-28  7:25 Hans de Graaff
2018-12-27  2:57 Matt Turner
2018-12-26  8:20 Hans de Graaff
2018-12-25 11:11 Sergei Trofimovich
2018-12-25  6:18 Hans de Graaff
2018-12-15 14:25 Mikle Kolyada
2018-12-11 16:42 Thomas Deutschmann
2018-11-18  8:11 Hans de Graaff
2018-11-17 21:34 Thomas Deutschmann
2018-11-16  6:46 Hans de Graaff
2018-11-16  6:46 Hans de Graaff
2018-05-20  7:56 Hans de Graaff
2018-05-20  7:56 Hans de Graaff
2018-04-27 13:18 Hans de Graaff
2018-04-13  8:04 Hans de Graaff
2018-04-08 22:11 Matt Turner
2018-03-25  7:04 Hans de Graaff
2018-03-21  1:38 Matt Turner
2018-03-18 19:59 Markus Meier
2018-03-14 21:29 Sergei Trofimovich
2018-03-14  8:03 Sergei Trofimovich
2018-02-18 11:28 Sergei Trofimovich
2018-02-15 21:48 Michał Górny
2018-01-23 23:01 Sergei Trofimovich
2018-01-21 20:30 Thomas Deutschmann
2018-01-21 15:47 Hans de Graaff
2017-12-25 17:02 Hans de Graaff
2017-12-24  6:52 Hans de Graaff
2017-12-20 21:42 Sergei Trofimovich
2017-12-07  6:36 Hans de Graaff
2017-08-28 19:09 Hans de Graaff
2017-08-20 19:26 Hans de Graaff
2017-06-22 11:35 Fabian Groffen
2017-06-21 12:45 Fabian Groffen
2017-05-15 16:23 Manuel Rüger
2017-05-15 16:23 Manuel Rüger
2017-03-08 23:39 Michael Weber
2017-03-01 13:05 Michael Weber
2017-02-26  7:50 Hans de Graaff
2017-01-08  7:44 Hans de Graaff
2016-12-29  7:00 Hans de Graaff
2016-12-29  6:50 Hans de Graaff
2016-12-26 19:17 Hans de Graaff
2016-12-26  6:19 Hans de Graaff
2016-12-25  9:58 Hans de Graaff
2016-11-06  6:41 Hans de Graaff
2016-10-02 17:56 Hans de Graaff
2016-10-02  9:14 Jeroen Roovers
2016-08-05  8:16 Hans de Graaff
2016-08-05  8:16 Hans de Graaff
2016-03-17 10:50 Agostino Sarubbo
2016-02-10  6:29 Hans de Graaff
2016-01-10 10:34 Agostino Sarubbo
2016-01-09  6:43 Agostino Sarubbo
2015-12-27  9:22 Hans de Graaff
2015-12-25 16:20 Agostino Sarubbo
2015-12-23  6:41 Hans de Graaff
2015-12-23  6:41 Hans de Graaff
2015-12-19 22:01 Markus Meier
2015-12-14 14:12 Agostino Sarubbo
2015-12-12  7:35 Hans de Graaff
2015-10-24  6:52 Hans de Graaff
2015-10-24  6:52 Hans de Graaff
2015-08-09 16:03 Mikle Kolyada

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=1702713518.ff606c5f04df6681e11b109c5f65b2f5976ff491.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