aboutsummaryrefslogtreecommitdiffstats
path: root/games-util/grapejuice/grapejuice-7.7.2.ebuild
diff options
context:
space:
mode:
authorturret <turret@duck.com>2023-05-31 15:36:57 -0500
committerturret <turret@duck.com>2023-05-31 15:36:57 -0500
commitebeb52ace31511c743dfb7a0f0b02e964eabc040 (patch)
tree7d0d18793e7f8a2d8bffd1a837db9efbce1aa5f0 /games-util/grapejuice/grapejuice-7.7.2.ebuild
parent57bdb03203658638b38daa75fb84a737c3a11246 (diff)
downloadportage-overlay-ebeb52ace31511c743dfb7a0f0b02e964eabc040.tar.gz
portage-overlay-ebeb52ace31511c743dfb7a0f0b02e964eabc040.tar.bz2
portage-overlay-ebeb52ace31511c743dfb7a0f0b02e964eabc040.zip
grapejuice bash magic fix
Diffstat (limited to 'games-util/grapejuice/grapejuice-7.7.2.ebuild')
-rw-r--r--games-util/grapejuice/grapejuice-7.7.2.ebuild22
1 files changed, 16 insertions, 6 deletions
diff --git a/games-util/grapejuice/grapejuice-7.7.2.ebuild b/games-util/grapejuice/grapejuice-7.7.2.ebuild
index 7592689..4b96e25 100644
--- a/games-util/grapejuice/grapejuice-7.7.2.ebuild
+++ b/games-util/grapejuice/grapejuice-7.7.2.ebuild
@@ -25,27 +25,37 @@ DEPEND="sys-devel/gettext
x11-misc/xdg-user-dirs
dev-util/gtk-update-icon-cache
x11-misc/shared-mime-info
- x11-apps/mesa-progs"
+ x11-apps/mesa-progs
+
+ dev-python/psutil
+ dev-python/pygobject
+ dev-python/packaging
+ dev-python/wheel
+ dev-python/setuptools
+ dev-python/requests
+ dev-python/unidecode
+ dev-python/click
+ dev-python/pydantic"
RDEPEND="
${DEPEND}
virtual/wine"
src_unpack() {
default
- mv "${WORKDIR}/grapejuice-v${PV}" "${S}"
+ mv "${WORKDIR}/grapejuice-v${PV}" "${S}" || die
}
src_compile() {
cd "${S}"
export PYTHONPATH="${S}/src"
- python3 -m grapejuice_packaging linux_package
+ python3 -m grapejuice_packaging linux_package || die
}
src_install() {
export PYTHON_VERSION=$(python3 -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')
- tar -xf "${S}/dist/linux_package/*.tar.gz" -C "${D}"
- mv "${D}/usr/lib/python3/dist-packages" "${D}/usr/lib/python${PYTHON_VERSION}"
- rm -r "${D}/usr/lib/python3"
+ tar -xf "${S}/dist/linux_package"/*.tar.gz -C "${D}" || die
+ mv "${D}/usr/lib/python3/dist-packages" "${D}/usr/lib/python${PYTHON_VERSION}" || die
+ rm -r "${D}/usr/lib/python3" || die
default
}