1 |
commit: c490a9f5d5593d11d32eee5eabd6897ec72a343c |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 24 09:16:12 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 24 10:25:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c490a9f5 |
7 |
|
8 |
dev-ruby/rdtool: add ruby30 |
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 |
dev-ruby/rdtool/rdtool-0.6.38-r3.ebuild | 39 +++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/rdtool/rdtool-0.6.38-r3.ebuild b/dev-ruby/rdtool/rdtool-0.6.38-r3.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..6edcdda0fe91 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/rdtool/rdtool-0.6.38-r3.ebuild |
21 |
@@ -0,0 +1,39 @@ |
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 ruby30" |
27 |
+ |
28 |
+RUBY_FAKEGEM_RECIPE_DOC="none" |
29 |
+RUBY_FAKEGEM_EXTRADOC="HISTORY README.*" |
30 |
+ |
31 |
+inherit elisp-common ruby-fakegem |
32 |
+ |
33 |
+DESCRIPTION="A multipurpose documentation format for Ruby" |
34 |
+HOMEPAGE="https://github.com/uwabami/rdtool" |
35 |
+ |
36 |
+LICENSE="Ruby GPL-2" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
39 |
+IUSE="emacs" |
40 |
+ |
41 |
+RDEPEND="${RDEPEND} emacs? ( >=app-editors/emacs-23.1:* )" |
42 |
+ |
43 |
+SITEFILE=50${PN}-gentoo.el |
44 |
+ |
45 |
+all_ruby_install() { |
46 |
+ all_fakegem_install |
47 |
+ |
48 |
+ if use emacs ; then |
49 |
+ elisp-install ${PN} utils/rd-mode.el |
50 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
51 |
+ fi |
52 |
+} |
53 |
+ |
54 |
+pkg_postinst() { |
55 |
+ use emacs && elisp-site-regen |
56 |
+} |
57 |
+ |
58 |
+pkg_postrm() { |
59 |
+ use emacs && elisp-site-regen |
60 |
+} |