graaff      15/01/14 07:03:35

  Modified:             ChangeLog
  Added:                rdoc-4.1.2-r1.ebuild
  Log:
  Install the versioned wrappers also for ruby22, fixing bug 536288.
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0x8883FA56A308A8D7!)

Revision  Changes    Path
1.133                dev-ruby/rdoc/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/ChangeLog?rev=1.133&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/ChangeLog?rev=1.133&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/ChangeLog?r1=1.132&r2=1.133

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -r1.132 -r1.133
--- ChangeLog   27 Dec 2014 21:05:21 -0000      1.132
+++ ChangeLog   14 Jan 2015 07:03:35 -0000      1.133
@@ -1,426 +1,9 @@
 # ChangeLog for dev-ruby/rdoc
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.132 2014/12/27 
21:05:21 graaff Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.133 2015/01/14 
07:03:35 graaff Exp $
 
-  27 Dec 2014; Hans de Graaff <gra...@gentoo.org> rdoc-4.1.2.ebuild:
-  Add ruby22.
+*rdoc-4.1.2-r1 (14 Jan 2015)
 
-  26 Nov 2014; Manuel Rüger <mr...@gentoo.org> rdoc-3.12.2.ebuild,
-  rdoc-4.0.1-r1.ebuild, rdoc-4.0.1-r2.ebuild:
-  Drop jruby target.
+  14 Jan 2015; Hans de Graaff <gra...@gentoo.org> +rdoc-4.1.2-r1.ebuild:
+  Install the versioned wrappers also for ruby22, fixing bug 536288.
 
