commit:     5a4ea3435698ad6121f92da3dac5e2daec4107fa
Author:     Dennis Eisele <kernlpanic <AT> dennis-eisele <DOT> de>
AuthorDate: Fri Jan 14 18:09:37 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 20 14:29:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a4ea343

app-editors/diakonos: bump to version 0.9.7

Closes: https://bugs.gentoo.org/785088
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Dennis Eisele <kernlpanic <AT> dennis-eisele.de>
Closes: https://github.com/gentoo/gentoo/pull/23753
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/diakonos/Manifest              |  1 +
 app-editors/diakonos/diakonos-0.9.7.ebuild | 37 ++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/app-editors/diakonos/Manifest b/app-editors/diakonos/Manifest
index 42c946116baa..c7c6071fb661 100644
--- a/app-editors/diakonos/Manifest
+++ b/app-editors/diakonos/Manifest
@@ -1 +1,2 @@
 DIST diakonos-0.9.4.tar.gz 126301 BLAKE2B 
197d32968053fe8b68f7e9909619f9be6548d1a32545d32c7cd4a9501f2df2635178ce681e6f77e9a1e0ea7f22fe80eed116239a1df655f3e3567e435d29dbad
 SHA512 
c4737fa1de42549745b606bd881fbe7cff1e46517084142c10fe2a7076f25a6f7418d7aefbc569e3647bbdd04a185f07866021c24161f1675f11ecddde5d654c
+DIST diakonos-0.9.7.tar.gz 129807 BLAKE2B 
26c3a72a00e1d41b4a7b2916b37024658d7607ac657d4f71a12b939830578d7939a4f9f4c3886693eae9eeaf91bfe1abe055be7bcc7681619448e298acb5c546
 SHA512 
ec23d93ed6871d18b6a91e02bc6916ac667ca773be5f093a68fffa5c9cbe89b123e80b18762c8649620eda23b1b9ba582a5236eb9eaefc0e22a411390cd30c73

diff --git a/app-editors/diakonos/diakonos-0.9.7.ebuild 
b/app-editors/diakonos/diakonos-0.9.7.ebuild
new file mode 100644
index 000000000000..b656965ff4e8
--- /dev/null
+++ b/app-editors/diakonos/diakonos-0.9.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby26 ruby27 ruby30"
+
+inherit ruby-ng
+
+DESCRIPTION="A Linux editor for the masses"
+HOMEPAGE="https://git.sr.ht/~pistos/diakonos";
+SRC_URI="https://github.com/Pistos/diakonos/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="doc test"
+
+ruby_add_rdepend "dev-ruby/curses"
+
+ruby_add_bdepend "doc? ( dev-ruby/yard )
+       test? ( dev-ruby/rspec )"
+
+each_ruby_test() {
+       ${RUBY} -S rspec -Ilib spec/*.rb spec/*/*.rb || die
+}
+
+each_ruby_install() {
+       ${RUBY} install.rb --dest-dir "${D}" --doc-dir /usr/share/doc/${PF} || 
die "install failed"
+}
+
+all_ruby_install() {
+       if use doc; then
+               rake docs || die
+               dodoc -r doc/*
+       fi
+}

Reply via email to