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, 28 Aug 2019 11:27:20 +0000 (UTC)	[thread overview]
Message-ID: <1566991636.72991d2826ca5332f608db600dedd61dc983d150.graaff@gentoo> (raw)

commit:     72991d2826ca5332f608db600dedd61dc983d150
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 28 11:27:00 2019 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Aug 28 11:27:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72991d28

dev-ruby/rdoc: add 6.2.0

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rdoc/Manifest          |  1 +
 dev-ruby/rdoc/rdoc-6.2.0.ebuild | 94 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest
index 9f2ce0d4100..5480efd3509 100644
--- a/dev-ruby/rdoc/Manifest
+++ b/dev-ruby/rdoc/Manifest
@@ -1,3 +1,4 @@
 DIST rdoc-5.1.0.tar.gz 702376 BLAKE2B 733d77a341ddad10f5b648b6bb492e0f79daa392e2ca371d38236e4c85a1c409699e35dd3f5bc8bc48551b399603bb0a747cb3c5f7f1fbf4765aabffaad575aa SHA512 cd2ed37e8502a3e9093c88c258ac5e39542a23c3dcaedb9b5eb48ce391a694e5b35fbcfd62f01ec6353ac9c40a4b7043b2ff11bbc403d2e03de9a84c52bcefe7
 DIST rdoc-6.1.1.tar.gz 701297 BLAKE2B cd1494303d5bf4f81804e40a43252a589a6fa141316a573c1e321bf2dbd71330fabd547e09f5c84937cc45b3f79e2936d90813c29fc11b4a514a9cb498b9c98d SHA512 01e32d6e7ffcb5c0e138068867e6d995210d0123cb87c2754994be1a5e0aede0e05114746e6bd788fd0b4299e9a005dcfc863ef07000f1f9fcbf6ed11e44947b
 DIST rdoc-6.1.2.tar.gz 667607 BLAKE2B 4857bcf5f72d93fe4e9ea89acfda9ae82afd61a7ff501d2eea529330d2b8a63d7cc775490648fcff5000ee60417123244518f56a31593af8efccae8f925b21d9 SHA512 a54e36adf9f98117f0b5ae4490a0ab1ce12d9b1de5b7c61ffa326b36ef13885bb8f18147f3548f95a285b15470faba14965bc87088fa3ce584928d8ee396689f
+DIST rdoc-6.2.0.tar.gz 668152 BLAKE2B 9c92b27c427d6229778aba54ce7f12fe883fd3e40151f518f3d023d4f6dd10d4f1f6d05c8d6bcdce80d1ac81ab25cd99ccbe9479a4fcd950b895e14d4fdc4b83 SHA512 15352889833436c0a243e4f79c4ae8113fa3b8c222950baf1fcd272773a7a17198c2cd91a50c92e225c282a37ec743a38d8e9ca4dffe0b66c39d56412fe56ca2

diff --git a/dev-ruby/rdoc/rdoc-6.2.0.ebuild b/dev-ruby/rdoc/rdoc-6.2.0.ebuild
new file mode 100644
index 00000000000..7749eef955f
--- /dev/null
+++ b/dev-ruby/rdoc/rdoc-6.2.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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"
+
+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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+SLOT="0"
+IUSE="doc"
+
+RDEPEND+=">=app-eselect/eselect-ruby-20181225"
+
+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
+
+	# 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
+
+	# Remove tests for code that is not included and not listed in Manifest.txt
+	rm -f test/test_rdoc_i18n_{locale,text}.rb \
+	   test/rdoc/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 $(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:[~2019-08-28 11:27 UTC|newest]

Thread overview: 169+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-28 11:27 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-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-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=1566991636.72991d2826ca5332f608db600dedd61dc983d150.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