-  18 Nov 2014; Manuel Rüger <mr...@gentoo.org> -files/rdoc-2.5.6-ruby19.patch:
-  Cleanup unused patches.
-
-*rdoc-4.1.2 (18 Sep 2014)
-
-  18 Sep 2014; Hans de Graaff <gra...@gentoo.org> +rdoc-4.1.2.ebuild:
-  Version bump.
-
-  05 Jul 2014; Manuel Rüger <mr...@gentoo.org> rdoc-3.12.2.ebuild,
-  rdoc-4.0.1-r1.ebuild, rdoc-4.0.1-r2.ebuild:
-  Drop ruby18 support.
-
-  26 Jan 2014; Agostino Sarubbo <a...@gentoo.org> rdoc-4.0.1-r1.ebuild:
-  Stable for alpha, wrt bug #483254
-
-  26 Jan 2014; Agostino Sarubbo <a...@gentoo.org> rdoc-4.0.1-r1.ebuild:
-  Stable for sparc, wrt bug #483254
-
-  05 Jan 2014; Hans de Graaff <gra...@gentoo.org> rdoc-3.12.2.ebuild:
-  Drop s390 and sh stable flags for ruby.
-
-  29 Dec 2013; Markus Meier <mae...@gentoo.org> rdoc-4.0.1-r1.ebuild:
-  arm stable, bug #483254
-
-*rdoc-4.0.1-r2 (26 Dec 2013)
-
-  26 Dec 2013; Hans de Graaff <gra...@gentoo.org> +rdoc-4.0.1-r2.ebuild:
-  Add revision for ruby21.
-
-  20 Dec 2013; Akinori Hattori <hat...@gentoo.org> rdoc-4.0.1-r1.ebuild:
-  ia64 stable wrt bug #483254
-
-  15 Dec 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-4.0.1-r1.ebuild:
-  Stable for ppc64, wrt bug #483254
-
-  15 Dec 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-4.0.1-r1.ebuild:
-  Stable for ppc, wrt bug #483254
-
-  17 Nov 2013; Manuel Rüger <mr...@gentoo.org> -rdoc-3.12.1.ebuild:
-  Cleanup old.
-
-  05 Sep 2013; Jeroen Roovers <j...@gentoo.org> rdoc-4.0.1-r1.ebuild:
-  Stable for HPPA (bug #483254).
-
-  01 Sep 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-4.0.1-r1.ebuild:
-  Stable for x86, wrt bug #483254
-
-  01 Sep 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-4.0.1-r1.ebuild:
-  Stable for amd64, wrt bug #483254
-
-  01 Sep 2013; Hans de Graaff <gra...@gentoo.org> -rdoc-4.0.1.ebuild:
-  Cleanup.
-
-*rdoc-4.0.1-r1 (14 Jul 2013)
-
-  14 Jul 2013; Hans de Graaff <gra...@gentoo.org> +rdoc-4.0.1-r1.ebuild:
-  Install rdoc20 wrapper needed for eselecting ruby. Fixes bug 476694. Thanks
-  to cmuelle8 for the initial patch.
-
-  07 Jul 2013; Hans de Graaff <gra...@gentoo.org> rdoc-4.0.1.ebuild:
-  Add ruby20 support.
-
-*rdoc-4.0.1 (03 Jun 2013)
-
-  03 Jun 2013; Hans de Graaff <gra...@gentoo.org> +rdoc-4.0.1.ebuild:
-  Version bump.
-
-  02 Jun 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.2.ebuild:
-  Stable for sh, wrt bug #470226
-
-  25 May 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.2.ebuild:
-  Stable for alpha, wrt bug #470226
-
-  25 May 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.2.ebuild:
-  Stable for sparc, wrt bug #470226
-
-  24 May 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.2.ebuild:
-  Stable for ppc64, wrt bug #470226
-
-  22 May 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.2.ebuild:
-  Stable for ia64, wrt bug #470226
-
-  21 May 2013; Jeroen Roovers <j...@gentoo.org> rdoc-3.12.2.ebuild:
-  Stable for HPPA (bug #470226).
-
-  20 May 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.2.ebuild:
-  Stable for s390, wrt bug #470226
-
-  20 May 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.2.ebuild:
-  Stable for arm, wrt bug #470226
-
-  20 May 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.2.ebuild:
-  Stable for ppc, wrt bug #470226
-
-  20 May 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.2.ebuild:
-  Stable for x86, wrt bug #470226
-
-  19 May 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.2.ebuild:
-  Stable for amd64, wrt bug #470226
-
-*rdoc-3.12.2 (14 Apr 2013)
-
-  14 Apr 2013; Hans de Graaff <gra...@gentoo.org> +rdoc-3.12.2.ebuild:
-  Version bump.
-
-  14 Apr 2013; Hans de Graaff <gra...@gentoo.org> -rdoc-3.5.1.ebuild,
-  -rdoc-3.6.1.ebuild, -rdoc-3.12.ebuild:
-  Cleanup.
-
-  01 Mar 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.1.ebuild:
-  Stable for sh, wrt bug #456268
-
-  01 Mar 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.1.ebuild:
-  Stable for alpha, wrt bug #456268
-
-  26 Feb 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.1.ebuild:
-  Stable for s390, wrt bug #456268
-
-  26 Feb 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.1.ebuild:
-  Stable for sparc, wrt bug #456268
-
-  26 Feb 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.1.ebuild:
-  Stable for ppc64, wrt bug #456268
-
-  26 Feb 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.1.ebuild:
-  Stable for ppc, wrt bug #456268
-
-  26 Feb 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.1.ebuild:
-  Stable for arm, wrt bug #456268
-
-  26 Feb 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.1.ebuild:
-  Stable for hppa, wrt bug #456268
-
-  26 Feb 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.1.ebuild:
-  Stable for ia64, wrt bug #456268
-
-  26 Feb 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.1.ebuild:
-  Stable for x86, wrt bug #456268
-
-  26 Feb 2013; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.1.ebuild:
-  Stable for amd64, wrt bug #456268
-
-*rdoc-3.12.1 (08 Feb 2013)
-
-  08 Feb 2013; Hans de Graaff <gra...@gentoo.org> +rdoc-3.12.1.ebuild:
-  Version bump with fix for CVE-2013-0256.
-
-  28 Jan 2013; Alexis Ballier <aball...@gentoo.org> rdoc-3.12.ebuild:
-  keyword ~amd64-fbsd
-
-  06 Nov 2012; Jeroen Roovers <j...@gentoo.org> rdoc-3.12.ebuild:
-  Stable for HPPA (bug #411507).
-
-  27 Oct 2012; Raúl Porcel <armi...@gentoo.org> rdoc-3.12.ebuild:
-  s390/sh stable wrt #411507
-
-  21 Oct 2012; Raúl Porcel <armi...@gentoo.org> rdoc-3.12.ebuild:
-  alpha/ia64/sparc stable wrt #411507
-
-  27 Jul 2012; Fabian Groffen <grob...@gentoo.org> rdoc-3.12.ebuild:
-  Marked ~sparc64-solaris
-
-  25 Jul 2012; Anthony G. Basile <bluen...@gentoo.org> rdoc-3.12.ebuild:
-  ppc64 stable #411507
-
-  22 Jul 2012; <nix...@gentoo.org> rdoc-3.12.ebuild:
-  ppc stable #411507
-
-  25 Jun 2012; Andreas Schuerch <native...@gentoo.org> rdoc-3.12.ebuild:
-  x86 stable, see bug 411507
-
-  27 May 2012; Markus Meier <mae...@gentoo.org> rdoc-3.12.ebuild:
-  arm stable, bug #411507
-
-  20 May 2012; Agostino Sarubbo <a...@gentoo.org> rdoc-3.12.ebuild:
-  Stable for amd64, wrt bug #411507
-
-  20 May 2012; Hans de Graaff <gra...@gentoo.org> -rdoc-2.5.11.ebuild,
-  -rdoc-3.5.3.ebuild, -rdoc-3.6.ebuild, -rdoc-3.11.ebuild:
-  Remove old versions.
-
-  30 Apr 2012; Hans de Graaff <gra...@gentoo.org> rdoc-3.12.ebuild,
-  +files/rdoc-fix-hash-ordering-tests.patch:
-  Fix ruby 1.8 hash ordering test failures, bug 397657. Fix racc file
-  generation. Avoid test requiring FEATURES=userpriv, bug 361959.
-
-  01 Mar 2012; Naohiro Aota <na...@gentoo.org> rdoc-3.12.ebuild:
-  Add ~x86-fbsd
-
-  05 Feb 2012; Markus Meier <mae...@gentoo.org> rdoc-3.12.ebuild:
-  add ~arm, bug #332593
-
-  31 Dec 2011; Fabian Groffen <grob...@gentoo.org> rdoc-3.6.1.ebuild:
-  Add Prefix keywords, bug #396547
-
-*rdoc-3.12 (24 Dec 2011)
-
-  24 Dec 2011; Hans de Graaff <gra...@gentoo.org> +rdoc-3.12.ebuild:
-  Version bump.
-
-*rdoc-3.11 (21 Nov 2011)
-
-  21 Nov 2011; Hans de Graaff <gra...@gentoo.org> +rdoc-3.11.ebuild:
-  Version bump. Drop arm,s390,sh,x86-fbsd keywords due to new racc dependency,
-  bug 391287.
-
-  10 Nov 2011; Naohiro Aota <na...@gentoo.org> rdoc-3.6.1.ebuild:
-  Add ~x86-fbsd
-
-  14 Sep 2011; Jeroen Roovers <j...@gentoo.org> rdoc-3.5.1.ebuild:
-  Stable for HPPA (bug #369573).
-
-  09 Sep 2011; Fabian Groffen <grob...@gentoo.org> rdoc-3.6.1.ebuild:
-  Marked ~sparc-solaris
-
-  23 Jul 2011; Kacper Kowalik <xarthis...@gentoo.org> rdoc-3.5.1.ebuild:
-  ppc64 stable wrt #364215
-
-  23 Jul 2011; Hans de Graaff <gra...@gentoo.org> rdoc-3.5.1.ebuild:
-  Remove remaining use of ruby19.
-
-  16 Jul 2011; Kacper Kowalik <xarthis...@gentoo.org> rdoc-3.5.1.ebuild:
-  ppc stable wrt #364215
-
-  15 Jul 2011; Matt Turner <matts...@gentoo.org> rdoc-3.6.1.ebuild:
-  Added ~mips, bug 332593
-
-  11 Jul 2011; Fabian Groffen <grob...@gentoo.org> rdoc-3.6.1.ebuild:
-  Marked ~x86-linux, bug #374765
-
-*rdoc-3.6.1 (17 May 2011)
-
-  17 May 2011; Hans de Graaff <gra...@gentoo.org> +rdoc-3.6.1.ebuild:
-  Version bump.
-
-*rdoc-3.6 (15 May 2011)
-
-  15 May 2011; Hans de Graaff <gra...@gentoo.org> +rdoc-3.6.ebuild:
-  Version bump.
-
-  26 Apr 2011; Christoph Mende <ange...@gentoo.org> rdoc-3.5.1.ebuild:
-  Stable on amd64 wrt bug #357939
-
-  23 Apr 2011; Raúl Porcel <armi...@gentoo.org> rdoc-3.5.1.ebuild:
-  alpha/ia64/sparc stable wrt #357939
-
-  17 Apr 2011; Christian Faulhammer <fa...@gentoo.org> rdoc-3.5.1.ebuild:
-  stable x86, 357939
-
-  04 Apr 2011; Hans de Graaff <gra...@gentoo.org> rdoc-3.5.1.ebuild:
-  Drop ruby19 target to create a stable candidate.
-
-  04 Apr 2011; Hans de Graaff <gra...@gentoo.org> -rdoc-3.4.ebuild,
-  -rdoc-3.5.ebuild:
-  Remove old versions.
-
-  07 Mar 2011; Raúl Porcel <armi...@gentoo.org> rdoc-2.5.11.ebuild,
-  rdoc-3.4.ebuild, rdoc-3.5.ebuild, rdoc-3.5.1.ebuild, rdoc-3.5.3.ebuild:
-  Add ~arm/~s390/~sh
-
-*rdoc-3.5.3 (12 Feb 2011)
-
-  12 Feb 2011; Hans de Graaff <gra...@gentoo.org> +rdoc-3.5.3.ebuild:
-  Version bump.
-
-  12 Feb 2011; Hans de Graaff <gra...@gentoo.org> -rdoc-3.0.1.ebuild,
-  -rdoc-3.0.1-r1.ebuild, -rdoc-3.2.ebuild:
-  Remove old versions.
-
-*rdoc-3.5.1 (31 Jan 2011)
-
-  31 Jan 2011; Hans de Graaff <gra...@gentoo.org> +rdoc-3.5.1.ebuild:
-  Version bump.
-
-*rdoc-3.5 (30 Jan 2011)
-
-  30 Jan 2011; Hans de Graaff <gra...@gentoo.org> +rdoc-3.5.ebuild:
-  Version bump.
-
-  30 Jan 2011; Hans de Graaff <gra...@gentoo.org> rdoc-3.0.1.ebuild,
-  rdoc-3.0.1-r1.ebuild, rdoc-3.2.ebuild, rdoc-3.4.ebuild:
-  Move alpha keyword forward, no reason to only keyword an old version.
-
-*rdoc-3.4 (08 Jan 2011)
-
-  08 Jan 2011; Hans de Graaff <gra...@gentoo.org> +rdoc-3.4.ebuild:
-  Version bump.
-
-  02 Jan 2011; Tobias Klausmann <klaus...@gentoo.org> rdoc-2.5.11.ebuild:
-  Keyworded on alpha, bug #332593
-
-  31 Dec 2010; Hans de Graaff <gra...@gentoo.org> rdoc-3.2.ebuild:
-  Be explicit about the slots to avoid wrong edge cases, reported by
-  Arfrever.
-
-*rdoc-3.2 (30 Dec 2010)
-
-  30 Dec 2010; Hans de Graaff <gra...@gentoo.org> +rdoc-3.2.ebuild:
-  Version bump: more bug fixes.
-
-  28 Dec 2010; Fabian Groffen <grob...@gentoo.org> rdoc-3.0.1-r1.ebuild:
-  Marked ~x64-solaris
-
-*rdoc-3.0.1-r1 (28 Dec 2010)
-
-  28 Dec 2010; Hans de Graaff <gra...@gentoo.org> +rdoc-3.0.1-r1.ebuild,
-  +files/rdoc-3.0.1-bin-require.patch:
-  Fix include path for script, thanks for James le Cuirot for the patch.
-
-  27 Dec 2010; Hans de Graaff <gra...@gentoo.org> rdoc-2.5.11.ebuild:
-  Drop ruby19 support to create a stable candidate.
-
-*rdoc-3.0.1 (27 Dec 2010)
-
-  27 Dec 2010; Hans de Graaff <gra...@gentoo.org> +rdoc-3.0.1.ebuild:
-  Version bump: major enhancements and bug fixing. Ruby 1.8.6 is no longer
-  supported.
-
-  27 Dec 2010; Hans de Graaff <gra...@gentoo.org> -rdoc-2.5.6.ebuild,
-  -rdoc-2.5.9.ebuild:
-  Remove old versions.
-
-  04 Dec 2010; Fabian Groffen <grob...@gentoo.org> rdoc-2.5.11.ebuild:
-  Marked ~x{86,64}-macos
-
-  25 Oct 2010; Jeroen Roovers <j...@gentoo.org> rdoc-2.5.11.ebuild:
-  Marked ~hppa (bug #337956).
-
-  10 Sep 2010; Fabian Groffen <grob...@gentoo.org> rdoc-2.5.11.ebuild:
-  Fix for Prefix, bug #336704
-
-*rdoc-2.5.11 (24 Aug 2010)
-
-  24 Aug 2010; Alex Legler <a...@gentoo.org> +rdoc-2.5.11.ebuild:
-  Version bump. Fixes tests wrt bug 330279. ruby19 patch is no longer
-  needed.
-
-  18 Aug 2010; Diego E. Pettenò <flamee...@gentoo.org> rdoc-2.5.6.ebuild,
-  rdoc-2.5.9.ebuild:
-  Stop using virtual/ruby-minitest, since it's now unbundled from 1.9 as
-  well.
-
-  08 Aug 2010; Hans de Graaff <gra...@gentoo.org> rdoc-2.5.9.ebuild:
-  Use less existent nonexistent directory, fixing bug 321059.
-
-*rdoc-2.5.9 (19 Jul 2010)
-
-  19 Jul 2010; Hans de Graaff <gra...@gentoo.org> +rdoc-2.5.9.ebuild:
-  Version bump.
-
-  22 May 2010; Alex Legler <a...@gentoo.org> rdoc-2.5.6.ebuild:
-  Add REE18 support
-
-  22 May 2010; Diego E. Pettenò <flamee...@gentoo.org>
-  -rdoc-2.4.3-r1.ebuild, rdoc-2.5.6.ebuild:
-  Cleanup old versions, use new syntax.
-
-*rdoc-2.5.6 (26 Apr 2010)
-
-  26 Apr 2010; Diego E. Pettenò <flamee...@gentoo.org> -rdoc-2.5.5.ebuild,
-  +rdoc-2.5.6.ebuild, +files/rdoc-2.5.6-ruby19.patch:
-  Version bump, add a patch so that tests pass on Ruby 1.9.
-
-*rdoc-2.5.5 (22 Apr 2010)
-
-  22 Apr 2010; Hans de Graaff <gra...@gentoo.org> +rdoc-2.5.5.ebuild:
-  Version bump: many enhancements and bug fixes.
-
-  21 Feb 2010; Jonathan Callen <a...@gentoo.org> rdoc-2.4.3-r1.ebuild:
-  Transfer prefix keywords (no other changes)
-
-  30 Jan 2010; Raúl Porcel <armi...@gentoo.org> rdoc-2.4.3-r1.ebuild:
-  Add ~sparc
-
-  29 Jan 2010; Raúl Porcel <armi...@gentoo.org> rdoc-2.4.3-r1.ebuild:
-  Add ~ia64
-
-  14 Jan 2010; Brent Baude <ran...@gentoo.org> rdoc-2.4.3-r1.ebuild:
-  Marking rdoc-2.4.3-r1 ~ppc for bug 300739
-
-  13 Jan 2010; Diego E. Pettenò <flamee...@gentoo.org>
-  rdoc-2.4.3-r1.ebuild:
-  Enable support for JRuby.
-
-  13 Jan 2010; Brent Baude <ran...@gentoo.org> rdoc-2.4.3-r1.ebuild:
-  Marking rdoc-2.4.3-r1 ~ppc64 for bug 297041
-
-*rdoc-2.4.3-r1 (10 Jan 2010)
-
-  10 Jan 2010; Alex Legler <a...@gentoo.org> -rdoc-2.4.3.ebuild,
-  +rdoc-2.4.3-r1.ebuild:
-  Properly install the binaries into /usr/bin, bug 300489 by Andy Kittner
-
-  04 Jan 2010; Markus Meier <mae...@gentoo.org> rdoc-2.4.3.ebuild:
-  add ~x86, bug #297041
-
-  01 Jan 2010; Alex Legler <a...@gentoo.org> rdoc-2.4.3.ebuild:
-  Fix tests when rdoc is not yet installed (bug 298910), add test dependency
-  on minitest, s/$PN/rdoc/ in HOMEPAGE
-
-  30 Dec 2009; Hans de Graaff <gra...@gentoo.org> rdoc-2.4.3.ebuild:
-  Use proper task name for USE=doc, partially fixing #298910.
-
-  25 Dec 2009; Diego E. Pettenò <flamee...@gentoo.org> rdoc-2.4.3.ebuild:
-  Add missing test and doc dependency over hoe (drop jruby support because
-  of that). Fix a typo.
-
-  21 Dec 2009; Diego E. Pettenò <flamee...@gentoo.org> rdoc-2.4.3.ebuild:
-  Cleanup and simplify ebuild.
-
-*rdoc-2.4.3 (15 Dec 2009)
-
-  15 Dec 2009; Diego E. Pettenò <flamee...@gentoo.org> +rdoc-2.4.3.ebuild,
-  +metadata.xml:
-  Initial import of rdoc 2, ruby-ng style.



1.1                  dev-ruby/rdoc/rdoc-4.1.2-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/rdoc-4.1.2-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/rdoc-4.1.2-r1.ebuild?rev=1.1&content-type=text/plain

Index: rdoc-4.1.2-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/rdoc-4.1.2-r1.ebuild,v 1.1 
2015/01/14 07:03:35 graaff Exp $

EAPI=5
USE_RUBY="ruby19 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

        # Avoid one test failing on ruby22 since that is the only thing
        # holding up adding it to the tree.
        sed -i -e '/test_parse_entries_bad_time/,/^  end/ s:^:#:' 
test/test_rdoc_parser_changelog.rb || 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 -S testrb test/test_*.rb || die
}

all_ruby_install() {
        all_fakegem_install

        for bin in rdoc ri; do
                ruby_fakegem_binwrapper $bin /usr/bin/$bin-2

                for version in 19 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
}




Reply via email to