From f4905784d3ff8cc1a7d3162741037d8bbf542e34 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 11 Jan 2018 22:10:55 +0000 Subject: app-portage/sisyphus : revision bump --- app-portage/sisyphus/Manifest | 2 +- app-portage/sisyphus/sisyphus-1.1801-r1.ebuild | 54 ++++++++++++++++++++++++++ app-portage/sisyphus/sisyphus-1.1801.ebuild | 54 -------------------------- 3 files changed, 55 insertions(+), 55 deletions(-) create mode 100644 app-portage/sisyphus/sisyphus-1.1801-r1.ebuild delete mode 100644 app-portage/sisyphus/sisyphus-1.1801.ebuild diff --git a/app-portage/sisyphus/Manifest b/app-portage/sisyphus/Manifest index 68cb1f48..1d6863a2 100644 --- a/app-portage/sisyphus/Manifest +++ b/app-portage/sisyphus/Manifest @@ -1 +1 @@ -DIST sisyphus-1.1801.tar.gz 182422 SHA256 2f45d9bae8b945f21d566ccea5936562ecbbe74e21dc7f22e2f93836025d55ce SHA512 5b55c03d20606f85bb05e7e38370f857a86277260e82e39bfec3b048da778a0ec131af249003cf67a11aea75dc16ff4f589164708afe678e5eb21b4371118ff4 WHIRLPOOL 4c91e50960b1f28b0cceb6351417846d69d66571c948f3d849e1c8374d64a7a544b69cceca92455c45d822ae174e72dd5fa31f79ea13f695f99d707afe474892 +DIST sisyphus-1.1801.tar.gz 182476 SHA256 814968af85393896440454a6875ea73b853b9ae1b3245d57959d40a8ddd499a0 SHA512 eeae4fff9570ed881a0b3188af04da071d251c8e2b5325fa97e92ca7f741f10712d18bd94860beb265f6cb20ea1eda23640622a13ad9859b866b3f1814e5c01b WHIRLPOOL cdaf350d1371b3db971eb5f7b547781788a10ebd2ea787bdce259c8e79e69de6f0008ef17eed4db55727943678d57402e28377c266ed786c0e43c33cc0a46654 diff --git a/app-portage/sisyphus/sisyphus-1.1801-r1.ebuild b/app-portage/sisyphus/sisyphus-1.1801-r1.ebuild new file mode 100644 index 00000000..2b0d726b --- /dev/null +++ b/app-portage/sisyphus/sisyphus-1.1801-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 2016-2017 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 + +DESCRIPTION="A simple portage python wrapper which works like other package managers(apt-get/yum/dnf)" +HOMEPAGE="http://redcorelinux.org" +SRC_URI="https://github.com/redcorelinux/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+gui" + +DEPEND="dev-lang/python[sqlite]" +RDEPEND="${DEPEND} + app-portage/gentoolkit[${PYTHON_USEDEP}] + dev-python/animation[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + sys-apps/portage[${PYTHON_USEDEP}] + gui? ( dev-python/PyQt5[designer,gui,widgets,${PYTHON_USEDEP}] sys-apps/gentoo-functions )" + +src_install() { + default + + inject_libsisyphus() { + # FIXME, ugly hack + python_moduleinto "$(python_get_sitedir)/.." + python_domodule src/backend/libsisyphus.py + rm -rf ${D}$(python_get_sitedir) + } + + python_foreach_impl inject_libsisyphus + + dosym /usr/share/${PN}/${PN}-cli.py /usr/bin/${PN} + dodir /var/lib/${PN}/{csv,db} + 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}/*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 +} + +pkg_postinst() { + sisyphus rescue +} diff --git a/app-portage/sisyphus/sisyphus-1.1801.ebuild b/app-portage/sisyphus/sisyphus-1.1801.ebuild deleted file mode 100644 index 2b0d726b..00000000 --- a/app-portage/sisyphus/sisyphus-1.1801.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2016-2017 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 - -DESCRIPTION="A simple portage python wrapper which works like other package managers(apt-get/yum/dnf)" -HOMEPAGE="http://redcorelinux.org" -SRC_URI="https://github.com/redcorelinux/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+gui" - -DEPEND="dev-lang/python[sqlite]" -RDEPEND="${DEPEND} - app-portage/gentoolkit[${PYTHON_USEDEP}] - dev-python/animation[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - sys-apps/portage[${PYTHON_USEDEP}] - gui? ( dev-python/PyQt5[designer,gui,widgets,${PYTHON_USEDEP}] sys-apps/gentoo-functions )" - -src_install() { - default - - inject_libsisyphus() { - # FIXME, ugly hack - python_moduleinto "$(python_get_sitedir)/.." - python_domodule src/backend/libsisyphus.py - rm -rf ${D}$(python_get_sitedir) - } - - python_foreach_impl inject_libsisyphus - - dosym /usr/share/${PN}/${PN}-cli.py /usr/bin/${PN} - dodir /var/lib/${PN}/{csv,db} - 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}/*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 -} - -pkg_postinst() { - sisyphus rescue -} -- cgit v1.2.3