From 18e9a8343d1d78a0c7eeb5b719947e2648584f44 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 18 Oct 2019 00:12:09 +0100 Subject: app-portage/sisyphus : revision bump --- app-portage/sisyphus/sisyphus-3.1910.1-r1.ebuild | 62 ++++++++++++++++++++++++ app-portage/sisyphus/sisyphus-3.1910.1.ebuild | 62 ------------------------ 2 files changed, 62 insertions(+), 62 deletions(-) create mode 100644 app-portage/sisyphus/sisyphus-3.1910.1-r1.ebuild delete mode 100644 app-portage/sisyphus/sisyphus-3.1910.1.ebuild diff --git a/app-portage/sisyphus/sisyphus-3.1910.1-r1.ebuild b/app-portage/sisyphus/sisyphus-3.1910.1-r1.ebuild new file mode 100644 index 00000000..63b518d3 --- /dev/null +++ b/app-portage/sisyphus/sisyphus-3.1910.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 2016-2018 Redcore Linux Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +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_REPO_URI="https://gitlab.com/redcore/sisyphus.git" +EGIT_BRANCH="master" +EGIT_COMMIT="7d37888ce2ee742217eb20318acb433f53538308" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+gui" + +DEPEND="dev-lang/python[sqlite]" +RDEPEND="${DEPEND} + app-misc/tmux + app-portage/gentoolkit[${PYTHON_USEDEP}] + app-portage/portage-utils + dev-python/animation[${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 +} diff --git a/app-portage/sisyphus/sisyphus-3.1910.1.ebuild b/app-portage/sisyphus/sisyphus-3.1910.1.ebuild deleted file mode 100644 index b60343a2..00000000 --- a/app-portage/sisyphus/sisyphus-3.1910.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 2016-2018 Redcore Linux Project -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{5,6,7} ) - -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_REPO_URI="https://gitlab.com/redcore/sisyphus.git" -EGIT_BRANCH="master" -EGIT_COMMIT="6563f80b975e662e30ac98084c0336f57a3175cc" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+gui" - -DEPEND="dev-lang/python[sqlite]" -RDEPEND="${DEPEND} - app-misc/tmux - app-portage/gentoolkit[${PYTHON_USEDEP}] - app-portage/portage-utils - dev-python/animation[${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 -} -- cgit v1.2.3