public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog ruby-ng.eclass
@ 2011-12-18 21:33 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 7+ messages in thread
From: Diego Petteno (flameeyes) @ 2011-12-18 21:33 UTC (permalink / raw
  To: gentoo-commits

flameeyes    11/12/18 21:33:51

  Modified:             ChangeLog ruby-ng.eclass
  Log:
  Reorder setting of REQUIRED_USE to stay near IUSE setting; also use ruby_get_use_targets to set IUSE.

Revision  Changes    Path
1.49                 eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.49&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.49&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.48&r2=1.49

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- ChangeLog	18 Dec 2011 00:00:45 -0000	1.48
+++ ChangeLog	18 Dec 2011 21:33:50 -0000	1.49
@@ -1,6 +1,10 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.48 2011/12/18 00:00:45 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.49 2011/12/18 21:33:50 flameeyes Exp $
+
+  18 Dec 2011; Diego E. Pettenò <flameeyes@gentoo.org> ruby-ng.eclass:
+  Reorder setting of REQUIRED_USE to stay near IUSE setting; also use
+  ruby_get_use_targets to set IUSE.
 
   18 Dec 2011; Andreas K. Huettel <dilfridge@gentoo.org> kde4-base.eclass,
   kde4-functions.eclass, kde4-meta.eclass:



1.44                 eclass/ruby-ng.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?rev=1.44&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?rev=1.44&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?r1=1.43&r2=1.44

Index: ruby-ng.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- ruby-ng.eclass	24 Oct 2011 18:20:05 -0000	1.43
+++ ruby-ng.eclass	18 Dec 2011 21:33:50 -0000	1.44
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.43 2011/10/24 18:20:05 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.44 2011/12/18 21:33:50 flameeyes Exp $
 
 # @ECLASS: ruby-ng.eclass
 # @MAINTAINER:
@@ -283,10 +283,6 @@
 	echo $t
 }
 
-if [[ ${EAPI:-0} -ge 4 && ${RUBY_OPTIONAL} != "yes" ]]; then
-	REQUIRED_USE=" || ( $(ruby_get_use_targets) )"
-fi
-
 # @FUNCTION: ruby_implementations_depend
 # @RETURN: Dependencies suitable for injection into DEPEND and RDEPEND.
 # @DESCRIPTION:
@@ -311,14 +307,14 @@
 	echo "${depend}"
 }
 
-for _ruby_implementation in ${USE_RUBY}; do
-	IUSE="${IUSE} ruby_targets_${_ruby_implementation}"
-done
+IUSE+=" $(ruby_get_use_targets)"
 # If you specify RUBY_OPTIONAL you also need to take care of
 # ruby useflag and dependency.
 if [[ ${RUBY_OPTIONAL} != yes ]]; then
 	DEPEND="${DEPEND} $(ruby_implementations_depend)"
 	RDEPEND="${RDEPEND} $(ruby_implementations_depend)"
