summaryrefslogtreecommitdiff
path: root/app-portage/sisyphus-qt/sisyphus-qt-4.2009.0-r2.ebuild
blob: 598871c35ff44addf245efb5c8a1d31537822d93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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_{6,7,8} )

inherit eutils python-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="1b5d87dc8393295568f8f82a5d48fbc086f2caaf"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

DEPEND="dev-lang/python[sqlite]"
RDEPEND="${DEPEND}
	app-misc/tmux
	app-portage/sisyphus
	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"
}