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: Sun, 20 May 2018 07:56:47 +0000 (UTC)	[thread overview]
Message-ID: <1526798811.fe93d928d3ada3c53a657f2e7ed63a54b5b371d6.graaff@gentoo> (raw)

commit:     fe93d928d3ada3c53a657f2e7ed63a54b5b371d6
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun May 20 06:46:51 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun May 20 06:46:51 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe93d928

dev-ruby/rdoc: add 6.0.4

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 dev-ruby/rdoc/Manifest          |  1 +
 dev-ruby/rdoc/rdoc-6.0.4.ebuild | 91 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest
index d28fd880b56..1ee3a35e80c 100644
--- a/dev-ruby/rdoc/Manifest
+++ b/dev-ruby/rdoc/Manifest
@@ -1,3 +1,4 @@
 DIST rdoc-4.3.0.gem 738816 BLAKE2B f705b4fed5a9a7e3a850cacc17b7df3f8fdeb163938ed7d2d29979337cb24bca4a66695643ecc62f811d8e49a931296e1972d5d13366685315649e0ec44ebef7 SHA512 7ec5c8055262300c159ff2dbca3bcd09e169002acad8602db89086d2b9409a096209a1152dca68c79dcd1b5e3c1fdf55e7f89d82b33fa2ce65c816695350b029
 DIST rdoc-5.1.0.tar.gz 702376 BLAKE2B 733d77a341ddad10f5b648b6bb492e0f79daa392e2ca371d38236e4c85a1c409699e35dd3f5bc8bc48551b399603bb0a747cb3c5f7f1fbf4765aabffaad575aa SHA512 cd2ed37e8502a3e9093c88c258ac5e39542a23c3dcaedb9b5eb48ce391a694e5b35fbcfd62f01ec6353ac9c40a4b7043b2ff11bbc403d2e03de9a84c52bcefe7
 DIST rdoc-6.0.1.tar.gz 697323 BLAKE2B 7af4a3189c6680ae3d92b7a0b7764e73a104017b49442d89ffa0e2da2d504e7493b6842a3b5b60326e8f633a10447e2e6efb17ff61da7b6e4e55b52d973fa523 SHA512 43812f068b430d4462821098bca1a1f0fc2adc63c6f358a48b4af94aafb76d33eb494ef06f91aa72065f128fb0d34f53a05cb246f0c4fcc31ce9c1b31658d108
+DIST rdoc-6.0.4.tar.gz 699314 BLAKE2B 37b9c65a55357b9edbf85889c086948a6e80094846434d46e6ffbf17e16eba9e964dc09721f921d5042d6e0c72619fc59d87c8d969490e6af50fddaf49d36556 SHA512 8bf61bda88ea1a85178f5fdd62e87c79c5efd6d6f64d9d8651bbbc37e02da02b7189c7e60e4853a962507cc2ee4c703b6532f28db763202fa24c4b364cee8e28

diff --git a/dev-ruby/rdoc/rdoc-6.0.4.ebuild b/dev-ruby/rdoc/rdoc-6.0.4.ebuild
new file mode 100644
index 00000000000..438a1162741
--- /dev/null
+++ b/dev-ruby/rdoc/rdoc-6.0.4.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.rdoc TODO.rdoc"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_BINDIR="exe"
+
+inherit ruby-fakegem eutils
+
+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="Ruby MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="0"
+IUSE=""
+
+RDEPEND+=">=app-eselect/eselect-ruby-20161226"
+
+ruby_add_bdepend "
+	dev-ruby/kpeg
+	>dev-ruby/racc-1.4.10
+	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/test_rdoc*.rb || die
+
+	# Avoid unneeded dependency on bundler, bug 603696
+	sed -i -e '/bundler/ s:^:#:' \
+		-e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' 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/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
+
+	# 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 exe/rdoc || die
+	fi
+}
+
+each_ruby_compile() {
+	${RUBY} -S rake generate || die
+}
+
+each_ruby_test() {
+	${RUBY} -Ilib:test:. -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 ${USE_RUBY}; 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:[~2018-05-20  7:56 UTC|newest]

Thread overview: 168+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-20  7:56 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-17  4:38 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rdoc/ 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-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=1526798811.fe93d928d3ada3c53a657f2e7ed63a54b5b371d6.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