summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/amatch')
-rw-r--r--dev-ruby/amatch/Manifest1
-rw-r--r--dev-ruby/amatch/amatch-0.3.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/amatch/Manifest b/dev-ruby/amatch/Manifest
index 3691718d105c..427e3c6aad5f 100644
--- a/dev-ruby/amatch/Manifest
+++ b/dev-ruby/amatch/Manifest
@@ -1 +1,2 @@
DIST amatch-0.3.0.gem 28672 SHA256 669bac06769ab21d2fbd87839b5aa1b1d9e0eb39971b4404fe88de103685f45d SHA512 5ae598c90bb4252813be01570f3e057840133926c7736fad1ed9ec4fa8278e3e672ce466f79025f79b2f60a0842f7b294a748a5e0a29ceb0ddc72a55ba80673c WHIRLPOOL 773cd356b88a927dc0efbe4272d1a8bcbdb6005110672ad12a38bc6d468a6830d6a90b66266be8f87e4fc3d750645ca00d0f457f9ab8f793e039ab951ec4a290
+DIST amatch-0.3.1.gem 28672 SHA256 7f7a1b388fd6af5fe4cf3aaca1ac6dbdf41c35c283f39d525a92d5f647f446dd SHA512 4abd3d482646e75715b631eaaf001139928a910c7ee518ab468e089c71433d3a27191da4b22b0283ce1d8c1d33b77da5960c06fcd7dcf95121f1a0cc9dc543bb WHIRLPOOL 0ddd1b173a3fb342d795f0f81d19d69b22328f00d2a902cbf001eaa054c7ab84d8e110d1a577829fd47caceee81a856488f8311eaaf2b3c99728f33784cef9c2
diff --git a/dev-ruby/amatch/amatch-0.3.1.ebuild b/dev-ruby/amatch/amatch-0.3.1.ebuild
new file mode 100644
index 000000000000..8ee82f244340
--- /dev/null
+++ b/dev-ruby/amatch/amatch-0.3.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Approximate Matching Extension for Ruby"
+HOMEPAGE="https://flori.github.com/amatch/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_rdepend "=dev-ruby/tins-1*"
+
+each_ruby_configure() {
+ ${RUBY} -Cext extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake -Cext V=1
+ cp ext/amatch_ext$(get_modname) lib/ || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib -S testrb-2 tests/* || die
+}