public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/i18n: ChangeLog i18n-0.4.1.ebuild
@ 2010-08-31 17:50 Alex Legler (a3li)
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Legler (a3li) @ 2010-08-31 17:50 UTC (permalink / raw
  To: gentoo-commits

a3li        10/08/31 17:50:17

  Modified:             ChangeLog
  Added:                i18n-0.4.1.ebuild
  Log:
  Version bump. Tests run fine on ruby18 and ree18 without the gentoo patch now.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.17                 dev-ruby/i18n/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/i18n/ChangeLog?rev=1.17&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/i18n/ChangeLog?rev=1.17&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/i18n/ChangeLog?r1=1.16&r2=1.17

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ChangeLog	29 Jul 2010 00:12:23 -0000	1.16
+++ ChangeLog	31 Aug 2010 17:50:17 -0000	1.17
@@ -1,6 +1,12 @@
 # ChangeLog for dev-ruby/i18n
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v 1.16 2010/07/29 00:12:23 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v 1.17 2010/08/31 17:50:17 a3li Exp $
+
+*i18n-0.4.1 (31 Aug 2010)
+
+  31 Aug 2010; Alex Legler <a3li@gentoo.org> +i18n-0.4.1.ebuild:
+  Version bump. Tests run fine on ruby18 and ree18 without the gentoo patch
+  now.
 
   29 Jul 2010; Diego E. Pettenò <flameeyes@gentoo.org> i18n-0.1.3.ebuild,
   i18n-0.3.3.ebuild, i18n-0.3.7.ebuild:



1.1                  dev-ruby/i18n/i18n-0.4.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/i18n/i18n-0.4.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/i18n/i18n-0.4.1.ebuild?rev=1.1&content-type=text/plain

Index: i18n-0.4.1.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/i18n-0.4.1.ebuild,v 1.1 2010/08/31 17:50:17 a3li Exp $

EAPI=2

USE_RUBY="ruby18 jruby ree18"

# doc regeneration seem to need Jeweler, which is not currently
# available
RUBY_FAKEGEM_TASK_DOC=""

RUBY_FAKEGEM_EXTRADOC="README.textile CHANGELOG.textile"

inherit ruby-fakegem versionator

DESCRIPTION="Add Internationalization support to your Ruby application."
HOMEPAGE="http://rails-i18n.org/"

SRC_URI="http://github.com/svenfuchs/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
S="${WORKDIR}/svenfuchs-${PN}-*"

LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~ia64 ~sparc ~x86 ~ppc-macos ~x64-solaris ~x86-solaris"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

# Optionally, the testsuite uses the activerecord gem to run some
# tests; whent hey run, they require sqlite3-ruby, and that is not
# available on JRuby.
USE_RUBY="${USE_RUBY/jruby/}" \
	ruby_add_bdepend "
			test? (
				dev-ruby/activerecord
				dev-ruby/sqlite3-ruby
				dev-ruby/ruby2ruby
			)"

# mocha is optionally used by the testsuite, try to increase coverage
# of testing by depending on it; when mocha is used, though,
# test-unit:2 cannot be merged at the same time (mocha problem?)
#
# One further test dependency would be ruby-cldr
# (http://rubygems.org/gems/ruby-cldr) but we don't have it in tree
# yet.
ruby_add_bdepend "
	test? (
		dev-ruby/mocha
		!!dev-ruby/test-unit:2
	)"

src_compile() {
	# permissions need to be stricter for Ruby-Inline to work properly.
	chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
	ruby-ng_src_compile
}

src_test() {
	# permissions need to be stricter for Ruby-Inline to work properly.
	chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
	ruby-ng_src_test
}






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

* [gentoo-commits] gentoo-x86 commit in dev-ruby/i18n: ChangeLog i18n-0.4.1.ebuild
@ 2010-10-03 10:31 Hans de Graaff (graaff)
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff (graaff) @ 2010-10-03 10:31 UTC (permalink / raw
  To: gentoo-commits

graaff      10/10/03 10:31:55

  Modified:             ChangeLog i18n-0.4.1.ebuild
  Log:
  Don't run tests on jruby, the sqlite3 dependency is not optional at the moment.
  (Portage version: 2.1.8.3/cvs/Linux x86_64)

Revision  Changes    Path
1.21                 dev-ruby/i18n/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/i18n/ChangeLog?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/i18n/ChangeLog?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/i18n/ChangeLog?r1=1.20&r2=1.21

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ChangeLog	29 Sep 2010 22:17:38 -0000	1.20
+++ ChangeLog	3 Oct 2010 10:31:55 -0000	1.21
@@ -1,6 +1,6 @@
 # ChangeLog for dev-ruby/i18n
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v 1.20 2010/09/29 22:17:38 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/ChangeLog,v 1.21 2010/10/03 10:31:55 graaff Exp $
 
   29 Sep 2010; Brent Baude <ranger@gentoo.org> i18n-0.3.7.ebuild:
   Marking i18n-0.3.7 ~ppc64 for bug 321283
@@ -11,6 +11,10 @@
   28 Sep 2010; Brent Baude <ranger@gentoo.org> i18n-0.1.3.ebuild:
   Marking i18n-0.1.3 ~ppc for bug 319241
 
+  05 Sep 2010; Hans de Graaff <graaff@gentoo.org> i18n-0.4.1.ebuild:
+  Don't run tests on jruby, the sqlite3 dependency is not optional at the
+  moment.
+
 *i18n-0.4.1 (31 Aug 2010)
 
   31 Aug 2010; Alex Legler <a3li@gentoo.org> +i18n-0.4.1.ebuild:



1.2                  dev-ruby/i18n/i18n-0.4.1.ebuild

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

Index: i18n-0.4.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/i18n/i18n-0.4.1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- i18n-0.4.1.ebuild	31 Aug 2010 17:50:17 -0000	1.1
+++ i18n-0.4.1.ebuild	3 Oct 2010 10:31:55 -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/dev-ruby/i18n/i18n-0.4.1.ebuild,v 1.1 2010/08/31 17:50:17 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/i18n/i18n-0.4.1.ebuild,v 1.2 2010/10/03 10:31:55 graaff Exp $
 
 EAPI=2
 
@@ -28,9 +28,8 @@
 DEPEND=""
 RDEPEND="${DEPEND}"
 
-# Optionally, the testsuite uses the activerecord gem to run some
-# tests; whent hey run, they require sqlite3-ruby, and that is not
-# available on JRuby.
+# The testsuite uses the activerecord gem to run some tests; they
+# require sqlite3-ruby, and that is not available on JRuby.
 USE_RUBY="${USE_RUBY/jruby/}" \
 	ruby_add_bdepend "
 			test? (
@@ -63,3 +62,14 @@
 	chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
 	ruby-ng_src_test
 }
+
+each_ruby_test() {
+	# Make sure the optional activerecord tests are not run for jruby
+	# because we don't ship a compatible sqlite3
+	case ${RUBY} in
+		*jruby)
+			;;
+		*)
+			each_fakegem_test
+	esac
+}






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

end of thread, other threads:[~2010-10-03 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-03 10:31 [gentoo-commits] gentoo-x86 commit in dev-ruby/i18n: ChangeLog i18n-0.4.1.ebuild Hans de Graaff (graaff)
  -- strict thread matches above, loose matches on Subject: below --
2010-08-31 17:50 Alex Legler (a3li)

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