diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-06-19 14:13:15 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-06-19 14:13:15 +0000 |
commit | bf418f65a490e0a6986ae716eaceee1669f2374b (patch) | |
tree | 509ae92e1aff9f941e3f901ac413b35b8254b108 /dev-ruby/flexmock | |
parent | version bump (diff) | |
download | gentoo-2-bf418f65a490e0a6986ae716eaceee1669f2374b.tar.gz gentoo-2-bf418f65a490e0a6986ae716eaceee1669f2374b.tar.bz2 gentoo-2-bf418f65a490e0a6986ae716eaceee1669f2374b.zip |
Remove old version; add support for ruby-enterprise.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/flexmock')
-rw-r--r-- | dev-ruby/flexmock/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/flexmock/files/flexmock-0.8.6-rdoc-template.patch | 13 | ||||
-rw-r--r-- | dev-ruby/flexmock/flexmock-0.8.6-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-ruby/flexmock/flexmock-0.8.6.ebuild | 63 |
4 files changed, 8 insertions, 79 deletions
diff --git a/dev-ruby/flexmock/ChangeLog b/dev-ruby/flexmock/ChangeLog index 2349bb589ae2..4b65e3053771 100644 --- a/dev-ruby/flexmock/ChangeLog +++ b/dev-ruby/flexmock/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/flexmock # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.9 2010/05/22 15:15:20 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.10 2010/06/19 14:13:15 flameeyes Exp $ + + 19 Jun 2010; Diego E. Pettenò <flameeyes@gentoo.org> + -flexmock-0.8.6.ebuild, flexmock-0.8.6-r1.ebuild, + -files/flexmock-0.8.6-rdoc-template.patch: + Remove old version; add support for ruby-enterprise. 22 May 2010; Diego E. Pettenò <flameeyes@gentoo.org> flexmock-0.8.6.ebuild, flexmock-0.8.6-r1.ebuild: diff --git a/dev-ruby/flexmock/files/flexmock-0.8.6-rdoc-template.patch b/dev-ruby/flexmock/files/flexmock-0.8.6-rdoc-template.patch deleted file mode 100644 index ea03938c48ce..000000000000 --- a/dev-ruby/flexmock/files/flexmock-0.8.6-rdoc-template.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- Rakefile.~1~ 2009-04-15 22:13:04.000000000 +0200 -+++ Rakefile 2009-12-27 17:43:05.135667622 +0100 -@@ -84,8 +84,8 @@ - - $rd = Rake::RDocTask.new("rdoc") do |rdoc| - rdoc.rdoc_dir = 'html' -- rdoc.template = 'doc/jamis.rb' -- # rdoc.template = 'html' -+ # rdoc.template = 'doc/jamis.rb' -+ rdoc.template = 'html' - # rdoc.template = 'kilmer' - # rdoc.template = 'css2' - rdoc.title = "Flex Mock" diff --git a/dev-ruby/flexmock/flexmock-0.8.6-r1.ebuild b/dev-ruby/flexmock/flexmock-0.8.6-r1.ebuild index 8d52101725af..f8bffb0cef05 100644 --- a/dev-ruby/flexmock/flexmock-0.8.6-r1.ebuild +++ b/dev-ruby/flexmock/flexmock-0.8.6-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2010 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-r1.ebuild,v 1.3 2010/05/22 15:15:20 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-0.8.6-r1.ebuild,v 1.4 2010/06/19 14:13:15 flameeyes Exp $ EAPI=2 -USE_RUBY="ruby18 ruby19 jruby" +USE_RUBY="ruby18 ruby19 jruby ree18" RUBY_FAKEGEM_DOCDIR="html" RUBY_FAKEGEM_EXTRADOC="CHANGES README" diff --git a/dev-ruby/flexmock/flexmock-0.8.6.ebuild b/dev-ruby/flexmock/flexmock-0.8.6.ebuild deleted file mode 100644 index 6b1a33c750e5..000000000000 --- a/dev-ruby/flexmock/flexmock-0.8.6.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2010 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.4 2010/05/22 15:15:20 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" - -PATCHES=( "${FILESDIR}/${P}-rdoc-template.patch" ) - -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` ]] || continue - $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 html || die "dohtml failed" - fi - - dodoc CHANGES README || die "dodoc failed" - - dofakegemspec -} |