From 3d4414c6a1f071c0626ce2e32813b283561114ef Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 15 Jan 2018 18:58:20 +0000 Subject: app-portage/sisyphus : revision bump --- app-portage/sisyphus/files/mirrors.conf | 10 +++++ app-portage/sisyphus/sisyphus-1.1801-r1.ebuild | 54 ----------------------- app-portage/sisyphus/sisyphus-1.1801-r2.ebuild | 59 ++++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 54 deletions(-) create mode 100644 app-portage/sisyphus/files/mirrors.conf delete mode 100644 app-portage/sisyphus/sisyphus-1.1801-r1.ebuild create mode 100644 app-portage/sisyphus/sisyphus-1.1801-r2.ebuild diff --git a/app-portage/sisyphus/files/mirrors.conf b/app-portage/sisyphus/files/mirrors.conf new file mode 100644 index 00000000..dbb55599 --- /dev/null +++ b/app-portage/sisyphus/files/mirrors.conf @@ -0,0 +1,10 @@ +####################################################### +# Support for multiple mirrors is somewhat incomplete # +# Uncomment only one mirror from the list bellow # +####################################################### + +# Princeton University (USA) mirror +# PORTAGE_BINHOST="http://mirror.math.princeton.edu/pub/redcorelinux/packages/" + +# Alpix.eu (DE) mirror +PORTAGE_BINHOST="https://mirror.alpix.eu/redcorelinux/packages/" diff --git a/app-portage/sisyphus/sisyphus-1.1801-r1.ebuild b/app-portage/sisyphus/sisyphus-1.1801-r1.ebuild deleted file mode 100644 index 2b0d726b..00000000 --- a/app-portage/sisyphus/sisyphus-1.1801-r1.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 -} diff --git a/app-portage/sisyphus/sisyphus-1.1801-r2.ebuild b/app-portage/sisyphus/sisyphus-1.1801-r2.ebuild new file mode 100644 index 00000000..f479ea57 --- /dev/null +++ b/app-portage/sisyphus/sisyphus-1.1801-r2.ebuild @@ -0,0 +1,59 @@ +# 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} + + 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}/*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