From ebeb52ace31511c743dfb7a0f0b02e964eabc040 Mon Sep 17 00:00:00 2001 From: turret Date: Wed, 31 May 2023 15:36:57 -0500 Subject: grapejuice bash magic fix --- games-util/grapejuice/grapejuice-7.7.2.ebuild | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'games-util/grapejuice/grapejuice-7.7.2.ebuild') 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 } -- cgit v1.2.3