From a371a4c364169a68d274e8ece8900394a771235e Mon Sep 17 00:00:00 2001 From: Ronald Farrer Date: Fri, 21 Apr 2023 13:41:07 -0700 Subject: [PATCH] Added initial wrapper script. --- app-office/overgrive/Manifest | 3 ++- app-office/overgrive/files/overgrive | 6 ++++++ app-office/overgrive/overgrive-3.5.2.ebuild | 6 +++++- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100755 app-office/overgrive/files/overgrive diff --git a/app-office/overgrive/Manifest b/app-office/overgrive/Manifest index b28afae..4259552 100644 --- a/app-office/overgrive/Manifest +++ b/app-office/overgrive/Manifest @@ -1,3 +1,4 @@ +AUX overgrive 185 BLAKE2B 7abda7c648e02cddc79e86904bbaced6b0defe3155145613f77ca10bcea2e18c19a14975b4cec82c3b3220c18472eb6a23070008af626ddf95bc5c6fb57fa294 SHA512 3b6fd217a0e66ae098b94de198cc204a7d466a58ae89005202a6fe9354fc4e9a8b7c4746b9f0b6f5e45451a11c64aa1b78b6dcc7fadc543a7a3ed8705c82daf3 DIST overgrive_3.5.2.deb 649664 BLAKE2B ce6f169929d74cafa98301f18122c854e10a894ac94196c261a719274d03e77e3989ce11320de7f2bf1aba7af1fc6897591fe3e9e8ef225daa046e619cb89e5c SHA512 3769065fce0736a208e0d769189edf5311f4017127077be94af45872669b875802eaaf7e6d18b832d21b669ed950a865ed9db94e1baf1f262869dde3888f1185 -EBUILD overgrive-3.5.2.ebuild 1268 BLAKE2B 52e7b5c1faccda6e4b0ed7067c2c89121a95f41a3d3f95d8db7aa0bb616d87ad9accb638508a0afc2b0a643c22e155cc694f5d80ff82a0cc30e73de3e5c2d09d SHA512 c9820a9ac2327550a1a3fbd9bea368640c2df7074802e5f59dd5de16ed0f4f7ce7d265aacdf746490c12f7dfa92d7103296dd9916910384d975c8363d2784a9f +EBUILD overgrive-3.5.2.ebuild 1272 BLAKE2B 4f36180ea750e286c66d5e5cd507a40408045895fb2b0b5e8908d030d030bab005a4b922cbf6c26283863864dbf6bf23d34065d6ab407df0ffa030da2f04b240 SHA512 eaf5fe5429bf6ef53fa5ef32e9bab2905c327c031a28d280fcebcd676d40c37a162ee83b0a6aef3e5890b8aedde2827557360e75f13d3be958b80e210399de2e MISC metadata.xml 386 BLAKE2B 33a688b69180d4a399b92c1b39f0f283cb88ce4a911085c49909b67ef99d4fc6d3e0a3ec2673b5b952fe6811a077f8773eb429669e9038b09a910cee36b2b382 SHA512 dd87afba1c8a6bc28f0997d9f67c545f5d3d0c72d1b1ba48561db1c19f3e830dbe0b16447e5e03b7c78eec2b762bb9f102da1a6737bc2b08ad7bf2573984b0b9 diff --git a/app-office/overgrive/files/overgrive b/app-office/overgrive/files/overgrive new file mode 100755 index 0000000..3b22cbc --- /dev/null +++ b/app-office/overgrive/files/overgrive @@ -0,0 +1,6 @@ +#!/bin/bash + +PYTHON_VERSION=`python --version|awk '{print $2}'|awk -F '.' '{print $2}'` + +/usr/bin/python /opt/thefanclub/overgrive/__pycache__/overgrive.cpython-3${PYTHON_VERSION}.pyc + diff --git a/app-office/overgrive/overgrive-3.5.2.ebuild b/app-office/overgrive/overgrive-3.5.2.ebuild index b36b25d..1513146 100644 --- a/app-office/overgrive/overgrive-3.5.2.ebuild +++ b/app-office/overgrive/overgrive-3.5.2.ebuild @@ -7,6 +7,8 @@ inherit xdg-utils font gnome2-utils eutils KEYWORDS="~amd64 ~x86 ~arm ~arm64" +PYTHON_COMPAT=( python3_{5..12} ) + DESCRIPTION="overGrive is a complete Google Drive desktop client solution for Linux" HOMEPAGE="https://www.thefanclub.co.za/overgrive" SRC_URI="${PN}_${PV}.deb" @@ -25,6 +27,8 @@ RDEPEND=" DEPEND=" " +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + S="${WORKDIR}" pkg_nofetch() { @@ -44,7 +48,7 @@ src_prepare() { src_install() { doins -r opt doins -r usr - dosym /opt/thefanclub/overgrive/__pycache__/overgrive.cpython-36.pyc /opt/thefanclub/overgrive/overgrive + cp ${FILESDIR}/overgrive /opt/bin/ } pkg_postinst() {