public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/fakefs: fakefs-0.4.0-r1.ebuild ChangeLog
@ 2012-01-06  7:35 Hans de Graaff (graaff)
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff (graaff) @ 2012-01-06  7:35 UTC (permalink / raw
  To: gentoo-commits

graaff      12/01/06 07:35:54

  Modified:             ChangeLog
  Added:                fakefs-0.4.0-r1.ebuild
  Log:
  Add a host of patches from upstream's tracker for Ruby 1.9.3.
  
  (Portage version: 2.1.10.41/cvs/Linux x86_64)

Revision  Changes    Path
1.22                 dev-ruby/fakefs/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/ChangeLog,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- ChangeLog	5 Dec 2011 13:04:28 -0000	1.21
+++ ChangeLog	6 Jan 2012 07:35:54 -0000	1.22
@@ -1,6 +1,15 @@
 # ChangeLog for dev-ruby/fakefs
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/ChangeLog,v 1.21 2011/12/05 13:04:28 naota Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/ChangeLog,v 1.22 2012/01/06 07:35:54 graaff Exp $
+
+*fakefs-0.4.0-r1 (06 Jan 2012)
+
+  06 Jan 2012; Hans de Graaff <graaff@gentoo.org> +fakefs-0.4.0-r1.ebuild,
+  +files/fakefs-0.4.0-ruby193-advise.patch,
+  +files/fakefs-0.4.0-ruby193-pathname.patch,
+  +files/fakefs-0.4.0-ruby193-ruby-pathname.patch,
+  +files/fakefs-0.4.0-ruby193.patch:
+  Add a host of patches from upstream's tracker for Ruby 1.9.3.
 
   05 Dec 2011; Naohiro Aota <naota@gentoo.org> fakefs-0.2.1-r1.ebuild:
   Add ~x86-fbsd.



1.1                  dev-ruby/fakefs/fakefs-0.4.0-r1.ebuild

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

Index: fakefs-0.4.0-r1.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/fakefs-0.4.0-r1.ebuild,v 1.1 2012/01/06 07:35:54 graaff Exp $

EAPI=2

# jruby → Marshal/DeMarshal to clone directories fail; tests fail in
# release 0.2.1
USE_RUBY="ruby18 ree18 ruby19"

RUBY_FAKEGEM_TASK_TEST="test spec"

# requires sdoc
RUBY_FAKEGEM_TASK_DOC=""

RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.markdown"

inherit ruby-fakegem eutils

DESCRIPTION="A fake filesystem. Use it in your tests."
HOMEPAGE="http://github.com/defunkt/fakefs"

LICENSE="as-is" # truly
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE=""

ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"

all_ruby_prepare() {
	# Remove bundler
	rm Gemfile || die

	epatch "${FILESDIR}/${P}-ruby193.patch"
	epatch "${FILESDIR}/${P}-ruby193-advise.patch"
	epatch "${FILESDIR}/${P}-ruby193-pathname.patch"
	epatch "${FILESDIR}/${P}-ruby193-ruby-pathname.patch"

}






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

* [gentoo-commits] gentoo-x86 commit in dev-ruby/fakefs: fakefs-0.4.0-r1.ebuild ChangeLog
@ 2012-08-14  3:35 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 2+ messages in thread
From: Diego Petteno (flameeyes) @ 2012-08-14  3:35 UTC (permalink / raw
  To: gentoo-commits

flameeyes    12/08/14 03:35:45

  Modified:             fakefs-0.4.0-r1.ebuild ChangeLog
  Log:
  Bump to EAPI 4; use RUBY_PATCHES to add the patches; use the ruby-ng helpers for rspec and testrb-2.
  
  (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  dev-ruby/fakefs/fakefs-0.4.0-r1.ebuild

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

Index: fakefs-0.4.0-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/fakefs-0.4.0-r1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- fakefs-0.4.0-r1.ebuild	20 May 2012 18:28:15 -0000	1.2
+++ fakefs-0.4.0-r1.ebuild	14 Aug 2012 03:35:45 -0000	1.3
@@ -1,14 +1,12 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/fakefs-0.4.0-r1.ebuild,v 1.2 2012/05/20 18:28:15 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/fakefs-0.4.0-r1.ebuild,v 1.3 2012/08/14 03:35:45 flameeyes Exp $
 
-EAPI=2
+EAPI=4
 
-# jruby → Marshal/DeMarshal to clone directories fail; tests fail in
-# release 0.2.1
 USE_RUBY="ruby18 ree18 ruby19 jruby"
 
-RUBY_FAKEGEM_TASK_TEST="test spec"
+RUBY_FAKEGEM_RECIPE_TEST="none"
 
 # requires sdoc
 RUBY_FAKEGEM_TASK_DOC=""
@@ -25,16 +23,22 @@
 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
 IUSE=""
 
-ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
+ruby_add_bdepend "
+	test? (
+		dev-ruby/rspec:2
+		>=dev-ruby/test-unit-2.5.1-r1
+	)"
+
+RUBY_PATCHES=(
+	"${P}-ruby193.patch"
+	"${P}-ruby193-advise.patch"
+	"${P}-ruby193-pathname.patch"
+	"${P}-ruby193-ruby-pathname.patch"
+)
 
 all_ruby_prepare() {
 	# Remove bundler
 	rm Gemfile || die
-
-	epatch "${FILESDIR}/${P}-ruby193.patch"
-	epatch "${FILESDIR}/${P}-ruby193-advise.patch"
-	epatch "${FILESDIR}/${P}-ruby193-pathname.patch"
-	epatch "${FILESDIR}/${P}-ruby193-ruby-pathname.patch"
 }
 
 each_ruby_prepare() {
@@ -48,3 +52,8 @@
 			;;
 	esac
 }
+
+each_ruby_test() {
+	ruby-ng_rspec
+	ruby-ng_testrb-2 -Ilib:test test/**/*_test.rb
+}



1.24                 dev-ruby/fakefs/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/ChangeLog,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ChangeLog	20 May 2012 18:28:15 -0000	1.23
+++ ChangeLog	14 Aug 2012 03:35:45 -0000	1.24
@@ -1,6 +1,10 @@
 # ChangeLog for dev-ruby/fakefs
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/ChangeLog,v 1.23 2012/05/20 18:28:15 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/ChangeLog,v 1.24 2012/08/14 03:35:45 flameeyes Exp $
+
+  14 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> fakefs-0.4.0-r1.ebuild:
+  Bump to EAPI 4; use RUBY_PATCHES to add the patches; use the ruby-ng helpers
+  for rspec and testrb-2.
 
   20 May 2012; Hans de Graaff <graaff@gentoo.org> fakefs-0.4.0-r1.ebuild:
   Add jruby but ignore some tests similar to upstream. Needed for newer rspec:2
@@ -86,4 +90,3 @@
   12 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
   +fakefs-0.2.1.ebuild, +files/fakefs-0.2.1-ruby19.patch, +metadata.xml:
   Initial import of fakefs as needed by rspec testsuite.
-





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

end of thread, other threads:[~2012-08-14  3:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-06  7:35 [gentoo-commits] gentoo-x86 commit in dev-ruby/fakefs: fakefs-0.4.0-r1.ebuild ChangeLog Hans de Graaff (graaff)
  -- strict thread matches above, loose matches on Subject: below --
2012-08-14  3:35 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