graaff 15/07/05 09:10:53 Modified: ChangeLog ruby-fakegem.eclass Log: Document that some variables must be set before inheriting the eclass.
Revision Changes Path 1.1700 eclass/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1700&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1700&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1699&r2=1.1700 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v retrieving revision 1.1699 retrieving revision 1.1700 diff -u -r1.1699 -r1.1700 --- ChangeLog 4 Jul 2015 15:26:17 -0000 1.1699 +++ ChangeLog 5 Jul 2015 09:10:53 -0000 1.1700 @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1699 2015/07/04 15:26:17 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1700 2015/07/05 09:10:53 graaff Exp $ + + 05 Jul 2015; Hans de Graaff <[email protected]> ruby-fakegem.eclass: + Document that some variables must be set before inheriting the eclass. 04 Jul 2015; Mike Gilbert <[email protected]> distutils-r1.eclass, python-any-r1.eclass, python-r1.eclass, python-single-r1.eclass, 1.45 eclass/ruby-fakegem.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-fakegem.eclass?rev=1.45&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-fakegem.eclass?rev=1.45&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-fakegem.eclass?r1=1.44&r2=1.45 Index: ruby-fakegem.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- ruby-fakegem.eclass 28 Dec 2014 10:13:18 -0000 1.44 +++ ruby-fakegem.eclass 5 Jul 2015 09:10:53 -0000 1.45 @@ -1,6 +1,6 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.44 2014/12/28 10:13:18 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.45 2015/07/05 09:10:53 graaff Exp $ # @ECLASS: ruby-fakegem.eclass # @MAINTAINER: @@ -18,11 +18,13 @@ # @ECLASS-VARIABLE: RUBY_FAKEGEM_NAME # @DESCRIPTION: # Sets the Gem name for the generated fake gemspec. +# This variable MUST be set before inheriting the eclass. # RUBY_FAKEGEM_NAME="${PN}" # @ECLASS-VARIABLE: RUBY_FAKEGEM_VERSION # @DESCRIPTION: # Sets the Gem version for the generated fake gemspec. +# This variable MUST be set before inheriting the eclass. # RUBY_FAKEGEM_VERSION="${PV}" # @ECLASS-VARIABLE: RUBY_FAKEGEM_TASK_DOC @@ -294,7 +296,7 @@ # so better taking this into consideration. local quoted_description=${DESCRIPTION//\"/\\\"} cat - > $1 <<EOF -# generated by ruby-fakegem.eclass $Revision: 1.44 $ +# generated by ruby-fakegem.eclass $Revision: 1.45 $ Gem::Specification.new do |s| s.name = "${RUBY_FAKEGEM_NAME}" s.version = "${RUBY_FAKEGEM_VERSION}" @@ -347,7 +349,7 @@ #!${rubycmd} # This is a simplified version of the RubyGems wrapper # -# Generated by ruby-fakegem.eclass $Revision: 1.44 $ +# Generated by ruby-fakegem.eclass $Revision: 1.45 $ require 'rubygems'