+
+	[[ ${EAPI:-0} -ge 4 ]] && REQUIRED_USE+=" || ( $(ruby_get_use_targets) )"
 fi
 
 _ruby_invoke_environment() {






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog ruby-ng.eclass
@ 2012-02-23 23:06 Alex Legler (a3li)
  0 siblings, 0 replies; 7+ messages in thread
From: Alex Legler (a3li) @ 2012-02-23 23:06 UTC (permalink / raw
  To: gentoo-commits

a3li        12/02/23 23:06:13

  Modified:             ChangeLog ruby-ng.eclass
  Log:
  ruby-ng.eclass: Improve no-matching-ruby-target-error message wording wrt bug 405373.

Revision  Changes    Path
1.141                eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.141&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.141&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.140&r2=1.141

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -r1.140 -r1.141
--- ChangeLog	21 Feb 2012 18:03:49 -0000	1.140
+++ ChangeLog	23 Feb 2012 23:06:13 -0000	1.141
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.140 2012/02/21 18:03:49 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.141 2012/02/23 23:06:13 a3li Exp $
+
+  23 Feb 2012; Alex Legler <a3li@gentoo.org> ruby-ng.eclass:
+  Improve no-matching-ruby-target-error message wording wrt bug 405373.
 
   21 Feb 2012; Justin Lecher <jlec@gentoo.org> subversion.eclass:
   Respect ESVN_USER, ESVN_PASSWORD and ESVN_OPTIONS on repo update, #401737



1.45                 eclass/ruby-ng.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?rev=1.45&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?rev=1.45&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?r1=1.44&r2=1.45

Index: ruby-ng.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- ruby-ng.eclass	18 Dec 2011 21:33:50 -0000	1.44
+++ ruby-ng.eclass	23 Feb 2012 23:06:13 -0000	1.45
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.44 2011/12/18 21:33:50 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.45 2012/02/23 23:06:13 a3li Exp $
 
 # @ECLASS: ruby-ng.eclass
 # @MAINTAINER:
@@ -384,7 +384,14 @@
 		unset RUBY
 	done
 
-	[[ ${invoked} == "no" ]] && die "You need to select at least one Ruby implementation by setting RUBY_TARGETS in /etc/make.conf."
+	if [[ ${invoked} == "no" ]]; then
+		eerror "You need to select at least one compatible Ruby installation target via RUBY_TARGETS in make.conf."
+		eerror "Compatible targets for this package are: ${USE_RUBY}"
+		eerror
+		eerror "See http://www.gentoo.org/proj/en/prog_lang/ruby/index.xml#doc_chap3 for more information."
+		eerror
+		die "No compatible Ruby target selected."
+	fi
 }
 
 # @FUNCTION: ruby-ng_pkg_setup






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog ruby-ng.eclass
@ 2012-07-08 12:38 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 7+ messages in thread
From: Diego Petteno (flameeyes) @ 2012-07-08 12:38 UTC (permalink / raw
  To: gentoo-commits

flameeyes    12/07/08 12:38:10

  Modified:             ChangeLog ruby-ng.eclass
  Log:
  Add a function to wrap around testrb-2 as well.

Revision  Changes    Path
1.337                eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.337&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.337&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.336&r2=1.337

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.336
retrieving revision 1.337
diff -u -r1.336 -r1.337
--- ChangeLog	5 Jul 2012 21:23:01 -0000	1.336
+++ ChangeLog	8 Jul 2012 12:38:10 -0000	1.337
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.336 2012/07/05 21:23:01 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.337 2012/07/08 12:38:10 flameeyes Exp $
+
+  08 Jul 2012; Diego E. Pettenò <flameeyes@gentoo.org> ruby-ng.eclass:
+  Add a function to wrap around testrb-2 as well.
 
   05 Jul 2012; Diego E. Pettenò <flameeyes@gentoo.org> ruby-fakegem.eclass,
   ruby-ng.eclass:



1.48                 eclass/ruby-ng.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?rev=1.48&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?rev=1.48&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?r1=1.47&r2=1.48

Index: ruby-ng.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- ruby-ng.eclass	5 Jul 2012 21:23:01 -0000	1.47
+++ ruby-ng.eclass	8 Jul 2012 12:38:10 -0000	1.48
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.47 2012/07/05 21:23:01 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.48 2012/07/08 12:38:10 flameeyes Exp $
 
 # @ECLASS: ruby-ng.eclass
 # @MAINTAINER:
@@ -658,3 +658,37 @@
 
 	${RUBY} -S rspec ${rspec_params} "$@" || die "rspec failed"
 }
+
+# @FUNCTION: ruby-ng_testrb-2
+# @DESCRIPTION:
+# This is simply a replacement for the testrb command that load the test
+# files and execute them, with test-unit 2.x. This actually requires
+# either an old test-unit-2 version or 2.5.1-r1 or later, as they remove
+# their script and we installed a broken wrapper for a while.
+# This also respects TEST_VERBOSE and NOCOLOR environment variables.
+ruby-ng_testrb-2() {
+	if [[ ${DEPEND} != *"dev-ruby/test-unit"* ]]; then
+		ewarn "Missing dev-ruby/test-unit in \${DEPEND}"
+	fi
+
+	local testrb_params=
+	case ${NOCOLOR} in
+		1|yes|true)
+			testrb_params+=" --no-use-color"
+			;;
+		*)
+			testrb_params+=" --use-color=auto"
+			;;
+	esac
+
+	case ${TEST_VERBOSE} in
+		1|yes|true)
+			testrb_params+=" --verbose=verbose"
+			;;
+		*)
+			testrb_params+=" --verbose=normal"
+			;;
+	esac
+
+	${RUBY} -S testrb-2 ${testrb_params} "$@" || die "testrb-2 failed"
+}






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog ruby-ng.eclass
@ 2012-08-13 21:18 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 7+ messages in thread
From: Diego Petteno (flameeyes) @ 2012-08-13 21:18 UTC (permalink / raw
  To: gentoo-commits

flameeyes    12/08/13 21:18:41

  Modified:             ChangeLog ruby-ng.eclass
  Log:
  Add a cucumber wrapper similar to the rspec one we have already.

Revision  Changes    Path
1.367                eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.367&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.367&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.366&r2=1.367

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.366
retrieving revision 1.367
diff -u -r1.366 -r1.367
--- ChangeLog	13 Aug 2012 15:54:08 -0000	1.366
+++ ChangeLog	13 Aug 2012 21:18:41 -0000	1.367
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.366 2012/08/13 15:54:08 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.367 2012/08/13 21:18:41 flameeyes Exp $
+
+  13 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> ruby-ng.eclass:
+  Add a cucumber wrapper similar to the rspec one we have already.
 
   13 Aug 2012; Matti Bickel <mabi@gentoo.org> fox.eclass:
   Add updated info statement about fox17.pc re bug #426718



1.49                 eclass/ruby-ng.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?rev=1.49&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?rev=1.49&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?r1=1.48&r2=1.49

Index: ruby-ng.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- ruby-ng.eclass	8 Jul 2012 12:38:10 -0000	1.48
+++ ruby-ng.eclass	13 Aug 2012 21:18:41 -0000	1.49
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.48 2012/07/08 12:38:10 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.49 2012/08/13 21:18:41 flameeyes Exp $
 
 # @ECLASS: ruby-ng.eclass
 # @MAINTAINER:
@@ -659,6 +659,37 @@
 	${RUBY} -S rspec ${rspec_params} "$@" || die "rspec failed"
 }
 
