summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-04-14 07:14:05 +0000
committerHans de Graaff <graaff@gentoo.org>2013-04-14 07:14:05 +0000
commitbb0665159cb4a025b3cbefed97e79117440c9e6c (patch)
treeb7d43523857e50b9c4fdbe837275f227f03f4217 /dev-ruby/rdoc
parentCleanup. (diff)
downloadhistorical-bb0665159cb4a025b3cbefed97e79117440c9e6c.tar.gz
historical-bb0665159cb4a025b3cbefed97e79117440c9e6c.tar.bz2
historical-bb0665159cb4a025b3cbefed97e79117440c9e6c.zip
Version bump.
Package-Manager: portage-2.1.11.55/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/rdoc')
-rw-r--r--dev-ruby/rdoc/ChangeLog7
-rw-r--r--dev-ruby/rdoc/Manifest10
-rw-r--r--dev-ruby/rdoc/rdoc-3.12.2.ebuild85
3 files changed, 97 insertions, 5 deletions
diff --git a/dev-ruby/rdoc/ChangeLog b/dev-ruby/rdoc/ChangeLog
index 55e0ae4692ee..eeff4731a385 100644
--- a/dev-ruby/rdoc/ChangeLog
+++ b/dev-ruby/rdoc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rdoc
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.99 2013/04/14 07:08:58 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.100 2013/04/14 07:14:04 graaff Exp $
+
+*rdoc-3.12.2 (14 Apr 2013)
+
+ 14 Apr 2013; Hans de Graaff <graaff@gentoo.org> +rdoc-3.12.2.ebuild:
+ Version bump.
14 Apr 2013; Hans de Graaff <graaff@gentoo.org> -rdoc-3.5.1.ebuild,
-rdoc-3.6.1.ebuild, -rdoc-3.12.ebuild:
diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest
index 0099fc3e7d08..9e1f08f25cb0 100644
--- a/dev-ruby/rdoc/Manifest
+++ b/dev-ruby/rdoc/Manifest
@@ -5,13 +5,15 @@ AUX rdoc-2.5.6-ruby19.patch 959 SHA256 2c81c17d99f896182805b737e64c353045b4505ac
AUX rdoc-3.0.1-bin-require.patch 632 SHA256 5b8468ba10d6767620ee6ecad9719f213744c6de207ecab078dd48f96147ad50 SHA512 d8840d320582f1b744597a4a48008508dfcfe7537b24570e977f7e10f1bc6e5955cf9319182d2546db23d96fa31a55320bf54f49d127623c9d9cac9d639c572f WHIRLPOOL d716e4c6ea8da7c52ab20cf52146fd7128f5071f390f25fc66012770c59fa283473fdb9214b942cad789be8df2ed66286617d8f9dd4e3c8d82ffd91d757cc8a7
AUX rdoc-fix-hash-ordering-tests.patch 3124 SHA256 e28b0f19d7c954f5d49a783a1a8db087256be0523fccd5f5887582ae891d5f45 SHA512 7589a32a0ab1e887feeaa4fc88b21a1cd33bb397a2a9eb64105164783ef9371a75e8a828bb97c0eff9c1b612c4eaecddb61144da43f2844cd4511b669041487f WHIRLPOOL d31b2e9fc096a9f377ec2031826e93c4ce40d3b781f5d686e350df1d20721efeab9f51dd003efcdeb7785c94741be37bebb4932b882211890edd47745756c71f
DIST rdoc-3.12.1.gem 325120 SHA256 8ffc43aa68671ff20615b77eb3e0339204b6a297e148de261add53b0057fd4c1 SHA512 3faef3b7d99e7fb73cf0beabdbdac856603d4f23544f3763b03f257520b61532daf3ed510787241eff7877cfa9a89907d380552ce6cf2c3d0191c187955f05b9 WHIRLPOOL 1f5d810eb7f517f9cf0b1523a14d74db38ecccaf687282d82d5677f934f14ace8eae5517a0ca2870979f69858d1faeccb4c4e8418b5eb01576568966fa5f4f49
+DIST rdoc-3.12.2.gem 326144 SHA256 a8e2b78f7e5ec4cc4716cd863975645f2f2377dc6db267a15e427e5fae2633ed SHA512 c0cc99d3ee75bf5ec5bf73a3f89b43ed3915a80b12a6128b0e106c50e93b0b33db6bcd9812b9e2a241978c3a46cc2f05c5b1d9346c321823fc333d53c8d1296c WHIRLPOOL 22fefdc2dd6caca0fb843c82cf98ccdc5f6a4da97af5b65476891799b2e3a133284c8890db1fe9637fe6f508db353f69cfe82b59740fbc14d223bc9577c86c6a
EBUILD rdoc-3.12.1.ebuild 2533 SHA256 e14443c5087ceac17a949a67d77bf1d04ca4aaf096a0e4cdb0c06ee23dec08df SHA512 a658118dcb72780cfcc5da6cf5721295765deae4481ace19e8da54ddd1d433ab89b13a8f67194149ae08f24eee48c1ad31fc9da8f9ef9e72f1a9c40b8b72c881 WHIRLPOOL d04c2cea964893defb403c91120b65bab09dfb62d6c2785f0e501955432e6452d396e96dc7797c1ec434de781f48f9e7fc46deb3698b78bbd4e846ffc772e569
-MISC ChangeLog 10343 SHA256 a125940471077df1c8a512b88cb1ca15b20d27cd49fc987264dd5be4b06aa3ac SHA512 10e5966df9ab12c4c13cc213bfb2957d842d831e92fe241c41f0229fad30d68bbe5fd2d5626baa66fa14299cf07d7b10fb3429075c3f6a3ea58eb540b6be5043 WHIRLPOOL 1d3e907209db2385cfecc460047a5c1395b29f9f56897e9ca477586783506e2416461a0a9295d8d08d79c54b1d978a6f894cedbf74bafb0f0b76fff57e2b9c64
+EBUILD rdoc-3.12.2.ebuild 2540 SHA256 c9fffe3ef87ae58d420f4b8816e24164f5d195d5fcf9c17b6809a34fa3ffab5e SHA512 874d1279b570bf0f789aa4b3e94ea477f393fa65001b68a086e9137b92708e7ad7ac327bdc572bfb403724860c3efb41621812d9f68dd1f6e22a195650c0a504 WHIRLPOOL 4d0c7b0a68eafd46606d60fffcb466c9a4ea09245f06dae1950ac96fe42c628c1fd3d69d698197b16118c86c19d74ef0165d6cfdf0b488b8408efa3ebf8d24b1
+MISC ChangeLog 10460 SHA256 58b463d6c6f29ef8179831b4631b6537be07f2be1924792708d5ceaaddae8ca2 SHA512 2ffbb373521914950b6847d7281a2d8630ccb4c3a9843a77768ffdcb50559cb4d23e5587a348cca834e574069a370466a6be92e8efc96cb771125cf8755a5f3f WHIRLPOOL 7c2a06208763155669643f679f15545bf47ed6415e33e8d13afdbf15c48d98d0caaa20318598f83faefc5a454bd4d55e261e069d93fb0e037cdafdd77a330102
MISC metadata.xml 230 SHA256 a04255553b410ad36340c3a47e4f30304c388b503b27c07c3e6f9bbdc9dbbd54 SHA512 c1c7fd9d06fc087b6bca6119547401ab5c9a752ce6a3981ab8a3531033332bdf4a176cfe455f130c3157f0a9757ab5250cc99bf600151e83f09c201c1a1b4e46 WHIRLPOOL f1aa7788f09e4d730668da22d38c1ccbfb8f72cd601d66c53ca3ca5af779c01578232332d37ffe74fa6529426e5d7517e2612bcc83d46133aea00b86db2f2ad7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iF4EAREIAAYFAlFqVgsACgkQiIP6VqMIqNfBYgD9FO8PQWi/S/SocWsITxLRClb6
-f8XCVaFKIxlHwhmdw0QA/iOtHIg+77Duv94DzR6Reh8IJqbHXEpR2zAZ/WlkWw4H
-=HfXi
+iF4EAREIAAYFAlFqVz0ACgkQiIP6VqMIqNclhQEAkEI0rtKIrRJmz2OfWg02ruSL
+z0F0WXWaV8uEs8Ze0qsA/AtlYtqAWiB7JTJ2uqjRow1g5qbX8vx4GoxRTaG8D7us
+=6tVV
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/rdoc/rdoc-3.12.2.ebuild b/dev-ruby/rdoc/rdoc-3.12.2.ebuild
new file mode 100644
index 000000000000..4d1d33993d2a
--- /dev/null
+++ b/dev-ruby/rdoc/rdoc-3.12.2.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/rdoc-3.12.2.ebuild,v 1.1 2013/04/14 07:14:04 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+
+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
+ doc? ( >=dev-ruby/hoe-2.7.0 )
+ test? (
+ >=dev-ruby/hoe-2.7.0
+ dev-ruby/minitest
+ )"
+
+ruby_add_rdepend "=dev-ruby/json-1* >=dev-ruby/json-1.4"
+
+# This ebuild replaces rdoc in ruby-1.9.2 and later.
+# ruby 1.8.6 is no longer supported.
+RDEPEND="${RDEPEND}
+ ruby_targets_ruby19? (
+ >=dev-lang/ruby-1.9.2:1.9
+ )
+ ruby_targets_ruby18? (
+ >=dev-lang/ruby-1.8.7:1.8
+ )"
+
+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
+
+ epatch "${FILESDIR}/${PN}-3.0.1-bin-require.patch"
+ epatch "${FILESDIR}/${PN}-fix-hash-ordering-tests.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
+
+ # Avoid the generate rule since it doesn't work on jruby, see below.
+ sed -i -e '/:generate/d' Rakefile || die
+}
+
+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
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ for bin in rdoc ri; do
+ ruby_fakegem_binwrapper $bin /usr/bin/$bin-2
+
+ if use ruby_targets_ruby19; then
+ ruby_fakegem_binwrapper $bin /usr/bin/${bin}19
+ sed -i -e "1s/env ruby/ruby19/" \
+ "${ED}/usr/bin/${bin}19" || die
+ fi
+ done
+}