commit: bf186b7775339d245835364123b1019ad02fba36
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue May 7 14:23:31 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue May 7 14:25:33 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf186b77
sys-apps/dool: improve ebuild
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
.../dool/{dool-1.3.1.ebuild => dool-1.3.1-r1.ebuild} | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/sys-apps/dool/dool-1.3.1.ebuild
b/sys-apps/dool/dool-1.3.1-r1.ebuild
similarity index 78%
rename from sys-apps/dool/dool-1.3.1.ebuild
rename to sys-apps/dool/dool-1.3.1-r1.ebuild
index eff98f06ff..9159ce65de 100644
--- a/sys-apps/dool/dool-1.3.1.ebuild
+++ b/sys-apps/dool/dool-1.3.1-r1.ebuild
@@ -18,10 +18,7 @@ else
https://github.com/scottchiefbaker/dool/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz
"
-fi
-
-if [[ "${PV}" != "9999" ]]; then
- KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc
~x86 ~x86-linux"
+ KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86 "
fi
LICENSE="GPL-2"
@@ -36,12 +33,13 @@ src_compile() {
:
}
-src_install() {
- python_foreach_impl python_doscript "${PN}"
+python_install() {
+ python_doscript "${PN}"
+ python_domodule plugins/${PN}_*.py
+}
- insinto "/usr/share/${PN}"
- newins "${PN}" "${PN}.py"
- doins plugins/${PN}_*.py
+src_install() {
+ python_foreach_impl python_install
doman "docs/${PN}.1"
@@ -50,6 +48,7 @@ src_install() {
if use examples; then
dodoc examples/{mstat,read}.py
fi
+
if use doc; then
dodoc docs/*.html
fi