+# @FUNCTION: ruby-ng_cucumber
+# @DESCRIPTION:
+# This is simply a wrapper around the cucumber command (executed by $RUBY})
+# which also respects TEST_VERBOSE and NOCOLOR environment variables.
+ruby-ng_cucumber() {
+	if [[ ${DEPEND} != *"dev-util/cucumber"* ]]; then
+		ewarn "Missing dev-util/cucumber in \${DEPEND}"
+	fi
+
+	local cucumber_params=
+	case ${NOCOLOR} in
+		1|yes|true)
+			cucumber_params+=" --no-color"
+			;;
+		*)
+			cucumber_params+=" --color"
+			;;
+	esac
+
+	case ${TEST_VERBOSE} in
+		1|yes|true)
+			cucumber_params+=" --format pretty"
+			;;
+		*)
+			cucumber_params+=" --format progress"
+			;;
+	esac
+
+	${RUBY} -S cucumber ${cucumber_params} "$@" || die "cucumber failed"
+}
+
 # @FUNCTION: ruby-ng_testrb-2
 # @DESCRIPTION:
 # This is simply a replacement for the testrb command that load the test





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog ruby-ng.eclass
@ 2014-01-16  7:57 Hans de Graaff (graaff)
  0 siblings, 0 replies; 7+ messages in thread
