Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 526126 Details for
Bug 651948
dev-lang/ruby-2.3.7 update installs only docs to system tree
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ruby-single.eclass from /usr/portage/eclass
ruby-single.eclass (text/plain), 2.40 KB, created by
G.Wolfe Woodbury
on 2018-03-29 20:26:15 UTC
(
hide
)
Description:
ruby-single.eclass from /usr/portage/eclass
Filename:
MIME Type:
Creator:
G.Wolfe Woodbury
Created:
2018-03-29 20:26:15 UTC
Size:
2.40 KB
patch
obsolete
># Copyright 1999-2017 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > ># @ECLASS: ruby-single.eclass ># @MAINTAINER: ># Ruby team <ruby@gentoo.org> ># @AUTHOR: ># Author: Hans de Graaff <graaff@gentoo.org> ># Based on python-single-r1 by: MichaŠGórny <mgorny@gentoo.org> ># @BLURB: An eclass for Ruby packages not installed for multiple implementations. ># @DESCRIPTION: ># An eclass for packages which don't support being installed for ># multiple Ruby implementations. This mostly includes ruby-based ># 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) > die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" > ;; > 4|5|6) > ;; > *) > die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" > ;; >esac > >if [[ ! ${_RUBY_SINGLE} ]]; then > >inherit ruby-utils > ># @ECLASS-VARIABLE: USE_RUBY ># @DEFAULT_UNSET ># @REQUIRED ># @DESCRIPTION: ># This variable contains a space separated list of targets (see above) a package ># is compatible to. It must be set before the `inherit' call. There is no ># default. All ebuilds are expected to set this variable. > > ># @ECLASS-VARIABLE: RUBY_DEPS ># @DEFAULT_UNSET ># @DESCRIPTION: ># ># This is an eclass-generated Ruby dependency string for all ># implementations listed in USE_RUBY. Any one of the supported ruby ># targets will satisfy this dependency. A dependency on ># virtual/rubygems is also added to ensure that this is installed ># in time for the package to use it. ># ># Example use: ># @CODE ># 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 > for _ruby_implementation in ${RUBY_TARGETS_PREFERENCE}; do > if [[ ${USE_RUBY} =~ ${_ruby_implementation} ]]; then > depend="${depend} $(_ruby_implementation_depend $_ruby_implementation)" > fi > done > echo "|| ( ${depend} ) virtual/rubygems" >} > >_ruby_single_set_globals() { > RUBY_DEPS=$(_ruby_single_implementations_depend) >} >_ruby_single_set_globals > > >_RUBY_SINGLE=1 >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 651948
:
526116
|
526118
|
526120
|
526122
|
526124
| 526126 |
526128