sys-apps/dool: add patch for plugin path, unconditionally install docs

Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Florian Schmaus
2024-09-27 15:36:13 +02:00
parent d05ab15e3e
commit b8b08314dc
2 changed files with 13 additions and 10 deletions

View File

@@ -1,2 +1,3 @@
DIST dool-1.3.1.tar.gz 150933 BLAKE2B 9aadd4e196cfb7c57fc5fd539f1211b3249b0da955aa2869c43c66b2c2a63816f5cb3e5bcffefada47269f8bd4e3f4b0ace8512f6b0de07e66e0e830ae50c0c2 SHA512 20cabbcbe09152c1ebcaed08bd182586e20d0bae297b61031f1cc52bfce3b9827cc84843e5e5a3dc0d3e790ef2d6da5eb5925d287647f80023925611eb9b04ee
DIST dool-1.3.2-add-site-packages-dir-to-plugin-path.patch 1014 BLAKE2B 41aa9a29e4d45ac3971ab2248dc69ec5e0a0bade7925bf2b729cc0e538a9dc7afebff3f244c0753c40a22262d258f07b7d7164927851b76674b6d37843a27fc7 SHA512 05960aef68560eff30dd0957196b44cca5d3fa0aa015a2bf4f5bee4792eae5e3e3f60673d99adeb50f30d12e1c93fe1246162aa328ba9bfa9f3d00e9458c7076
DIST dool-1.3.2.tar.gz 152959 BLAKE2B cd0cc6f82b89ba80cd7934d609aedaeb28bdcb10b332a70b7b706bf153668645b1a042c2da7f7e4c399e5119935b2db602ee651dc2ea85c900e254e27fd89d07 SHA512 792bec7c777746e68737b1c95dac02575262fe341a75da62fcd0ef1e09185779ac376389daa45e6407be06befb003b53f2ca16982302f6e24230bd0bed70ab06

View File

@@ -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"
PATCHES=(
"${DISTDIR}"/dool-1.3.2-add-site-packages-dir-to-plugin-path.patch
)
src_prepare() {
default
# 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() {