diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-07-09 07:11:25 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-07-09 07:11:25 +0000 |
commit | 65ac0cef3131beed51be55dc07ee090c1828a389 (patch) | |
tree | cdab40996c73800f1f163d3fe3fc6c2802dfea43 /eclass | |
parent | Stable for HPPA PPC64 (bug #454572). (diff) | |
download | historical-65ac0cef3131beed51be55dc07ee090c1828a389.tar.gz historical-65ac0cef3131beed51be55dc07ee090c1828a389.tar.bz2 historical-65ac0cef3131beed51be55dc07ee090c1828a389.zip |
Update documentation.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/ruby-single.eclass | 17 |
2 files changed, 18 insertions, 4 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 8f770e07ef53..184270b310e1 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -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.1704 2015/07/08 09:33:47 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1705 2015/07/09 07:11:25 graaff Exp $ + + 09 Jul 2015; Hans de Graaff <graaff@gentoo.org> ruby-single.eclass: + Update documentation. 08 Jul 2015; Bernard Cafarelli <voyageur@gentoo.org> webapp.eclass: Fix elog in webapp_serverowned and ebeep in newer EAPIs diff --git a/eclass/ruby-single.eclass b/eclass/ruby-single.eclass index e0d5d270d4db..0ce8b75adb83 100644 --- a/eclass/ruby-single.eclass +++ b/eclass/ruby-single.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-single.eclass,v 1.2 2015/05/31 06:14:54 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-single.eclass,v 1.3 2015/07/09 07:11:25 graaff Exp $ # @ECLASS: ruby-single # @MAINTAINER: @@ -12,7 +12,15 @@ # @DESCRIPTION: # An eclass for packages which don't support being installed for # multiple Ruby implementations. This mostly includes ruby-based -# scripts. +# scripts. Set USE_RUBY to include all the ruby targets that have been +# verified to work and include the eclass. RUBY_DEPS is now available to +# pull in the dependency on the requested ruby targets. +# +# @CODE +# USE_RUBY="ruby20 ruby21" +# inherit ruby-single +# RDEPEND="${RUBY_DEPS}" +# @CODE case "${EAPI:-0}" in 0|1|2|3) @@ -52,12 +60,15 @@ inherit ruby-utils # RDEPEND="${RUBY_DEPS} # dev-foo/mydep" # BDEPEND="${RDEPEND}" -# @ +# @CODE # # Example value: # @CODE # || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 ) virtual/rubygems # @CODE +# +# The order of dependencies will change over time to best match the +# current state of ruby targets, e.g. stable version first. _ruby_single_implementations_depend() { local depend |