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: app-text/ronn-ng/
Date: Sun, 05 Dec 2021 07:16:02
Message-Id: 1638688509.fc63a09ada9f914485d0a5c86e4ffe1f2224e876.graaff@gentoo
1 commit: fc63a09ada9f914485d0a5c86e4ffe1f2224e876
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 5 07:15:09 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 5 07:15:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc63a09a
7
8 app-text/ronn-ng: fix mustache dependency
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 app-text/ronn-ng/ronn-ng-0.9.1-r1.ebuild | 46 ++++++++++++++++++++++++++++++++
14 1 file changed, 46 insertions(+)
15
16 diff --git a/app-text/ronn-ng/ronn-ng-0.9.1-r1.ebuild b/app-text/ronn-ng/ronn-ng-0.9.1-r1.ebuild
17 new file mode 100644
18 index 000000000000..7353defff61e
19 --- /dev/null
20 +++ b/app-text/ronn-ng/ronn-ng-0.9.1-r1.ebuild
21 @@ -0,0 +1,46 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=8
26 +USE_RUBY="ruby26 ruby27"
27 +
28 +RUBY_FAKEGEM_EXTRADOC="AUTHORS CHANGES README.md"
29 +RUBY_FAKEGEM_GEMSPEC="ronn-ng.gemspec"
30 +
31 +inherit ruby-fakegem
32 +
33 +DESCRIPTION="Builds manuals in HTML and Unix man page format from Markdown"
34 +HOMEPAGE="https://github.com/apjanke/ronn-ng"
35 +
36 +LICENSE="MIT"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64"
39 +
40 +IUSE=""
41 +
42 +RDEPEND+="!app-text/ronn"
43 +
44 +ruby_add_rdepend "
45 + >=dev-ruby/kramdown-2.1:2
46 + =dev-ruby/mustache-1*
47 + >=dev-ruby/nokogiri-1.9.0:0
48 +"
49 +
50 +all_ruby_prepare() {
51 + sed -i -e '/mustache/ s/0.7/1.0/' ${RUBY_FAKEGEM_GEMSPEC} || die
52 +}
53 +
54 +each_ruby_prepare() {
55 + # Make sure that we always use the right interpreter during tests.
56 + sed -i -e "/output/ s:ronn:${RUBY} bin/ronn:" test/test_ronn.rb
57 +}
58 +
59 +all_ruby_compile() {
60 + PATH="${S}/bin:${PATH}" rake man || die
61 +}
62 +
63 +all_ruby_install() {
64 + all_fakegem_install
65 +
66 + doman man/ronn.1 man/ronn-format.7
67 +}