Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/mecab-ruby/
Date: Sun, 01 May 2022 08:38:33
Message-Id: 1651392093.be71dee9b1b5f8fdb1b2ec8229e525d20449cbf7.graaff@gentoo
1 commit: be71dee9b1b5f8fdb1b2ec8229e525d20449cbf7
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 1 08:01:33 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun May 1 08:01:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be71dee9
7
8 dev-ruby/mecab-ruby: update EAPI 6 -> 8
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/mecab-ruby/mecab-ruby-0.996-r2.ebuild | 39 ++++++++++++++++++++++++++
13 1 file changed, 39 insertions(+)
14
15 diff --git a/dev-ruby/mecab-ruby/mecab-ruby-0.996-r2.ebuild b/dev-ruby/mecab-ruby/mecab-ruby-0.996-r2.ebuild
16 new file mode 100644
17 index 000000000000..706c47049361
18 --- /dev/null
19 +++ b/dev-ruby/mecab-ruby/mecab-ruby-0.996-r2.ebuild
20 @@ -0,0 +1,39 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +USE_RUBY="ruby26 ruby27 ruby30 ruby31"
27 +
28 +inherit ruby-ng
29 +
30 +DESCRIPTION="Ruby binding for MeCab"
31 +HOMEPAGE="https://taku910.github.io/mecab/"
32 +SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN%-*}/${P}.tar.gz"
33 +
34 +LICENSE="|| ( BSD LGPL-2.1 GPL-2 )"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
37 +IUSE=""
38 +
39 +DEPEND="~app-text/mecab-${PV}"
40 +RDEPEND="${DEPEND}"
41 +
42 +DOCS=( AUTHORS README test.rb )
43 +HTML_DOCS=( bindings.html )
44 +
45 +each_ruby_configure() {
46 + ${RUBY} extconf.rb || die
47 +}
48 +
49 +each_ruby_compile() {
50 + emake V=1
51 +}
52 +
53 +each_ruby_install() {
54 + emake DESTDIR="${D}" install
55 +}
56 +
57 +all_ruby_install() {
58 + einstalldocs
59 +}