summaryrefslogtreecommitdiff
path: root/dev-ruby/levenshtein
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/levenshtein
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/levenshtein')
-rw-r--r--dev-ruby/levenshtein/Manifest3
-rw-r--r--dev-ruby/levenshtein/levenshtein-0.2.2-r2.ebuild33
-rw-r--r--dev-ruby/levenshtein/metadata.xml11
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/levenshtein/Manifest b/dev-ruby/levenshtein/Manifest
new file mode 100644
index 000000000000..5a7363d750a8
--- /dev/null
+++ b/dev-ruby/levenshtein/Manifest
@@ -0,0 +1,3 @@
+DIST levenshtein-0.2.2.gem 7680 BLAKE2B f10a6b4079c74bfd5ade5113fc96e3551d7b78192aeb8ad68ef40e5813b3c00707614bab362d4cd9a7331be04f74611e016c2d95f7a82964cb2d4ef7ce813e8d SHA512 a84300b6590ab8c5fe2cc4e6f243ccec397cb97f7a241f635d2344433365b846701f9f4cccd7e574a1e50cf389ed03e3fe9992b6c2f21e12806a0c3ab08f03d0
+EBUILD levenshtein-0.2.2-r2.ebuild 714 BLAKE2B f386af58cd959492e1dc6816c82e51a94eb348bb77d5f1cf3c4c08793c24caff707c2571dabcd1119923e8ccfc7a82148cba7ee9b116cc0cb2358c591d5c8f69 SHA512 591644ef08503dc3bf52f94e8a4369858a36673553012508a7c63572fb9e9cd05284e7493659d15b0dabcbf3e77d3e6b348280a2b37634aa61d3e74eb34c34b0
+MISC metadata.xml 338 BLAKE2B b97d8b2698a1bbffbcd29b4e9ee96bf8cbceee7b317adec462230d979ebeef2edc7865f336ffb2a9e712596cbcb8ac308f1d23aaffa774b43278442b7cddf1c0 SHA512 924a32d980f01b8a3da22f72fc87e799929dd8c8e13102189a348bfbe4fe8a03fb1f4028322771007f33ed9fc9ca8ed9b179d25f008a9da722640e6ac49659fd
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..efb97d045db3
--- /dev/null
+++ b/dev-ruby/levenshtein/levenshtein-0.2.2-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Levenshtein distance algorithm"
+HOMEPAGE="https://github.com/mbleigh/mash"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~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
+}
diff --git a/dev-ruby/levenshtein/metadata.xml b/dev-ruby/levenshtein/metadata.xml
new file mode 100644
index 000000000000..b4de8743d329
--- /dev/null
+++ b/dev-ruby/levenshtein/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mbleigh/mash</remote-id>
+ </upstream>
+</pkgmetadata>