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: Wed, 23 Dec 2015 06:41:41 +0000 (UTC)	[thread overview]
Message-ID: <1450852715.7572ea5760df972886d7840cab7d653141d0997f.graaff@gentoo> (raw)

commit:     7572ea5760df972886d7840cab7d653141d0997f
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 23 06:38:35 2015 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Dec 23 06:38:35 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7572ea57

dev-ruby/rdoc: add 4.2.1

Package-Manager: portage-2.2.24

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

diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest
index d87bdec..fe13f04 100644
--- a/dev-ruby/rdoc/Manifest
+++ b/dev-ruby/rdoc/Manifest
@@ -1,2 +1,3 @@
 DIST rdoc-4.0.1.gem 467456 SHA256 b712d56c266a8568362bbebcdc385b102b1494ceea099161c71e02f420d716ba SHA512 11cf6e1700598bd7c414f3ed9d7b75f73bf0f053eb2754d2652bb628e6e47c171646fb420d7b7ee4b589da43fb4b638bc9a2b151ec348c0a20ebaf10f58438c9 WHIRLPOOL 471cd451fd4bc947ad4a29802d66182a21079d444963bb3006fb065175285c71351bfb75c1aaf3d5778e5554c9b5562281037ec38df1c0b159e60dfa368016fd
 DIST rdoc-4.2.0.gem 735232 SHA256 391bfe3484a69db2cfa0fa32eed9010a7878b33ae645d67558d1806c847290cc SHA512 d58aebd7969fa8ea795fd4a2b35ba92d0f7368526ae0fc7fa64956db4e3d80c1b61f472384fe7e5eaa628e9c1ee637c967caf1a52362422cb7c2757e486594de WHIRLPOOL b2b8ee2500c901b8638d1dcd1b8194ee12f447a8ecf56205f77999e75a0f038583382efc6147719d4782befd6a3e4106697ea3158deb00c6183c4388223a720c
+DIST rdoc-4.2.1.gem 737280 SHA256 81207a9d3ef9e60fc42bf3c6569373cb32397a16af370ca6be6dc71b358df839 SHA512 e5f65436169b38bef5841aad3ece111f010f2a359d242e4e48fa01db03acffd541ba1694fe29ae1a9c5ba605e40d8aec32930358d5b716ac339ff30f17d7155d WHIRLPOOL 7c0b114f0ae9c31ce6e953572bc94c794d1ddea5225af5f8c8b6fedfd5b1cba106bed5ec0f0913c7feeec50d684286bfae67384a8770909f390cf96809febf93

diff --git a/dev-ruby/rdoc/rdoc-4.2.1.ebuild b/dev-ruby/rdoc/rdoc-4.2.1.ebuild
new file mode 100644
index 0000000..4a28db3
--- /dev/null
+++ b/dev-ruby/rdoc/rdoc-4.2.1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.rdoc TODO.rdoc"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="An extended version of the RDoc library from Ruby 1.8"
+HOMEPAGE="https://github.com/rdoc/rdoc/"
+
+LICENSE="Ruby MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "
+	dev-ruby/racc
+	test? (
+		>=dev-ruby/minitest-4:0
+	)"
+
+ruby_add_rdepend "=dev-ruby/json-1* >=dev-ruby/json-1.4"
+
+all_ruby_prepare() {
+	# Other packages also have use for a nonexistent directory, bug 321059
+	sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/test_rdoc*.rb || die
+
+	# Remove unavailable and unneeded isolate plugin for Hoe
+	sed -i -e '/isolate/d' Rakefile || die
+
+	# Remove licenses line from Hoe definitions so we also use older versions.
+	sed -i -e '/licenses/ s:^:#:' Rakefile || die
+
+	epatch "${FILESDIR}/${PN}-3.0.1-bin-require.patch"
+
+	# Remove test that is depending on the locale, which we can't garantuee.
+	sed -i -e '/def test_encode_with/,/^  end/ s:^:#:' test/test_rdoc_options.rb || die
+
+	# Remove test depending on FEATURES=userpriv, bug 361959
+	sed -i -e '/def test_check_files/,/^  end/ s:^:#:' test/test_rdoc_options.rb || die
+
+	# Make sure we get the expected version of minitest.
+	echo 'gem "minitest", "~> 4.0"' > test/test_0000.rb || die
+
+	# Remove tests for code that is not included and not listed in Manifest.txt
+	rm -f test/test_rdoc_i18n_{locale,text}.rb \
+	   test/test_rdoc_generator_pot* || die
+}
+
+all_ruby_compile() {
+	all_fakegem_compile
+
+	if use doc ; then
+		ruby -Ilib -S bin/rdoc || die
+	fi
+}
+
+each_ruby_compile() {
+	# Generate the file inline here since the Rakefile confuses jruby
+	# into a circular dependency.
+	for file in lib/rdoc/rd/block_parser lib/rdoc/rd/inline_parser ; do
+		${RUBY} -S racc -l -o ${file}.rb ${file}.ry || die
+	done
+}
+
+each_ruby_test() {
+	${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
+}
+
+all_ruby_install() {
+	all_fakegem_install
+
+	for bin in rdoc ri; do
+		ruby_fakegem_binwrapper $bin /usr/bin/$bin-2
+
+		for version in 20 21 22; do
+			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:[~2015-12-23  6:41 UTC|newest]

Thread overview: 182+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-23  6:41 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-24 16:25 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rdoc/ Arthur Zamarin
2025-03-24  7:17 Hans de Graaff
2025-03-24  7:17 Hans de Graaff
2025-02-27  2:56 Sam James
2025-02-08  1:08 Jakov Smolić
2025-02-07  5:58 Hans de Graaff
2025-01-17  7:04 Hans de Graaff
2024-12-20  6:29 Sam James
2024-12-20  6:29 Sam James
2024-12-20  6:07 Hans de Graaff
2024-12-20  6:07 Hans de Graaff
2024-12-17  6:33 Hans de Graaff
2024-12-15  7:55 Hans de Graaff
2024-11-20  7:00 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-16  7:58 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-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=1450852715.7572ea5760df972886d7840cab7d653141d0997f.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