summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-04-14 09:38:01 +0000
committerHans de Graaff <graaff@gentoo.org>2013-04-14 09:38:01 +0000
commit4abe8fa5dfeee5125b4385ddfc120cfb03526b3b (patch)
tree713a16d92384730209c1e727f28eb78dab7b4c68 /dev-ruby
parentPatch from upstream for correcting the length written to uncompressed iTXt ch... (diff)
downloadgentoo-2-4abe8fa5dfeee5125b4385ddfc120cfb03526b3b.tar.gz
gentoo-2-4abe8fa5dfeee5125b4385ddfc120cfb03526b3b.tar.bz2
gentoo-2-4abe8fa5dfeee5125b4385ddfc120cfb03526b3b.zip
Initial import. New dependency for dev-ruby/ruby-gettext.
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/levenshtein/ChangeLog10
-rw-r--r--dev-ruby/levenshtein/levenshtein-0.2.2.ebuild34
-rw-r--r--dev-ruby/levenshtein/metadata.xml5
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/levenshtein/ChangeLog b/dev-ruby/levenshtein/ChangeLog
new file mode 100644
index 000000000000..9e887b16ae7d
--- /dev/null
+++ b/dev-ruby/levenshtein/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/levenshtein
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/levenshtein/ChangeLog,v 1.1 2013/04/14 09:38:01 graaff Exp $
+
+*levenshtein-0.2.2 (14 Apr 2013)
+
+ 14 Apr 2013; Hans de Graaff <graaff@gentoo.org> +levenshtein-0.2.2.ebuild,
+ +metadata.xml:
+ Initial import. New dependency for dev-ruby/ruby-gettext.
+
diff --git a/dev-ruby/levenshtein/levenshtein-0.2.2.ebuild b/dev-ruby/levenshtein/levenshtein-0.2.2.ebuild
new file mode 100644
index 000000000000..1b04c074a4fc
--- /dev/null
+++ b/dev-ruby/levenshtein/levenshtein-0.2.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 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.ebuild,v 1.1 2013/04/14 09:38:01 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19"
+
+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"
+IUSE=""
+
+each_ruby_configure() {
+ ${RUBY} -Cext/levenshtein extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake -Cext/levenshtein
+ cp ext/levenshtein/levenshtein_fast$(get_modname) lib/ || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib test/test.rb || die
+}
diff --git a/dev-ruby/levenshtein/metadata.xml b/dev-ruby/levenshtein/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/levenshtein/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>