summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-12-20 07:26:20 +0000
committerHans de Graaff <graaff@gentoo.org>2012-12-20 07:26:20 +0000
commit000d4276c2f8fe9aa595feabf35d95482aa735a6 (patch)
treede01c7aa6ad2a63b4c05564f387e186a387f1016 /dev-ruby/ferret
parentMigrate to EAPI=5. (diff)
downloadgentoo-2-000d4276c2f8fe9aa595feabf35d95482aa735a6.tar.gz
gentoo-2-000d4276c2f8fe9aa595feabf35d95482aa735a6.tar.bz2
gentoo-2-000d4276c2f8fe9aa595feabf35d95482aa735a6.zip
Version bump. Add ruby19.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/ferret')
-rw-r--r--dev-ruby/ferret/ChangeLog7
-rw-r--r--dev-ruby/ferret/ferret-0.11.8.5.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-ruby/ferret/ChangeLog b/dev-ruby/ferret/ChangeLog
index ccb248665af0..d7cb75a29b91 100644
--- a/dev-ruby/ferret/ChangeLog
+++ b/dev-ruby/ferret/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/ferret
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ferret/ChangeLog,v 1.3 2012/11/18 10:33:34 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ferret/ChangeLog,v 1.4 2012/12/20 07:26:20 graaff Exp $
+
+*ferret-0.11.8.5 (20 Dec 2012)
+
+ 20 Dec 2012; Hans de Graaff <graaff@gentoo.org> +ferret-0.11.8.5.ebuild:
+ Version bump. Add ruby19.
18 Nov 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Drop maintainer as he is not taking care of this package.
diff --git a/dev-ruby/ferret/ferret-0.11.8.5.ebuild b/dev-ruby/ferret/ferret-0.11.8.5.ebuild
new file mode 100644
index 000000000000..36ef1f7c6d1f
--- /dev/null
+++ b/dev-ruby/ferret/ferret-0.11.8.5.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ferret/ferret-0.11.8.5.ebuild,v 1.1 2012/12/20 07:26:20 graaff Exp $
+
+EAPI=4
+
+# ruby19 fails tests
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_NAME="ferret"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+RUBY_FAKEGEM_TASK_DOC="doc"
+RUBY_FAKEGEM_DOCDIR="doc/api"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG RELEASE_CHANGES RELEASE_NOTES README TODO TUTORIAL"
+
+inherit multilib ruby-fakegem
+
+MY_P="${P/ruby-/}"
+DESCRIPTION="A ruby indexing/searching library"
+HOMEPAGE="http://ferret.davebalmain.com/trac/"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+each_ruby_configure() {
+ ${RUBY} -Cext extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake -Cext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
+ cp ext/ferret_ext$(get_modname) lib/ || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib test/test_all.rb || die
+}