From 4c96e7ee95682db5deb03631f2bcab3bcd053d46 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 22 Sep 2018 10:53:26 +0100 Subject: app-portage/sisyphus : revision bump --- app-portage/sisyphus/sisyphus-1.1809-r1.ebuild | 62 -------------------------- app-portage/sisyphus/sisyphus-1.1809-r2.ebuild | 62 ++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 62 deletions(-) delete mode 100644 app-portage/sisyphus/sisyphus-1.1809-r1.ebuild create mode 100644 app-portage/sisyphus/sisyphus-1.1809-r2.ebuild diff --git a/app-portage/sisyphus/sisyphus-1.1809-r1.ebuild b/app-portage/sisyphus/sisyphus-1.1809-r1.ebuild deleted file mode 100644 index 3e1beaa3..00000000 --- a/app-portage/sisyphus/sisyphus-1.1809-r1.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_{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="8dc2ab082f49b4bfaa9a4de05fe97bbddaf1eecf" - -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} - dodir var/lib/${PN}/{csv,db} - 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-1.1809-r2.ebuild b/app-portage/sisyphus/sisyphus-1.1809-r2.ebuild new file mode 100644 index 00000000..0a3f5949 --- /dev/null +++ b/app-portage/sisyphus/sisyphus-1.1809-r2.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_{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="0ec26c657839aab835eef0e5dd9ac8df9dfc6c88" + +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} + dodir var/lib/${PN}/{csv,db} + 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