aboutsummaryrefslogtreecommitdiffstats
path: root/games-util/grapejuice/grapejuice-7.7.2.ebuild
diff options
context:
space:
mode:
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
}