diff options
Diffstat (limited to 'app-portage/sisyphus-qt/sisyphus-qt-4.2107.0-r2.ebuild')
-rw-r--r-- | app-portage/sisyphus-qt/sisyphus-qt-4.2107.0-r2.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-portage/sisyphus-qt/sisyphus-qt-4.2107.0-r2.ebuild b/app-portage/sisyphus-qt/sisyphus-qt-4.2107.0-r2.ebuild new file mode 100644 index 00000000..4301a1ee --- /dev/null +++ b/app-portage/sisyphus-qt/sisyphus-qt-4.2107.0-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 2016-2020 Redcore Linux Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/-qt/}" + +PYTHON_COMPAT=( python3_{8,9,10} ) + +inherit eutils python-single-r1 git-r3 + +DESCRIPTION="A simple portage python wrapper which works like other package managers(apt-get/yum/dnf)" +HOMEPAGE="http://redcorelinux.org" + +EGIT_REPO_URI="https://gitlab.com/redcore/sisyphus.git" +EGIT_BRANCH="master" +EGIT_COMMIT="687968f9375def610d8730610dc48291346061a6" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm64" +IUSE="" + +DEPEND="dev-lang/python[sqlite] + ~app-portage/sisyphus-${PV}" +RDEPEND="${DEPEND} + app-misc/tmux + $(python_gen_cond_dep ' + dev-python/PyQt5[designer,gui,widgets,${PYTHON_USEDEP}] + ')" + +src_install() { + emake DESTDIR="${D}" install-gui + + # enforce the best available python implementation (CLI) + python_setup + python_fix_shebang "${ED}"usr/share/"${MY_PN}"/"${MY_PN}"-gui.py +} |