public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/flexmock: ChangeLog flexmock-0.8.6.ebuild
@ 2009-04-29 18:09 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 3+ messages in thread
From: Diego Petteno (flameeyes) @ 2009-04-29 18:09 UTC (permalink / raw
  To: gentoo-commits

flameeyes    09/04/29 18:09:15

  Modified:             ChangeLog
  Added:                flexmock-0.8.6.ebuild
  Log:
  Version bump, move to use tarball and fake gem spec (with a new, nice function to fake it!), and enable use with Ruby 1.9.
  (Portage version: 2.2_rc31/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  dev-ruby/flexmock/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/ChangeLog?r1=1.2&r2=1.3

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog	20 Dec 2008 13:13:17 -0000	1.2
+++ ChangeLog	29 Apr 2009 18:09:15 -0000	1.3
@@ -1,6 +1,13 @@
 # ChangeLog for dev-ruby/flexmock
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.2 2008/12/20 13:13:17 graaff Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.3 2009/04/29 18:09:15 flameeyes Exp $
+
+*flexmock-0.8.6 (29 Apr 2009)
+
+  29 Apr 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+  +flexmock-0.8.6.ebuild:
+  Version bump, move to use tarball and fake gem spec (with a new, nice
+  function to fake it!), and enable use with Ruby 1.9.
 
 *flexmock-0.8.3 (20 Dec 2008)
 



1.1                  dev-ruby/flexmock/flexmock-0.8.6.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild?rev=1.1&content-type=text/plain

Index: flexmock-0.8.6.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild,v 1.1 2009/04/29 18:09:15 flameeyes Exp $

inherit ruby

DESCRIPTION="Simple mock object library for Ruby unit testing"
HOMEPAGE="http://${PN}.rubyforge.org/"
SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86-fbsd"
IUSE="doc test"

RDEPEND=""
DEPEND="doc? ( dev-ruby/rake )
	test? ( dev-ruby/rake )"

USE_RUBY="ruby18 ruby19"

dofakegemspec() {
	cat - > "${T}"/${P}.gemspec <<EOF
Gem::Specification.new do |s|
  s.name = "${PN}"
  s.version = "${PV}"
  s.summary = "${DESCRIPTION}"
  s.homepage = "${HOMEPAGE}"
end
EOF

	insinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["vendorlibdir"]' | sed -e 's:vendor_ruby:gems:')/specifications
	doins "${T}"/${P}.gemspec || die "Unable to install fake gemspec"
}

src_compile() {
	if use doc; then
		rake rerdoc || die "rake rerdoc failed"
	fi
}

src_test() {
	for ruby in $USE_RUBY; do
		[[ -n `type -p $ruby` ]] && $ruby $(type -p rake) test || die "testsuite failed"
	done
}

src_install() {
	pushd lib
	doruby -r * || die "doruby failed"
	popd

	if use doc; then
		dohtml -r doc/* || die "dohtml failed"
	fi

	dodoc CHANGES README || die "dodoc failed"

	dofakegemspec
}






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

* [gentoo-commits] gentoo-x86 commit in dev-ruby/flexmock: ChangeLog flexmock-0.8.6.ebuild
@ 2009-05-04 11:51 Diego Petteno (flameeyes)
  0 siblings, 0 replies; 3+ messages in thread
From: Diego Petteno (flameeyes) @ 2009-05-04 11:51 UTC (permalink / raw
  To: gentoo-commits

flameeyes    09/05/04 11:51:45

  Modified:             ChangeLog flexmock-0.8.6.ebuild
  Log:
  Fix src_test when Ruby 1.9 is not present.
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  dev-ruby/flexmock/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/ChangeLog?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/ChangeLog?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/ChangeLog?r1=1.3&r2=1.4

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog	29 Apr 2009 18:09:15 -0000	1.3
+++ ChangeLog	4 May 2009 11:51:45 -0000	1.4
@@ -1,6 +1,10 @@
 # ChangeLog for dev-ruby/flexmock
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.3 2009/04/29 18:09:15 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.4 2009/05/04 11:51:45 flameeyes Exp $
+
+  04 May 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+  flexmock-0.8.6.ebuild:
+  Fix src_test when Ruby 1.9 is not present.
 
 *flexmock-0.8.6 (29 Apr 2009)
 



1.2                  dev-ruby/flexmock/flexmock-0.8.6.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild?r1=1.1&r2=1.2

Index: flexmock-0.8.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- flexmock-0.8.6.ebuild	29 Apr 2009 18:09:15 -0000	1.1
+++ flexmock-0.8.6.ebuild	4 May 2009 11:51:45 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild,v 1.1 2009/04/29 18:09:15 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild,v 1.2 2009/05/04 11:51:45 flameeyes Exp $
 
 inherit ruby
 
@@ -41,7 +41,8 @@
 
 src_test() {
 	for ruby in $USE_RUBY; do
-		[[ -n `type -p $ruby` ]] && $ruby $(type -p rake) test || die "testsuite failed"
+		[[ -n `type -p $ruby` ]] || continue
+		$ruby $(type -p rake) test || die "testsuite failed"
 	done
 }
 






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

* [gentoo-commits] gentoo-x86 commit in dev-ruby/flexmock: ChangeLog flexmock-0.8.6.ebuild
@ 2009-12-27 19:20 Hans de Graaff (graaff)
  0 siblings, 0 replies; 3+ messages in thread
From: Hans de Graaff (graaff) @ 2009-12-27 19:20 UTC (permalink / raw
  To: gentoo-commits

graaff      09/12/27 19:20:28

  Modified:             ChangeLog flexmock-0.8.6.ebuild
  Log:
  Fix building with USE=doc, bug 298486.
  (Portage version: 2.1.6.13/cvs/Linux x86_64)

Revision  Changes    Path
1.6                  dev-ruby/flexmock/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/ChangeLog?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/ChangeLog?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/ChangeLog?r1=1.5&r2=1.6

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChangeLog	22 Aug 2009 22:56:48 -0000	1.5
+++ ChangeLog	27 Dec 2009 19:20:28 -0000	1.6
@@ -1,6 +1,10 @@
 # ChangeLog for dev-ruby/flexmock
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.5 2009/08/22 22:56:48 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.6 2009/12/27 19:20:28 graaff Exp $
+
+  27 Dec 2009; Hans de Graaff <graaff@gentoo.org> flexmock-0.8.6.ebuild,
+  +files/flexmock-0.8.6-rdoc-template.patch:
+  Fix building with USE=doc, bug 298486.
 
   22 Aug 2009; Hans de Graaff <graaff@gentoo.org> -flexmock-0.8.0.ebuild,
   -flexmock-0.8.3.ebuild:



1.3                  dev-ruby/flexmock/flexmock-0.8.6.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild?r1=1.2&r2=1.3

Index: flexmock-0.8.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- flexmock-0.8.6.ebuild	4 May 2009 11:51:45 -0000	1.2
+++ flexmock-0.8.6.ebuild	27 Dec 2009 19:20:28 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild,v 1.2 2009/05/04 11:51:45 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6.ebuild,v 1.3 2009/12/27 19:20:28 graaff Exp $
 
 inherit ruby
 
@@ -19,6 +19,8 @@
 
 USE_RUBY="ruby18 ruby19"
 
+PATCHES=( "${FILESDIR}/${P}-rdoc-template.patch" )
+
 dofakegemspec() {
 	cat - > "${T}"/${P}.gemspec <<EOF
 Gem::Specification.new do |s|
@@ -52,7 +54,7 @@
 	popd
 
 	if use doc; then
-		dohtml -r doc/* || die "dohtml failed"
+		dohtml -r html || die "dohtml failed"
 	fi
 
 	dodoc CHANGES README || die "dodoc failed"






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

end of thread, other threads:[~2009-12-27 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-04 11:51 [gentoo-commits] gentoo-x86 commit in dev-ruby/flexmock: ChangeLog flexmock-0.8.6.ebuild Diego Petteno (flameeyes)
  -- strict thread matches above, loose matches on Subject: below --
2009-12-27 19:20 Hans de Graaff (graaff)
2009-04-29 18:09 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