diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-02-21 04:52:48 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-02-21 04:52:48 +0000 |
commit | 4d9b3511a24c553f8918a21aec0c05321bcff1a1 (patch) | |
tree | a938a900c9517937fedd7c67fa1598cf5bd3194c /dev-ruby/ferret | |
parent | Update to EAPI=5. See bug #536702. (diff) | |
download | gentoo-2-4d9b3511a24c553f8918a21aec0c05321bcff1a1.tar.gz gentoo-2-4d9b3511a24c553f8918a21aec0c05321bcff1a1.tar.bz2 gentoo-2-4d9b3511a24c553f8918a21aec0c05321bcff1a1.zip |
Version bump. Add ruby22.
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/ferret')
-rw-r--r-- | dev-ruby/ferret/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/ferret/ferret-0.11.8.6.ebuild | 48 |
2 files changed, 55 insertions, 2 deletions
diff --git a/dev-ruby/ferret/ChangeLog b/dev-ruby/ferret/ChangeLog index 60e0529d7a67..c52e6ce02e97 100644 --- a/dev-ruby/ferret/ChangeLog +++ b/dev-ruby/ferret/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/ferret -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ferret/ChangeLog,v 1.9 2014/05/21 01:57:04 mrueg Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ferret/ChangeLog,v 1.10 2015/02/21 04:52:48 mrueg Exp $ + +*ferret-0.11.8.6 (21 Feb 2015) + + 21 Feb 2015; Manuel Rüger <mrueg@gentoo.org> +ferret-0.11.8.6.ebuild: + Version bump. Add ruby22. 21 May 2014; Manuel Rüger <mrueg@gentoo.org> ferret-0.11.8.5-r2.ebuild: Remove ruby18 target. diff --git a/dev-ruby/ferret/ferret-0.11.8.6.ebuild b/dev-ruby/ferret/ferret-0.11.8.6.ebuild new file mode 100644 index 000000000000..b6dd485d1468 --- /dev/null +++ b/dev-ruby/ferret/ferret-0.11.8.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 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.6.ebuild,v 1.1 2015/02/21 04:52:48 mrueg Exp $ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +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="https://github.com/jkraemer/ferret" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND+=" app-arch/bzip2" +DEPEND+=" app-arch/bzip2" + +all_ruby_prepare() { + # Remove bundled bzlib code and use system version instead. + rm ext/BZLIB* ext/bzlib* || die + sed -i -e '14i $LDFLAGS += " -lbz2 "' ext/extconf.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 + cp ext/ferret_ext$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/test_all.rb || die +} |