From: Hans de Graaff (graaff) @ 2014-01-16  7:57 UTC (permalink / raw
  To: gentoo-commits

graaff      14/01/16 07:57:40

  Modified:             ChangeLog ruby-ng.eclass
  Log:
  Explicitly cp symlinks as-is. The default for this changed in coreutils 8.22. Fixes bug 472710.

Revision  Changes    Path
1.1116               eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1116&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1116&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1115&r2=1.1116

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1115
retrieving revision 1.1116
diff -u -r1.1115 -r1.1116
--- ChangeLog	15 Jan 2014 12:12:41 -0000	1.1115
+++ ChangeLog	16 Jan 2014 07:57:40 -0000	1.1116
@@ -1,6 +1,10 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1115 2014/01/15 12:12:41 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1116 2014/01/16 07:57:40 graaff Exp $
+
+  16 Jan 2014; Hans de Graaff <graaff@gentoo.org> ruby-ng.eclass:
+  Explicitly cp symlinks as-is. The default for this changed in coreutils 8.22.
+  Fixes bug 472710.
 
   15 Jan 2014; Michał Górny <mgorny@gentoo.org> autotools-multilib.eclass:
   Actually enable in-source build support.



1.54                 eclass/ruby-ng.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?rev=1.54&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?rev=1.54&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?r1=1.53&r2=1.54

Index: ruby-ng.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- ruby-ng.eclass	26 Dec 2013 07:11:48 -0000	1.53
+++ ruby-ng.eclass	16 Jan 2014 07:57:40 -0000	1.54
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.53 2013/12/26 07:11:48 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.54 2014/01/16 07:57:40 graaff Exp $
 
 # @ECLASS: ruby-ng.eclass
 # @MAINTAINER:
@@ -457,7 +457,7 @@
 _ruby_source_copy() {
 	# Until we actually find a reason not to, we use hardlinks, this
 	# should reduce the amount of disk space that is wasted by this.
-	cp -prl all ${_ruby_implementation} \
+	cp -prlP all ${_ruby_implementation} \
 		|| die "Unable to copy ${_ruby_implementation} environment"
 }
 





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog ruby-ng.eclass
@ 2014-12-27 20:04 Hans de Graaff (graaff)
  0 siblings, 0 replies; 7+ messages in thread
From: Hans de Graaff (graaff) @ 2014-12-27 20:04 UTC (permalink / raw
  To: gentoo-commits

graaff      14/12/27 20:04:21

  Modified:             ChangeLog ruby-ng.eclass
  Log:
  Add ruby22 RUBY_TARGET support.

Revision  Changes    Path
1.1479               eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1479&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1479&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1478&r2=1.1479

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1478
retrieving revision 1.1479
diff -u -r1.1478 -r1.1479
--- ChangeLog	27 Dec 2014 19:31:39 -0000	1.1478
+++ ChangeLog	27 Dec 2014 20:04:21 -0000	1.1479
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1478 2014/12/27 19:31:39 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1479 2014/12/27 20:04:21 graaff Exp $
+
+  27 Dec 2014; Hans de Graaff <graaff@gentoo.org> ruby-ng.eclass:
+  Add ruby22 RUBY_TARGET support.
 
   27 Dec 2014; Michał Górny <mgorny@gentoo.org> python-utils-r1.eclass:
   Add die-checks for python.eclass & distutils.eclass variables.



1.55                 eclass/ruby-ng.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?rev=1.55&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?rev=1.55&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?r1=1.54&r2=1.55

Index: ruby-ng.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- ruby-ng.eclass	16 Jan 2014 07:57:40 -0000	1.54
+++ ruby-ng.eclass	27 Dec 2014 20:04:21 -0000	1.55
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.54 2014/01/16 07:57:40 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.55 2014/12/27 20:04:21 graaff Exp $
 
 # @ECLASS: ruby-ng.eclass
 # @MAINTAINER:
@@ -19,6 +19,7 @@
 #  * ruby19 - Ruby (MRI) 1.9.x
 #  * ruby20 - Ruby (MRI) 2.0.x
 #  * ruby21 - Ruby (MRI) 2.1.x
+#  * ruby22 - Ruby (MRI) 2.2.x
 #  * ree18  - Ruby Enterprise Edition 1.8.x
 #  * jruby  - JRuby
 #  * rbx    - Rubinius
@@ -118,6 +119,10 @@
 			rubypn="dev-lang/ruby"
 			rubyslot=":2.1"
 			;;
+		ruby22)
+			rubypn="dev-lang/ruby"
+			rubyslot=":2.2"
+			;;
 		ree18)
 			rubypn="dev-lang/ruby-enterprise"
 			rubyslot=":1.8"





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog ruby-ng.eclass
@ 2015-06-29 11:01 Manuel Rueger (mrueg)
  0 siblings, 0 replies; 7+ messages in thread
