diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2013-10-04 18:23:55 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2013-10-04 18:23:55 +0000 |
commit | abd4b3907e3f4fe69e331e6da1c43db7ae728b21 (patch) | |
tree | 70fc7ec30a0733a14069ba7219fdb88c200f26e5 /dev-ruby/fast-stemmer | |
parent | remove old (diff) | |
download | gentoo-2-abd4b3907e3f4fe69e331e6da1c43db7ae728b21.tar.gz gentoo-2-abd4b3907e3f4fe69e331e6da1c43db7ae728b21.tar.bz2 gentoo-2-abd4b3907e3f4fe69e331e6da1c43db7ae728b21.zip |
Add ruby20 target.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/fast-stemmer')
-rw-r--r-- | dev-ruby/fast-stemmer/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r1.ebuild | 36 |
2 files changed, 42 insertions, 1 deletions
diff --git a/dev-ruby/fast-stemmer/ChangeLog b/dev-ruby/fast-stemmer/ChangeLog index 03e9e3d7d4e3..6d6704126c64 100644 --- a/dev-ruby/fast-stemmer/ChangeLog +++ b/dev-ruby/fast-stemmer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/fast-stemmer # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast-stemmer/ChangeLog,v 1.2 2013/08/22 00:44:47 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast-stemmer/ChangeLog,v 1.3 2013/10/04 18:23:55 mrueg Exp $ + +*fast-stemmer-1.0.2-r1 (04 Oct 2013) + + 04 Oct 2013; Manuel Rüger <mrueg@gentoo.org> +fast-stemmer-1.0.2-r1.ebuild: + Add ruby20 target. 22 Aug 2013; Manuel Rüger <mrueg@gentoo.org> fast-stemmer-1.0.2.ebuild: Verbose build. diff --git a/dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r1.ebuild b/dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r1.ebuild new file mode 100644 index 000000000000..f4a822573355 --- /dev/null +++ b/dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r1.ebuild,v 1.1 2013/10/04 18:23:55 mrueg Exp $ + +EAPI=5 +USE_RUBY="ruby18 ruby19 ruby20" + +RUBY_FAKEGEM_TASK_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit multilib ruby-fakegem + +DESCRIPTION="Simple wrapper around multithreaded Porter stemming algorithm" +HOMEPAGE="https://github.com/romanbsd/fast-stemmer" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + rm ext/Makefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext + cp ext/stemmer$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S testrb test/fast_stemmer_test.rb || die +} |