public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/stringex: ChangeLog stringex-2.5.2.ebuild
@ 2014-04-19 10:52 Hans de Graaff (graaff)
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff (graaff) @ 2014-04-19 10:52 UTC (permalink / raw
  To: gentoo-commits

graaff      14/04/19 10:52:33

  Modified:             ChangeLog stringex-2.5.2.ebuild
  Log:
  Add ruby20, ruby21 again. Fix test invocation.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

Revision  Changes    Path
1.22                 dev-ruby/stringex/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/stringex/ChangeLog,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- ChangeLog	14 Apr 2014 09:49:56 -0000	1.21
+++ ChangeLog	19 Apr 2014 10:52:33 -0000	1.22
@@ -1,6 +1,9 @@
 # ChangeLog for dev-ruby/stringex
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stringex/ChangeLog,v 1.21 2014/04/14 09:49:56 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stringex/ChangeLog,v 1.22 2014/04/19 10:52:33 graaff Exp $
+
+  19 Apr 2014; Hans de Graaff <graaff@gentoo.org> stringex-2.5.2.ebuild:
+  Add ruby20, ruby21 again. Fix test invocation.
 
 *stringex-2.5.2 (14 Apr 2014)
 



1.2                  dev-ruby/stringex/stringex-2.5.2.ebuild

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

Index: stringex-2.5.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/stringex/stringex-2.5.2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringex-2.5.2.ebuild	14 Apr 2014 09:49:56 -0000	1.1
+++ stringex-2.5.2.ebuild	19 Apr 2014 10:52:33 -0000	1.2
@@ -1,9 +1,9 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stringex/stringex-2.5.2.ebuild,v 1.1 2014/04/14 09:49:56 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stringex/stringex-2.5.2.ebuild,v 1.2 2014/04/19 10:52:33 graaff Exp $
 
 EAPI=5
-USE_RUBY="ruby19"
+USE_RUBY="ruby19 ruby20 ruby21"
 
 RUBY_FAKEGEM_DOC_DIR="rdoc"
 RUBY_FAKEGEM_EXTRADOC="README.rdoc"
@@ -24,13 +24,23 @@
 # USE flags at all.
 ruby_add_bdepend "
 	test? (
-		dev-ruby/activerecord:3.2
-		dev-ruby/sqlite3
 		dev-ruby/redcloth
 		dev-ruby/test-unit:2
 	)"
 
+USE_RUBY="ruby19" ruby_add_bdepend "test? ( >=dev-ruby/activerecord-3 dev-ruby/sqlite3 )"
+
+each_ruby_prepare() {
+		case ${RUBY} in
+				*ruby2[01])
+						# Avoid tests depending on Rails until we have a version
+						# keyworded.
+						rm -rf test/unit/{acts_as_url,localization}* || die
+						;;
+		esac
+}
+
 each_ruby_test() {
 	# rake seems to break this
-	ruby-ng_testrb-2 -Ilib -Itest test/{unit,performance}/**/*_test.rb || die "tests failed"
+	ruby-ng_testrb-2 -Ilib -Itest test/unit/*/*_test.rb test/performance/*_test.rb || die "tests failed"
 }





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

* [gentoo-commits] gentoo-x86 commit in dev-ruby/stringex: ChangeLog stringex-2.5.2.ebuild
@ 2015-07-06  7:05 Hans de Graaff (graaff)
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff (graaff) @ 2015-07-06  7:05 UTC (permalink / raw
  To: gentoo-commits

graaff      15/07/06 07:05:25

  Modified:             ChangeLog stringex-2.5.2.ebuild
  Log:
  Add missing i18n test dependency and make sure the right slot is used.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

Revision  Changes    Path
1.26                 dev-ruby/stringex/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/stringex/ChangeLog,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- ChangeLog	7 Jun 2015 19:54:32 -0000	1.25
+++ ChangeLog	6 Jul 2015 07:05:25 -0000	1.26
@@ -1,6 +1,9 @@
 # ChangeLog for dev-ruby/stringex
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stringex/ChangeLog,v 1.25 2015/06/07 19:54:32 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stringex/ChangeLog,v 1.26 2015/07/06 07:05:25 graaff Exp $
+
+  06 Jul 2015; Hans de Graaff <graaff@gentoo.org> stringex-2.5.2.ebuild:
+  Add missing i18n test dependency and make sure the right slot is used.
 
   07 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
   Add github to remote-id in metadata.xml



1.4                  dev-ruby/stringex/stringex-2.5.2.ebuild

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

Index: stringex-2.5.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/stringex/stringex-2.5.2.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- stringex-2.5.2.ebuild	12 Aug 2014 21:05:23 -0000	1.3
+++ stringex-2.5.2.ebuild	6 Jul 2015 07:05:25 -0000	1.4
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stringex/stringex-2.5.2.ebuild,v 1.3 2014/08/12 21:05:23 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stringex/stringex-2.5.2.ebuild,v 1.4 2015/07/06 07:05:25 graaff Exp $
 
 EAPI=5
 USE_RUBY="ruby19 ruby20 ruby21"
@@ -11,7 +11,7 @@
 inherit ruby-fakegem
 
 DESCRIPTION="Extensions for Ruby's String class"
-HOMEPAGE="http://github.com/rsl/stringex"
+HOMEPAGE="https://github.com/rsl/stringex"
 LICENSE="MIT"
 
 SLOT="0"
@@ -24,15 +24,20 @@
 # USE flags at all.
 ruby_add_bdepend "
 	test? (
+		>=dev-ruby/i18n-0.6.9:0.6
 		dev-ruby/redcloth
 		dev-ruby/test-unit:2
 	)"
 
-USE_RUBY="ruby19" ruby_add_bdepend "test? ( >=dev-ruby/activerecord-3 dev-ruby/sqlite3 )"
+USE_RUBY=${USE_RUBY/ruby22/} ruby_add_bdepend "test? ( >=dev-ruby/activerecord-3 dev-ruby/sqlite3 )"
+
+all_ruby_prepare() {
+	sed -i -e '1agem "i18n", "~>0.6.9"' test/test_helper.rb || die
+}
 
 each_ruby_prepare() {
 		case ${RUBY} in
-				*ruby2[01])
+				*ruby22)
 						# Avoid tests depending on Rails until we have a version
 						# keyworded.
 						rm -rf test/unit/{acts_as_url,localization}* || die





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

end of thread, other threads:[~2015-07-06  7:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-06  7:05 [gentoo-commits] gentoo-x86 commit in dev-ruby/stringex: ChangeLog stringex-2.5.2.ebuild Hans de Graaff (graaff)
  -- strict thread matches above, loose matches on Subject: below --
2014-04-19 10:52 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