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/Manifest | 2 +- games-util/grapejuice/grapejuice-7.7.2.ebuild | 22 ++++++++++++++++------ 2 files changed, 17 insertions(+), 7 deletions(-) (limited to 'games-util') diff --git a/games-util/grapejuice/Manifest b/games-util/grapejuice/Manifest index 8077ebe..cb7ac77 100644 --- a/games-util/grapejuice/Manifest +++ b/games-util/grapejuice/Manifest @@ -1,3 +1,3 @@ DIST grapejuice-v7.7.2.tar.bz2 326884 BLAKE2B 54fa25e1c0cd885cd8acfac476fd3fbf53a5a07073e3a8c2731f73df0579987222e3d81430f5557fd7e61275e9a04988f677193c73327cdbe3d93f385231448e SHA512 e8e2ac76a6f46a914e3d5f18d8385047acddd568c3f3ef852575da51c58dc5ef6c583c77699c5875d0b2e74cfd3e555f927317fdc2fedbb0750aa7f1f38674ed -EBUILD grapejuice-7.7.2.ebuild 1335 BLAKE2B 57b692a25389be55e860141abe1d5e7409bb7e83038ff3a86fbe19674f4355409f835ec6a9bebc0cdd701ec73e40fc7b4e235071e745b4480703afd9e7e3f17f SHA512 1ef7fd7247d091e14c82072f0bed3e1b39a32750db5c34e62fbd55adb97930f0bb305e7d68b01ea35ceceb9c21aaa4107d45d144cbae56b571c74fb3c59706c2 +EBUILD grapejuice-7.7.2.ebuild 1566 BLAKE2B da7b37241975681edc2fc0bf8ab0c987e472ff240557b427888e0052dcfb104a24f1a0d7f8266c416ceaf7ab8123ddbbe71f0ac8afb53d9abdd3706dc5dcdc94 SHA512 7378542cfeae4e7fdbb9e60a3138ebe13ee38dca0ad1e9a0ed968fb7e4ef75e207bce2dc65046d31fafbd4b44295859bfe8d7ec992b031802067a6e51017d123 MISC metadata.xml 361 BLAKE2B a6155a8bee6ab7fbd3802e9a9bd103ec77f5758f14a4ef29e5f1cb42e558a848999b22acdbcd60a2ec42dd4f6eda7ad0c427e585d2d7a0d4e4d803a66e6631b7 SHA512 92d1a97a20f88ed119aae7fda45537bc5321b860b8372626d63b354bdb56f223ab11c700933c525aef68e185454f266eae6364501b8840d41bebebc6a5d407ce 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