commit:     c788db9a341ed66aa1ffa299b8b77b9441a96f1b
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 27 13:36:56 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Sep 27 13:36:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c788db9a

sys-apps/dool: sync live

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sys-apps/dool/dool-9999.ebuild | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/sys-apps/dool/dool-9999.ebuild b/sys-apps/dool/dool-9999.ebuild
index db89ec526..5a991dd78 100644
--- a/sys-apps/dool/dool-9999.ebuild
+++ b/sys-apps/dool/dool-9999.ebuild
@@ -22,13 +22,19 @@ else
        KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86 "
 fi
 
+SRC_URI+="
+       
https://github.com/scottchiefbaker/dool/pull/80/commits/5c538542a5bf2b16c496ab9d0a15f439f1ba1e49.patch
+               -> dool-1.3.2-add-site-packages-dir-to-plugin-path.patch
+"
+
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="doc examples"
 
-src_prepare() {
-       default
+PATCHES=(
+       "${DISTDIR}"/dool-1.3.2-add-site-packages-dir-to-plugin-path.patch
+)
 
+src_prepare() {
        # https://github.com/scottchiefbaker/dool/pull/80
        mv dool dool.py || die
 
@@ -42,6 +48,8 @@ src_prepare() {
        EOF
 
        sed -i 's/dool:__main/dool.dool:__main/' pyproject.toml || die
+
+       default
 }
 
 src_install() {
@@ -51,13 +59,7 @@ src_install() {
 
        einstalldocs
 
-       if use examples; then
-               dodoc examples/{mstat,read}.py
-       fi
-
-       if use doc; then
-               dodoc docs/*.html
-       fi
+       dodoc examples/{mstat,read}.py docs/*.html
 }
 
 src_test() {

Reply via email to