diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-27 22:41:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-27 22:41:01 +0100 |
commit | f660c6de84558324d784218831d8f0782ee41e2e (patch) | |
tree | c1f2aa79617d0ceaaff49d71603abc386aae2c37 /dev-ruby/amatch | |
parent | 95461df035e3867364495f065e5e805bf629b2d7 (diff) |
gentoo resync : 27.10.2021
Diffstat (limited to 'dev-ruby/amatch')
-rw-r--r-- | dev-ruby/amatch/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/amatch/amatch-0.4.0-r1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/amatch/Manifest b/dev-ruby/amatch/Manifest index 8b7f720a64b3..ae8878604197 100644 --- a/dev-ruby/amatch/Manifest +++ b/dev-ruby/amatch/Manifest @@ -1,3 +1,4 @@ DIST amatch-0.4.0.gem 38912 BLAKE2B 065b4c537a2727cbb7f7d52aff545a3f7f8434b37553e59b261d9760ed304c24a20e4778c375e7b7fa11f40655cac786ca15cdb11360ac7296f03186439be480 SHA512 c5a1d17b46f51796d3f082ab9d18845625a28e08339756ebc0689ad6c50b1406611fd5a316e628e4dab6d9b654c969a4fc6e8c2b2079f04c64e3d990e95a64a0 +EBUILD amatch-0.4.0-r1.ebuild 836 BLAKE2B ee9bc7ea8d7fd3dc2aeba3a51f3c59c06186dd6e7a01b4f8716374985478554d68b5cb4093216e8723de2b3cf4ebfafaeb141c182a45cda85df09f82bf59f82a SHA512 1766cb652e1d07c1ae3a7960f7ff4b1410298d9c1beebc5a77ceb3f8de3a34c20fbf9640bade6a44d744d6b2b8c3c8606892370899758ac53bf9d79baab102c5 EBUILD amatch-0.4.0.ebuild 950 BLAKE2B 1148f013ffae99d34e12df0d1805941b11b7e60f1c31968b778e82804907849a1cbaf6d97458be0d17b2162e05ee9602c930a7ad16bffa4ed15f8f08a0a2047d SHA512 00a261ae5d37e0896bf57e9e5f609318ce85ad6689834c53498333a1f78986eaf4ff2d77efbc313226eb7da03b0da1e708894c35b3bf376e7e79f2fd6914b087 MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14 diff --git a/dev-ruby/amatch/amatch-0.4.0-r1.ebuild b/dev-ruby/amatch/amatch-0.4.0-r1.ebuild new file mode 100644 index 000000000000..80c571f78f69 --- /dev/null +++ b/dev-ruby/amatch/amatch-0.4.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb) + +inherit 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_test() { + ${RUBY} -Ilib -S testrb-2 tests/* || die +} |