From: Manuel Rueger (mrueg) @ 2015-06-29 11:01 UTC (permalink / raw
  To: gentoo-commits

mrueg       15/06/29 11:01:31

  Modified:             ChangeLog ruby-ng.eclass
  Log:
  Quote RUBY_S and sub_S as the directory could contain spaces.

Revision  Changes    Path
1.1695               eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1695&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1695&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1694&r2=1.1695

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1694
retrieving revision 1.1695
diff -u -r1.1694 -r1.1695
--- ChangeLog	29 Jun 2015 00:27:17 -0000	1.1694
+++ ChangeLog	29 Jun 2015 11:01:31 -0000	1.1695
@@ -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.1694 2015/06/29 00:27:17 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1695 2015/06/29 11:01:31 mrueg Exp $
+
+  29 Jun 2015; Manuel Rüger <mrueg@gentoo.org> ruby-ng.eclass:
+  Quote RUBY_S and sub_S as the directory could contain spaces.
 
   29 Jun 2015; Davide Pesavento <pesa@gentoo.org> qmake-utils.eclass:
   Introduce qt{4,5}_get_plugindir(). Rephrase some eclass doc.



1.58                 eclass/ruby-ng.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?rev=1.58&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?rev=1.58&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-ng.eclass?r1=1.57&r2=1.58

Index: ruby-ng.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- ruby-ng.eclass	31 May 2015 05:57:23 -0000	1.57
+++ ruby-ng.eclass	29 Jun 2015 11:01:31 -0000	1.58
@@ -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-ng.eclass,v 1.57 2015/05/31 05:57:23 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.58 2015/06/29 11:01:31 mrueg Exp $
 
 # @ECLASS: ruby-ng.eclass
 # @MAINTAINER:
@@ -302,7 +302,7 @@
 	old_S=${S}
 	case ${EAPI} in
 		4|5)
-			if [ -z ${RUBY_S} ]; then
+			if [ -z "${RUBY_S}" ]; then
 				sub_S=${P}
 			else
 				sub_S=${RUBY_S}
@@ -316,7 +316,7 @@
 	# Special case, for the always-lovely GitHub fetches. With this,
 	# we allow the star glob to just expand to whatever directory it's
 	# called.
-	if [[ ${sub_S} = *"*"* ]]; then
+	if [[ "${sub_S}" = *"*"* ]]; then
 		case ${EAPI} in
 			2|3)
 				#The old method of setting S depends on undefined package
@@ -325,7 +325,7 @@
 				;;
 		esac
 		pushd "${WORKDIR}"/all &>/dev/null
-		sub_S=$(eval ls -d ${sub_S} 2>/dev/null)
+		sub_S=$(eval ls -d "${sub_S}" 2>/dev/null)
 		popd &>/dev/null
 	fi
 





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-06-29 11:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-27 20:04 [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog ruby-ng.eclass Hans de Graaff (graaff)
  -- strict thread matches above, loose matches on Subject: below --
2015-06-29 11:01 Manuel Rueger (mrueg)
2014-01-16  7:57 Hans de Graaff (graaff)
2012-08-13 21:18 Diego Petteno (flameeyes)
2012-07-08 12:38 Diego Petteno (flameeyes)
2012-02-23 23:06 Alex Legler (a3li)
2011-12-18 21:33 Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox