Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/diakonos/
Date: Thu, 20 Jan 2022 14:30:15
Message-Id: 1642688987.5a4ea3435698ad6121f92da3dac5e2daec4107fa.sam@gentoo
1 commit: 5a4ea3435698ad6121f92da3dac5e2daec4107fa
2 Author: Dennis Eisele <kernlpanic <AT> dennis-eisele <DOT> de>
3 AuthorDate: Fri Jan 14 18:09:37 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 20 14:29:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a4ea343
7
8 app-editors/diakonos: bump to version 0.9.7
9
10 Closes: https://bugs.gentoo.org/785088
11 Package-Manager: Portage-3.0.28, Repoman-3.0.3
12 Signed-off-by: Dennis Eisele <kernlpanic <AT> dennis-eisele.de>
13 Closes: https://github.com/gentoo/gentoo/pull/23753
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 app-editors/diakonos/Manifest | 1 +
17 app-editors/diakonos/diakonos-0.9.7.ebuild | 37 ++++++++++++++++++++++++++++++
18 2 files changed, 38 insertions(+)
19
20 diff --git a/app-editors/diakonos/Manifest b/app-editors/diakonos/Manifest
21 index 42c946116baa..c7c6071fb661 100644
22 --- a/app-editors/diakonos/Manifest
23 +++ b/app-editors/diakonos/Manifest
24 @@ -1 +1,2 @@
25 DIST diakonos-0.9.4.tar.gz 126301 BLAKE2B 197d32968053fe8b68f7e9909619f9be6548d1a32545d32c7cd4a9501f2df2635178ce681e6f77e9a1e0ea7f22fe80eed116239a1df655f3e3567e435d29dbad SHA512 c4737fa1de42549745b606bd881fbe7cff1e46517084142c10fe2a7076f25a6f7418d7aefbc569e3647bbdd04a185f07866021c24161f1675f11ecddde5d654c
26 +DIST diakonos-0.9.7.tar.gz 129807 BLAKE2B 26c3a72a00e1d41b4a7b2916b37024658d7607ac657d4f71a12b939830578d7939a4f9f4c3886693eae9eeaf91bfe1abe055be7bcc7681619448e298acb5c546 SHA512 ec23d93ed6871d18b6a91e02bc6916ac667ca773be5f093a68fffa5c9cbe89b123e80b18762c8649620eda23b1b9ba582a5236eb9eaefc0e22a411390cd30c73
27
28 diff --git a/app-editors/diakonos/diakonos-0.9.7.ebuild b/app-editors/diakonos/diakonos-0.9.7.ebuild
29 new file mode 100644
30 index 000000000000..b656965ff4e8
31 --- /dev/null
32 +++ b/app-editors/diakonos/diakonos-0.9.7.ebuild
33 @@ -0,0 +1,37 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +USE_RUBY="ruby26 ruby27 ruby30"
40 +
41 +inherit ruby-ng
42 +
43 +DESCRIPTION="A Linux editor for the masses"
44 +HOMEPAGE="https://git.sr.ht/~pistos/diakonos"
45 +SRC_URI="https://github.com/Pistos/diakonos/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~riscv ~x86"
50 +IUSE="doc test"
51 +
52 +ruby_add_rdepend "dev-ruby/curses"
53 +
54 +ruby_add_bdepend "doc? ( dev-ruby/yard )
55 + test? ( dev-ruby/rspec )"
56 +
57 +each_ruby_test() {
58 + ${RUBY} -S rspec -Ilib spec/*.rb spec/*/*.rb || die
59 +}
60 +
61 +each_ruby_install() {
62 + ${RUBY} install.rb --dest-dir "${D}" --doc-dir /usr/share/doc/${PF} || die "install failed"
63 +}
64 +
65 +all_ruby_install() {
66 + if use doc; then
67 + rake docs || die
68 + dodoc -r doc/*
69 + fi
70 +}