Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ruby-fakegem.eclass ChangeLog
Date: Sat, 09 Nov 2013 10:22:15
Message-Id: 20131109102206.B679D2004B@flycatcher.gentoo.org
1 graaff 13/11/09 10:22:06
2
3 Modified: ruby-fakegem.eclass ChangeLog
4 Log:
5 Add a yard recipe for creating documentation.
6
7 Revision Changes Path
8 1.40 eclass/ruby-fakegem.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-fakegem.eclass?rev=1.40&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-fakegem.eclass?rev=1.40&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-fakegem.eclass?r1=1.39&r2=1.40
13
14 Index: ruby-fakegem.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v
17 retrieving revision 1.39
18 retrieving revision 1.40
19 diff -u -r1.39 -r1.40
20 --- ruby-fakegem.eclass 1 Jun 2013 13:18:45 -0000 1.39
21 +++ ruby-fakegem.eclass 9 Nov 2013 10:22:06 -0000 1.40
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2013 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.39 2013/06/01 13:18:45 graaff Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.40 2013/11/09 10:22:06 graaff Exp $
27
28 # @ECLASS: ruby-fakegem.eclass
29 # @MAINTAINER:
30 @@ -51,6 +51,7 @@
31 # Specify one of the default API doc building function for ruby-fakegem:
32 # - rake (default; see also RUBY_FAKEGEM_TASK_DOC)
33 # - rdoc (calls `rdoc-2`, adds dev-ruby/rdoc to the dependencies);
34 +# - yard (calls `yard`, adds dev-ruby/yard to the dependencies);
35 # - none
36 # RUBY_FAKEGEM_RECIPE_DOC="rake"
37
38 @@ -121,6 +122,11 @@
39 ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
40 RUBY_FAKEGEM_DOCDIR="doc"
41 ;;
42 + yard)
43 + IUSE+="doc"
44 + ruby_add_bdepend "doc? ( dev-ruby/yard )"
45 + RUBY_FAKEGEM_DOCDIR="doc"
46 + ;;
47 none)
48 [[ -n ${RUBY_FAKEGEM_DOCDIR} ]] && IUSE+=" doc"
49 ;;
50 @@ -281,7 +287,7 @@
51 # so better taking this into consideration.
52 local quoted_description=${DESCRIPTION//\"/\\\"}
53 cat - > $1 <<EOF
54 -# generated by ruby-fakegem.eclass $Revision: 1.39 $
55 +# generated by ruby-fakegem.eclass $Revision: 1.40 $
56 Gem::Specification.new do |s|
57 s.name = "${RUBY_FAKEGEM_NAME}"
58 s.version = "${RUBY_FAKEGEM_VERSION}"
59 @@ -331,7 +337,7 @@
60 #!${rubycmd}
61 # This is a simplified version of the RubyGems wrapper
62 #
63 -# Generated by ruby-fakegem.eclass $Revision: 1.39 $
64 +# Generated by ruby-fakegem.eclass $Revision: 1.40 $
65
66 require 'rubygems'
67
68 @@ -357,6 +363,9 @@
69 rdoc)
70 rdoc ${RUBY_FAKEGEM_DOC_SOURCES} || die "failed to (re)build documentation"
71 ;;
72 + yard)
73 + yard doc ${RUBY_FAKEGEM_DOC_SOURCES} || die "failed to (re)build documentation"
74 + ;;
75 esac
76 fi
77 }
78
79
80
81 1.1053 eclass/ChangeLog
82
83 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1053&view=markup
84 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1053&content-type=text/plain
85 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1052&r2=1.1053
86
87 Index: ChangeLog
88 ===================================================================
89 RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
90 retrieving revision 1.1052
91 retrieving revision 1.1053
92 diff -u -r1.1052 -r1.1053
93 --- ChangeLog 9 Nov 2013 10:05:12 -0000 1.1052
94 +++ ChangeLog 9 Nov 2013 10:22:06 -0000 1.1053
95 @@ -1,6 +1,9 @@
96 # ChangeLog for eclass directory
97 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
98 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1052 2013/11/09 10:05:12 dirtyepic Exp $
99 +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1053 2013/11/09 10:22:06 graaff Exp $
100 +
101 + 09 Nov 2013; Hans de Graaff <graaff@g.o> ruby-fakegem.eclass:
102 + Add a yard recipe for creating documentation.
103
104 09 Nov 2013; Ryan Hill <dirtyepic@g.o> toolchain.eclass:
105 Revert previous and instead include the build log and some other info. Don't