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@dennis-eisele.de>
Closes: https://github.com/gentoo/gentoo/pull/23753
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Dennis Eisele
2022-01-14 19:09:37 +01:00
committed by Sam James
parent 39c5af1bbf
commit 5a4ea34356
2 changed files with 38 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}