diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2014-05-15 00:57:38 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2014-05-15 00:57:38 +0000 |
commit | b2e71090bf100367ede043957e61197d9652dfe3 (patch) | |
tree | 5baff68d57a63fdf649c851a2467483cdbee15d1 /dev-ruby/levenshtein | |
parent | Remove ruby18. (diff) | |
download | gentoo-2-b2e71090bf100367ede043957e61197d9652dfe3.tar.gz gentoo-2-b2e71090bf100367ede043957e61197d9652dfe3.tar.bz2 gentoo-2-b2e71090bf100367ede043957e61197d9652dfe3.zip |
Add ruby21 target. Remove ruby18.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/levenshtein')
-rw-r--r-- | dev-ruby/levenshtein/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/levenshtein/levenshtein-0.2.2-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-ruby/levenshtein/levenshtein-0.2.2-r2.ebuild | 34 |
3 files changed, 43 insertions, 3 deletions
diff --git a/dev-ruby/levenshtein/ChangeLog b/dev-ruby/levenshtein/ChangeLog index 21276f2ab30c..6c6b3c86776f 100644 --- a/dev-ruby/levenshtein/ChangeLog +++ b/dev-ruby/levenshtein/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/levenshtein # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/levenshtein/ChangeLog,v 1.9 2014/01/29 14:54:54 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/levenshtein/ChangeLog,v 1.10 2014/05/15 00:57:38 mrueg Exp $ + +*levenshtein-0.2.2-r2 (15 May 2014) + + 15 May 2014; Manuel Rüger <mrueg@gentoo.org> +levenshtein-0.2.2-r2.ebuild, + levenshtein-0.2.2-r1.ebuild: + Add ruby21 target. Remove ruby18. 29 Jan 2014; Akinori Hattori <hattya@gentoo.org> levenshtein-0.2.2-r1.ebuild: keyword ~ia64 wrt bug #465948 diff --git a/dev-ruby/levenshtein/levenshtein-0.2.2-r1.ebuild b/dev-ruby/levenshtein/levenshtein-0.2.2-r1.ebuild index f9bc8e443843..f2b64dccfb4b 100644 --- a/dev-ruby/levenshtein/levenshtein-0.2.2-r1.ebuild +++ b/dev-ruby/levenshtein/levenshtein-0.2.2-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/levenshtein/levenshtein-0.2.2-r1.ebuild,v 1.3 2014/01/29 14:54:54 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/levenshtein/levenshtein-0.2.2-r1.ebuild,v 1.4 2014/05/15 00:57:38 mrueg Exp $ EAPI=5 -USE_RUBY="ruby18 ruby19 ruby20" +USE_RUBY="ruby19 ruby20" RUBY_FAKEGEM_RECIPE_TEST="rspec" diff --git a/dev-ruby/levenshtein/levenshtein-0.2.2-r2.ebuild b/dev-ruby/levenshtein/levenshtein-0.2.2-r2.ebuild new file mode 100644 index 000000000000..a43a1c8262c8 --- /dev/null +++ b/dev-ruby/levenshtein/levenshtein-0.2.2-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/levenshtein/levenshtein-0.2.2-r2.ebuild,v 1.1 2014/05/15 00:57:38 mrueg Exp $ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README" + +inherit multilib ruby-fakegem + +DESCRIPTION="Levenshtein distance algorithm." +HOMEPAGE="http://github.com/mbleigh/mash" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86" +IUSE="" + +each_ruby_configure() { + ${RUBY} -Cext/levenshtein extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/levenshtein V=1 + cp ext/levenshtein/levenshtein_fast$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/test.rb || die +} |