diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-26 11:41:46 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-26 11:41:46 +0000 |
commit | 164d66b9f46866c513126f46bcd463c390e07984 (patch) | |
tree | 359166c5f31dd4e5a2a4768754d837d7454f0190 /app-portage/sisyphus/sisyphus-2.1812.ebuild | |
parent | 806aa6310fd5da334ddb5ddf39ee1e5670480939 (diff) |
app-portage/sisyphus : version bump
Diffstat (limited to 'app-portage/sisyphus/sisyphus-2.1812.ebuild')
-rw-r--r-- | app-portage/sisyphus/sisyphus-2.1812.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/app-portage/sisyphus/sisyphus-2.1812.ebuild b/app-portage/sisyphus/sisyphus-2.1812.ebuild new file mode 100644 index 00000000..00372f8b --- /dev/null +++ b/app-portage/sisyphus/sisyphus-2.1812.ebuild @@ -0,0 +1,61 @@ +# Copyright 2016-2018 Redcore Linux Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +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://pagure.io/redcore/sisyphus.git" +EGIT_BRANCH="master" +EGIT_COMMIT="8cf0e391e659917fd73d2ddbea7cc1bd2fa8cdae" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+gui" + +DEPEND="dev-lang/python[sqlite]" +RDEPEND="${DEPEND} + app-portage/gentoolkit[${PYTHON_USEDEP}] + app-portage/portage-utils + dev-python/animation[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/wget[${PYTHON_USEDEP}] + sys-apps/portage[${PYTHON_USEDEP}] + sys-apps/gentoo-functions + gui? ( dev-python/PyQt5[designer,gui,widgets,${PYTHON_USEDEP}] )" + +src_install() { + default + + inject_libsisyphus() { + python_moduleinto "$(python_get_sitedir)" + python_domodule src/backend/libsisyphus.py + } + + python_foreach_impl inject_libsisyphus + + dosym /usr/share/${PN}/${PN}-cli.py /usr/bin/${PN} + keepdir var/lib/${PN}/{csv,db} + + dodir etc/${PN} + insinto etc/${PN} + doins ${FILESDIR}/mirrors.conf + + if ! use gui; then + rm -rf ${ED}usr/bin/${PN}-gui + rm -rf ${ED}usr/bin/${PN}-gui-pkexec + rm -rf ${ED}usr/share/${PN}/${PN}-gui.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 + fi +} |