From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-ruby/amatch/Manifest | 1 + dev-ruby/amatch/amatch-0.4.0.ebuild | 43 +++++++++++++++++++++++++++++++++++++ dev-ruby/amatch/metadata.xml | 9 ++++++++ 3 files changed, 53 insertions(+) create mode 100644 dev-ruby/amatch/Manifest create mode 100644 dev-ruby/amatch/amatch-0.4.0.ebuild create mode 100644 dev-ruby/amatch/metadata.xml (limited to 'dev-ruby/amatch') diff --git a/dev-ruby/amatch/Manifest b/dev-ruby/amatch/Manifest new file mode 100644 index 000000000000..396ea68f4d34 --- /dev/null +++ b/dev-ruby/amatch/Manifest @@ -0,0 +1 @@ +DIST amatch-0.4.0.gem 38912 BLAKE2B 065b4c537a2727cbb7f7d52aff545a3f7f8434b37553e59b261d9760ed304c24a20e4778c375e7b7fa11f40655cac786ca15cdb11360ac7296f03186439be480 SHA512 c5a1d17b46f51796d3f082ab9d18845625a28e08339756ebc0689ad6c50b1406611fd5a316e628e4dab6d9b654c969a4fc6e8c2b2079f04c64e3d990e95a64a0 diff --git a/dev-ruby/amatch/amatch-0.4.0.ebuild b/dev-ruby/amatch/amatch-0.4.0.ebuild new file mode 100644 index 000000000000..7eb29c2cbe15 --- /dev/null +++ b/dev-ruby/amatch/amatch-0.4.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit multilib ruby-fakegem + +DESCRIPTION="Approximate Matching Extension for Ruby" +HOMEPAGE="https://flori.github.com/amatch/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend "=dev-ruby/tins-1*" + +# These packages also provide agrep, bug 626480 +RDEPEND+=" !app-misc/glimpse !app-text/agrep !dev-libs/tre" + +all_ruby_prepare() { + # mize is listed as a dependency but not actually used + sed -i -e '/mize/d' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +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 +} diff --git a/dev-ruby/amatch/metadata.xml b/dev-ruby/amatch/metadata.xml new file mode 100644 index 000000000000..136457a413d3 --- /dev/null +++ b/dev-ruby/amatch/metadata.xml @@ -0,0 +1,9 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + gentoo-staging + -- cgit v1.3