diff options
Diffstat (limited to 'app-portage/sisyphus/sisyphus-0.1-r2.ebuild')
-rw-r--r-- | app-portage/sisyphus/sisyphus-0.1-r2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-portage/sisyphus/sisyphus-0.1-r2.ebuild b/app-portage/sisyphus/sisyphus-0.1-r2.ebuild new file mode 100644 index 00000000..51e62551 --- /dev/null +++ b/app-portage/sisyphus/sisyphus-0.1-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python3_4 ) + +inherit eutils git-r3 python-r1 + +DESCRIPTION="A simple portage python wrapper which works like other package managers(apt-get/yum/dnf)" +HOMEPAGE="http://redcorelinux.org" + +EGIT_BRANCH=master +EGIT_REPO_URI="https://gitlab.com/redcore/sisyphus.git" +EGIT_COMMIT="97ac8f5f4b6f36db3a52cc6a5f72b616127b3ba2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="dev-lang/python:3.4[sqlite]" +RDEPEND="${DEPEND} + app-portage/gentoolkit[${PYTHON_USEDEP}] + dev-python/PyQt5[designer,gui,widgets,${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + sys-apps/portage[${PYTHON_USEDEP}]" + +src_install() { + default + dosym /usr/bin/${PN}-cli.py /usr/bin/${PN} + dodir /var/lib/${PN}/{csv,db} + # don't include any graphical interface code...for now + rm -rf ${ED}usr/bin/${PN}-gui + rm -rf ${ED}usr/bin/${PN}-gui-pkexec + rm -rf ${ED}usr/share/${PN}/*py + rm -rf ${ED}usr/share/${PN}/icon + rm -rf ${ED}usr/share/${PN}/ui + rm -rf ${ED}usr/share/applications + rm -rf ${ED}usr/share/pixmaps + rm -rf ${ED}usr/share/polkit-1 +} |