summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-21 22:18:46 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-21 22:18:46 +0000
commit8e0140fcdc935da5c1120a80d55385bad13d62c8 (patch)
treec7bf4ff4e72cd09cb033bfa89fafad0912991dfd /dev-ruby/fastthread
parentInitial import of echoe, an alternative to hoe. (diff)
downloadhistorical-8e0140fcdc935da5c1120a80d55385bad13d62c8.tar.gz
historical-8e0140fcdc935da5c1120a80d55385bad13d62c8.tar.bz2
historical-8e0140fcdc935da5c1120a80d55385bad13d62c8.zip
Port to ruby-fakegem.
Package-Manager: portage-2.2_rc60/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/fastthread')
-rw-r--r--dev-ruby/fastthread/ChangeLog8
-rw-r--r--dev-ruby/fastthread/fastthread-1.0.7-r1.ebuild34
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"
+}