public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng-gnome2.eclass
@ 2010-01-13 18:33 Hans de Graaff (graaff)
  0 siblings, 0 replies; 13+ messages in thread
From: Hans de Graaff (graaff) @ 2010-01-13 18:33 UTC (permalink / raw
  To: gentoo-commits

graaff      10/01/13 18:33:32

  Added:                ruby-ng-gnome2.eclass
  Log:
  Initial version of new ruby-ng-gnome2 eclass. This eclass supersedes ruby-gnome2 and uses ruby-ng to allow parallel installation of the ruby-gnome2 packages.

Revision  Changes    Path
1.1                  eclass/ruby-ng-gnome2.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby-ng-gnome2.eclass?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby-ng-gnome2.eclass?rev=1.1&content-type=text/plain

Index: ruby-ng-gnome2.eclass
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.1 2010/01/13 18:33:32 graaff Exp $
#
# @ECLASS: ruby-ng-gnome2.eclass
# @MAINTAINER:
# Ruby herd <ruby@gentoo.org>
#
# Author: Hans de Graaff <graaff@gentoo.org>
#
# @BLURB:
# This eclass simplifies installation of the various pieces of
# ruby-gnome2 since they share a very common installation procedure.

inherit ruby-ng multilib

IUSE=""

subbinding=${PN#ruby-} ; subbinding=${subbinding%2}
S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding}
SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
HOMEPAGE="http://ruby-gnome2.sourceforge.jp/"
LICENSE="Ruby"
SLOT="0"

# @FUNCTION: each_ruby_configure
# @DESCRIPTION:
# Run the configure script in the subbinding for each specific ruby target.
each_ruby_configure() {
	${RUBY} extconf.rb || die "extconf.rb failed"
}

# @FUNCTION: each_ruby_compile
# @DESCRIPTION:
# Compile the C bindings in the subbinding for each specific ruby target.
each_ruby_compile() {
	emake || die "emake failed"
}

# @FUNCTION: each_ruby_install
# @DESCRIPTION:
# Install the files in the subbinding for each specific ruby target.
each_ruby_install() {
	# Create the directories, or the package will create them as files.
	dodir $(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitearchdir"]') /usr/$(get_libdir)/pkgconfig

	emake DESTDIR="${D}" install || die "make install failed"
}

# @FUNCTION: all_ruby_install
# @DESCRIPTION:
# Install the files common to all ruby targets.
all_ruby_install() {
	for doc in ../AUTHORS ../NEWS ChangeLog README; do
		[ -s "$doc" ] && dodoc $doc
	done
	if [[ -d sample ]]; then
		dodir /usr/share/doc/${PF}
		cp -a sample "${D}"/usr/share/doc/${PF} || die "cp failed"
	fi
}






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

* [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng-gnome2.eclass
@ 2010-05-21 16:54 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 13+ messages in thread
From: Diego Petteno (flameeyes) @ 2010-05-21 16:54 UTC (permalink / raw
  To: gentoo-commits

flameeyes    10/05/21 16:54:25

  Modified:             ruby-ng-gnome2.eclass
  Log:
  Solve bug #320545 in the least hacky way: disable --no-undefined for
  the Ruby-Gnome2 bindings. Unfortunately they rely on a
  partially-undefined behaviour, let's just hope they'll never come
  giving us trouble for this.
  
  Also avoid using cp -a (non-portable) for installing samples, use
  insinto/doins instead.

Revision  Changes    Path
1.2                  eclass/ruby-ng-gnome2.eclass

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

Index: ruby-ng-gnome2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ruby-ng-gnome2.eclass	13 Jan 2010 18:33:32 -0000	1.1
+++ ruby-ng-gnome2.eclass	21 May 2010 16:54:25 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.1 2010/01/13 18:33:32 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.2 2010/05/21 16:54:25 flameeyes Exp $
 #
 # @ECLASS: ruby-ng-gnome2.eclass
 # @MAINTAINER:
@@ -34,6 +34,13 @@
 # @DESCRIPTION:
 # Compile the C bindings in the subbinding for each specific ruby target.
 each_ruby_compile() {
+	# We have injected --no-undefined in Ruby as a safety precaution
+	# against broken ebuilds, but the Ruby-Gnome bindings
+	# unfortunately rely on the lazy load of other extensions; see bug
+	# #320545.
+	find . -name Makefile -print0 | xargs -0 \
+		sed -i -e 's:-Wl,--no-undefined ::' || die "--no-undefined removal failed"
+
 	emake || die "emake failed"
 }
 
@@ -55,7 +62,7 @@
 		[ -s "$doc" ] && dodoc $doc
 	done
 	if [[ -d sample ]]; then
-		dodir /usr/share/doc/${PF}
-		cp -a sample "${D}"/usr/share/doc/${PF} || die "cp failed"
+		insinto /usr/share/doc/${PF}
+		doins -r sample || die "sample install failed"
 	fi
 }






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

* [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng-gnome2.eclass
@ 2010-12-15 12:36 Hans de Graaff (graaff)
  0 siblings, 0 replies; 13+ messages in thread
From: Hans de Graaff (graaff) @ 2010-12-15 12:36 UTC (permalink / raw
  To: gentoo-commits

graaff      10/12/15 12:36:46

  Modified:             ruby-ng-gnome2.eclass
  Log:
  Make ruby-ng-gnome.eclass prefix-aware.

Revision  Changes    Path
1.4                  eclass/ruby-ng-gnome2.eclass

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

Index: ruby-ng-gnome2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ruby-ng-gnome2.eclass	22 Aug 2010 07:28:24 -0000	1.3
+++ ruby-ng-gnome2.eclass	15 Dec 2010 12:36:46 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.3 2010/08/22 07:28:24 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.4 2010/12/15 12:36:46 graaff Exp $
 #
 # @ECLASS: ruby-ng-gnome2.eclass
 # @MAINTAINER:
@@ -17,6 +17,9 @@
 
 IUSE=""
 
+# Define EPREFIX if needed
+has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
+
 subbinding=${PN#ruby-} ; subbinding=${subbinding%2}
 S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding}
 SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
@@ -50,7 +53,8 @@
 # Install the files in the subbinding for each specific ruby target.
 each_ruby_install() {
 	# Create the directories, or the package will create them as files.
-	dodir $(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitearchdir"]') /usr/$(get_libdir)/pkgconfig
+	local archdir=ruby_rbconfig_value "sitearchdir"
+	dodir ${archdir#${EPREFIX}} /usr/$(get_libdir)/pkgconfig
 
 	emake DESTDIR="${D}" install || die "make install failed"
 }






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

* [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng-gnome2.eclass
@ 2010-12-15 12:38 Hans de Graaff (graaff)
  0 siblings, 0 replies; 13+ messages in thread
From: Hans de Graaff (graaff) @ 2010-12-15 12:38 UTC (permalink / raw
  To: gentoo-commits

graaff      10/12/15 12:38:47

  Modified:             ruby-ng-gnome2.eclass
  Log:
  Use a subshell to properly catch the echo.

Revision  Changes    Path
1.5                  eclass/ruby-ng-gnome2.eclass

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

Index: ruby-ng-gnome2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ruby-ng-gnome2.eclass	15 Dec 2010 12:36:46 -0000	1.4
+++ ruby-ng-gnome2.eclass	15 Dec 2010 12:38:47 -0000	1.5
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.4 2010/12/15 12:36:46 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.5 2010/12/15 12:38:47 graaff Exp $
 #
 # @ECLASS: ruby-ng-gnome2.eclass
 # @MAINTAINER:
@@ -53,7 +53,7 @@
 # Install the files in the subbinding for each specific ruby target.
 each_ruby_install() {
 	# Create the directories, or the package will create them as files.
-	local archdir=ruby_rbconfig_value "sitearchdir"
+	local archdir=$(ruby_rbconfig_value "sitearchdir")
 	dodir ${archdir#${EPREFIX}} /usr/$(get_libdir)/pkgconfig
 
 	emake DESTDIR="${D}" install || die "make install failed"






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

* [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng-gnome2.eclass
@ 2011-05-29 13:43 Naohiro Aota (naota)
  0 siblings, 0 replies; 13+ messages in thread
From: Naohiro Aota (naota) @ 2011-05-29 13:43 UTC (permalink / raw
  To: gentoo-commits

naota       11/05/29 13:43:17

  Modified:             ruby-ng-gnome2.eclass
  Log:
  Ensure LDFLAGS usage

Revision  Changes    Path
1.6                  eclass/ruby-ng-gnome2.eclass

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

Index: ruby-ng-gnome2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ruby-ng-gnome2.eclass	15 Dec 2010 12:38:47 -0000	1.5
+++ ruby-ng-gnome2.eclass	29 May 2011 13:43:16 -0000	1.6
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.5 2010/12/15 12:38:47 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.6 2011/05/29 13:43:16 naota Exp $
 #
 # @ECLASS: ruby-ng-gnome2.eclass
 # @MAINTAINER:
@@ -43,7 +43,9 @@
 	# unfortunately rely on the lazy load of other extensions; see bug
 	# #320545.
 	find . -name Makefile -print0 | xargs -0 \
-		sed -i -e 's:-Wl,--no-undefined ::' || die "--no-undefined removal failed"
+		sed -i -e 's:-Wl,--no-undefined ::' \
+		-e "s/^ldflags  = /ldflags = $\(LDFLAGS\) /" \
+		|| die "--no-undefined removal failed"
 
 	emake || die "emake failed"
 }






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

* [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng-gnome2.eclass
@ 2011-05-29 13:47 Naohiro Aota (naota)
  0 siblings, 0 replies; 13+ messages in thread
From: Naohiro Aota (naota) @ 2011-05-29 13:47 UTC (permalink / raw
  To: gentoo-commits

naota       11/05/29 13:47:14

  Modified:             ruby-ng-gnome2.eclass
  Log:
  Support >=ruby-gnome2-0.90 file structure. Based on a code from Shunsuke Shimizu.

Revision  Changes    Path
1.7                  eclass/ruby-ng-gnome2.eclass

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

Index: ruby-ng-gnome2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ruby-ng-gnome2.eclass	29 May 2011 13:43:16 -0000	1.6
+++ ruby-ng-gnome2.eclass	29 May 2011 13:47:14 -0000	1.7
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.6 2011/05/29 13:43:16 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.7 2011/05/29 13:47:14 naota Exp $
 #
 # @ECLASS: ruby-ng-gnome2.eclass
 # @MAINTAINER:
@@ -13,14 +13,19 @@
 # This eclass simplifies installation of the various pieces of
 # ruby-gnome2 since they share a very common installation procedure.
 
-inherit ruby-ng multilib
+inherit ruby-ng multilib versionator
 
 IUSE=""
 
 # Define EPREFIX if needed
 has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
 
-subbinding=${PN#ruby-} ; subbinding=${subbinding%2}
+subbinding=${PN#ruby-}
+if [ $(get_version_component_range "1-2") == "0.19" ]; then
+	subbinding=${subbinding/%2}
+else
+	subbinding=${subbinding/-/_}
+fi
 S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding}
 SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
 HOMEPAGE="http://ruby-gnome2.sourceforge.jp/"






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

* [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng-gnome2.eclass
@ 2011-09-18  2:06 Naohiro Aota (naota)
  0 siblings, 0 replies; 13+ messages in thread
From: Naohiro Aota (naota) @ 2011-09-18  2:06 UTC (permalink / raw
  To: gentoo-commits

naota       11/09/18 02:06:04

  Modified:             ruby-ng-gnome2.eclass
  Log:
  Add common dependencies

Revision  Changes    Path
1.9                  eclass/ruby-ng-gnome2.eclass

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

Index: ruby-ng-gnome2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ruby-ng-gnome2.eclass	22 Aug 2011 04:46:32 -0000	1.8
+++ ruby-ng-gnome2.eclass	18 Sep 2011 02:06:04 -0000	1.9
@@ -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-gnome2.eclass,v 1.8 2011/08/22 04:46:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.9 2011/09/18 02:06:04 naota Exp $
 
 # @ECLASS: ruby-ng-gnome2.eclass
 # @MAINTAINER:
@@ -31,6 +31,9 @@
 LICENSE="Ruby"
 SLOT="0"
 
+ruby_add_bdepend "dev-ruby/pkg-config
+	dev-ruby/rubygems"
+
 # @FUNCTION: each_ruby_configure
 # @DESCRIPTION:
 # Run the configure script in the subbinding for each specific ruby target.






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

* [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng-gnome2.eclass
@ 2011-09-18  3:45 Naohiro Aota (naota)
  0 siblings, 0 replies; 13+ messages in thread
From: Naohiro Aota (naota) @ 2011-09-18  3:45 UTC (permalink / raw
  To: gentoo-commits

naota       11/09/18 03:45:21

  Modified:             ruby-ng-gnome2.eclass
  Log:
  Install gemspecs.

Revision  Changes    Path
1.10                 eclass/ruby-ng-gnome2.eclass

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

Index: ruby-ng-gnome2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ruby-ng-gnome2.eclass	18 Sep 2011 02:06:04 -0000	1.9
+++ ruby-ng-gnome2.eclass	18 Sep 2011 03:45:21 -0000	1.10
@@ -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-gnome2.eclass,v 1.9 2011/09/18 02:06:04 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.10 2011/09/18 03:45:21 naota Exp $
 
 # @ECLASS: ruby-ng-gnome2.eclass
 # @MAINTAINER:
@@ -12,7 +12,10 @@
 # This eclass simplifies installation of the various pieces of
 # ruby-gnome2 since they share a very common installation procedure.
 
-inherit ruby-ng multilib versionator
+RUBY_FAKEGEM_NAME="${PN#ruby-}"
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit ruby-fakegem multilib versionator
 
 IUSE=""
 
@@ -31,6 +34,7 @@
 LICENSE="Ruby"
 SLOT="0"
 
+DEPEND="dev-util/pkgconfig"
 ruby_add_bdepend "dev-ruby/pkg-config
 	dev-ruby/rubygems"
 
@@ -66,6 +70,8 @@
 	dodir ${archdir#${EPREFIX}} /usr/$(get_libdir)/pkgconfig
 
 	emake DESTDIR="${D}" install || die "make install failed"
+
+	each_fakegem_install
 }
 
 # @FUNCTION: all_ruby_install
@@ -79,4 +85,6 @@
 		insinto /usr/share/doc/${PF}
 		doins -r sample || die "sample install failed"
 	fi
+
+	all_fakegem_install
 }






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

* [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng-gnome2.eclass
@ 2011-09-18  4:30 Naohiro Aota (naota)
  0 siblings, 0 replies; 13+ messages in thread
From: Naohiro Aota (naota) @ 2011-09-18  4:30 UTC (permalink / raw
  To: gentoo-commits

naota       11/09/18 04:30:14

  Modified:             ruby-ng-gnome2.eclass
  Log:
  Move new version dependencies into the new version check.

Revision  Changes    Path
1.11                 eclass/ruby-ng-gnome2.eclass

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

Index: ruby-ng-gnome2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ruby-ng-gnome2.eclass	18 Sep 2011 03:45:21 -0000	1.10
+++ ruby-ng-gnome2.eclass	18 Sep 2011 04:30:14 -0000	1.11
@@ -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-gnome2.eclass,v 1.10 2011/09/18 03:45:21 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.11 2011/09/18 04:30:14 naota Exp $
 
 # @ECLASS: ruby-ng-gnome2.eclass
 # @MAINTAINER:
@@ -27,6 +27,9 @@
 	subbinding=${subbinding/%2}
 else
 	subbinding=${subbinding/-/_}
+	DEPEND="dev-util/pkgconfig"
+	ruby_add_bdepend "dev-ruby/pkg-config
+		dev-ruby/rubygems"
 fi
 S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding}
 SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
@@ -34,10 +37,6 @@
 LICENSE="Ruby"
 SLOT="0"
 
-DEPEND="dev-util/pkgconfig"
-ruby_add_bdepend "dev-ruby/pkg-config
-	dev-ruby/rubygems"
-
 # @FUNCTION: each_ruby_configure
 # @DESCRIPTION:
 # Run the configure script in the subbinding for each specific ruby target.






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

* [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng-gnome2.eclass
@ 2011-09-18  6:44 Naohiro Aota (naota)
  0 siblings, 0 replies; 13+ messages in thread
From: Naohiro Aota (naota) @ 2011-09-18  6:44 UTC (permalink / raw
  To: gentoo-commits

naota       11/09/18 06:44:11

  Modified:             ruby-ng-gnome2.eclass
  Log:
  Respect overrided RUBY_FAKEGEM_NAME

Revision  Changes    Path
1.12                 eclass/ruby-ng-gnome2.eclass

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

Index: ruby-ng-gnome2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ruby-ng-gnome2.eclass	18 Sep 2011 04:30:14 -0000	1.11
+++ ruby-ng-gnome2.eclass	18 Sep 2011 06:44:11 -0000	1.12
@@ -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-gnome2.eclass,v 1.11 2011/09/18 04:30:14 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.12 2011/09/18 06:44:11 naota Exp $
 
 # @ECLASS: ruby-ng-gnome2.eclass
 # @MAINTAINER:
@@ -12,7 +12,7 @@
 # This eclass simplifies installation of the various pieces of
 # ruby-gnome2 since they share a very common installation procedure.
 
-RUBY_FAKEGEM_NAME="${PN#ruby-}"
+RUBY_FAKEGEM_NAME="${RUBY_FAKEGEM_NAME:-${PN#ruby-}}"
 RUBY_FAKEGEM_TASK_TEST=""
 
 inherit ruby-fakegem multilib versionator






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

* [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng-gnome2.eclass
@ 2011-10-09  9:39 Hans de Graaff (graaff)
  0 siblings, 0 replies; 13+ messages in thread
From: Hans de Graaff (graaff) @ 2011-10-09  9:39 UTC (permalink / raw
  To: gentoo-commits

graaff      11/10/09 09:39:59

  Modified:             ruby-ng-gnome2.eclass
  Log:
  Turn off ruby-fakegem automatic documentation task since it is not supported by ruby-gnome2 and it triggers errors when run. Fixes bugs 383623 and 384049.

Revision  Changes    Path
1.13                 eclass/ruby-ng-gnome2.eclass

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

Index: ruby-ng-gnome2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ruby-ng-gnome2.eclass	18 Sep 2011 06:44:11 -0000	1.12
+++ ruby-ng-gnome2.eclass	9 Oct 2011 09:39:59 -0000	1.13
@@ -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-gnome2.eclass,v 1.12 2011/09/18 06:44:11 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.13 2011/10/09 09:39:59 graaff Exp $
 
 # @ECLASS: ruby-ng-gnome2.eclass
 # @MAINTAINER:
@@ -14,6 +14,7 @@
 
 RUBY_FAKEGEM_NAME="${RUBY_FAKEGEM_NAME:-${PN#ruby-}}"
 RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
 
 inherit ruby-fakegem multilib versionator
 






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

* [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng-gnome2.eclass
@ 2011-10-21  6:31 Hans de Graaff (graaff)
  0 siblings, 0 replies; 13+ messages in thread
From: Hans de Graaff (graaff) @ 2011-10-21  6:31 UTC (permalink / raw
  To: gentoo-commits

graaff      11/10/21 06:31:39

  Modified:             ruby-ng-gnome2.eclass
  Log:
  Remove unneeded dev-ruby/rubygems dependency since this is already covered by ruby-fakegem.

Revision  Changes    Path
1.14                 eclass/ruby-ng-gnome2.eclass

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

Index: ruby-ng-gnome2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ruby-ng-gnome2.eclass	9 Oct 2011 09:39:59 -0000	1.13
+++ ruby-ng-gnome2.eclass	21 Oct 2011 06:31:39 -0000	1.14
@@ -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-gnome2.eclass,v 1.13 2011/10/09 09:39:59 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.14 2011/10/21 06:31:39 graaff Exp $
 
 # @ECLASS: ruby-ng-gnome2.eclass
 # @MAINTAINER:
@@ -29,8 +29,7 @@
 else
 	subbinding=${subbinding/-/_}
 	DEPEND="dev-util/pkgconfig"
-	ruby_add_bdepend "dev-ruby/pkg-config
-		dev-ruby/rubygems"
+	ruby_add_bdepend "dev-ruby/pkg-config"
 fi
 S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding}
 SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"






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

* [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng-gnome2.eclass
@ 2012-08-18  7:28 Hans de Graaff (graaff)
  0 siblings, 0 replies; 13+ messages in thread
From: Hans de Graaff (graaff) @ 2012-08-18  7:28 UTC (permalink / raw
  To: gentoo-commits

graaff      12/08/18 07:28:39

  Modified:             ruby-ng-gnome2.eclass
  Log:
  Support EAPI=4 (with RUBY_S).

Revision  Changes    Path
1.16                 eclass/ruby-ng-gnome2.eclass

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

Index: ruby-ng-gnome2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ruby-ng-gnome2.eclass	2 May 2012 18:31:45 -0000	1.15
+++ ruby-ng-gnome2.eclass	18 Aug 2012 07:28:39 -0000	1.16
@@ -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-gnome2.eclass,v 1.15 2012/05/02 18:31:45 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.16 2012/08/18 07:28:39 graaff Exp $
 
 # @ECLASS: ruby-ng-gnome2.eclass
 # @MAINTAINER:
@@ -31,7 +31,11 @@
 	DEPEND="virtual/pkgconfig"
 	ruby_add_bdepend "dev-ruby/pkg-config"
 fi
-S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding}
+if has "${EAPI:-0}" 0 1 2 3 ; then
+	S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding}
+else
+	RUBY_S=ruby-gnome2-all-${PV}/${subbinding}
+fi
 SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
 HOMEPAGE="http://ruby-gnome2.sourceforge.jp/"
 LICENSE="Ruby"





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

end of thread, other threads:[~2012-08-18  7:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-29 13:47 [gentoo-commits] gentoo-x86 commit in eclass: ruby-ng-gnome2.eclass Naohiro Aota (naota)
  -- strict thread matches above, loose matches on Subject: below --
2012-08-18  7:28 Hans de Graaff (graaff)
2011-10-21  6:31 Hans de Graaff (graaff)
2011-10-09  9:39 Hans de Graaff (graaff)
2011-09-18  6:44 Naohiro Aota (naota)
2011-09-18  4:30 Naohiro Aota (naota)
2011-09-18  3:45 Naohiro Aota (naota)
2011-09-18  2:06 Naohiro Aota (naota)
2011-05-29 13:43 Naohiro Aota (naota)
2010-12-15 12:38 Hans de Graaff (graaff)
2010-12-15 12:36 Hans de Graaff (graaff)
2010-05-21 16:54 Diego Petteno (flameeyes)
2010-01-13 18:33 Hans de Graaff (graaff)

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