diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-12-21 22:18:46 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-12-21 22:18:46 +0000 |
commit | a8a8b975d4a5be176bd8b17f526bff12673fb143 (patch) | |
tree | fba2bd2f9c22c4a613c29f77a3e3e00d62122937 /dev-ruby/fastthread | |
parent | Initial import of echoe, an alternative to hoe. (diff) | |
download | gentoo-2-a8a8b975d4a5be176bd8b17f526bff12673fb143.tar.gz gentoo-2-a8a8b975d4a5be176bd8b17f526bff12673fb143.tar.bz2 gentoo-2-a8a8b975d4a5be176bd8b17f526bff12673fb143.zip |
Port to ruby-fakegem.
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/fastthread')
-rw-r--r-- | dev-ruby/fastthread/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/fastthread/fastthread-1.0.7-r1.ebuild | 34 |
2 files changed, 41 insertions, 1 deletions
diff --git a/dev-ruby/fastthread/ChangeLog b/dev-ruby/fastthread/ChangeLog index 8a8dd044870b..b16cd55f7715 100644 --- a/dev-ruby/fastthread/ChangeLog +++ b/dev-ruby/fastthread/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/fastthread # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fastthread/ChangeLog,v 1.33 2009/12/09 19:13:43 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fastthread/ChangeLog,v 1.34 2009/12/21 22:18:46 flameeyes Exp $ + +*fastthread-1.0.7-r1 (21 Dec 2009) + + 21 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org> + +fastthread-1.0.7-r1.ebuild: + Port to ruby-fakegem. 09 Dec 2009; Hans de Graaff <graaff@gentoo.org> -fastthread-1.0.1.ebuild: Remove old version. diff --git a/dev-ruby/fastthread/fastthread-1.0.7-r1.ebuild b/dev-ruby/fastthread/fastthread-1.0.7-r1.ebuild new file mode 100644 index 000000000000..0c057383d822 --- /dev/null +++ b/dev-ruby/fastthread/fastthread-1.0.7-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fastthread/fastthread-1.0.7-r1.ebuild,v 1.1 2009/12/21 22:18:46 flameeyes Exp $ + +EAPI=2 + +USE_RUBY="ruby18" + +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG" + +inherit ruby-fakegem + +DESCRIPTION="Optimized replacement for thread.rb primitives" +HOMEPAGE="http://gemcutter.org/gems/fastthread" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend test '>=dev-ruby/echoe-2.7.11 virtual/ruby-test-unit' +ruby_add_bdepend doc '>=dev-ruby/echoe-2.7.11' + +all_ruby_prepare() { + sed -i -e 's|if Platform|if Echoe::Platform|' Rakefile || die +} + +each_ruby_compile() { + ${RUBY} -S rake compile || die "build failed" +} |