From b1a427a50fe55544855de7de73619fa169487847 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 31 Dec 2018 16:57:14 +0000 Subject: app-portage/sisyphus : version bump --- app-portage/sisyphus/files/mirrors.conf | 17 ++++++-- app-portage/sisyphus/sisyphus-2.1812.1.ebuild | 61 +++++++++++++++++++++++++++ app-portage/sisyphus/sisyphus-2.1812.ebuild | 61 --------------------------- 3 files changed, 75 insertions(+), 64 deletions(-) create mode 100644 app-portage/sisyphus/sisyphus-2.1812.1.ebuild delete mode 100644 app-portage/sisyphus/sisyphus-2.1812.ebuild diff --git a/app-portage/sisyphus/files/mirrors.conf b/app-portage/sisyphus/files/mirrors.conf index 3a4643ac..4b4e9539 100644 --- a/app-portage/sisyphus/files/mirrors.conf +++ b/app-portage/sisyphus/files/mirrors.conf @@ -1,19 +1,30 @@ ####################################################### # Support for multiple mirrors is somewhat incomplete # +####################################################### +# Please avoid using the Main Repository # +# http://mirrors.redcorelinux.org/redcorelinux # +# as the bandwidth is limited, use mirrors instead # +####################################################### # Uncomment only one mirror from the list bellow # ####################################################### +# Main repository - stable +# PORTAGE_BINHOST="http://mirrors.redcorelinux.org/redcorelinux/packages/" + +# Main repository - testing +# PORTAGE_BINHOST="http://mirrors.redcorelinux.org/redcorelinux/packages-next/" + # Princeton University (USA) mirror - stable -# PORTAGE_BINHOST="http://mirror.math.princeton.edu/pub/redcorelinux/packages/" +PORTAGE_BINHOST="http://mirror.math.princeton.edu/pub/redcorelinux/packages/" # Princeton University (USA) mirror - testing # PORTAGE_BINHOST="http://mirror.math.princeton.edu/pub/redcorelinux/packages-next/" # Alpix.eu (Germany) mirror - stable -PORTAGE_BINHOST="http://mirror.alpix.eu/redcorelinux/packages/" +# PORTAGE_BINHOST="http://mirror.alpix.eu/redcorelinux/packages/" # Alpix.eu (Germany) mirror - testing -PORTAGE_BINHOST="http://mirror.alpix.eu/redcorelinux/packages-next/" +# PORTAGE_BINHOST="http://mirror.alpix.eu/redcorelinux/packages-next/" # Yandex.ru (Russia) mirror - stable # PORTAGE_BINHOST="http://mirror.yandex.ru/mirrors/redcorelinux/packages/" diff --git a/app-portage/sisyphus/sisyphus-2.1812.1.ebuild b/app-portage/sisyphus/sisyphus-2.1812.1.ebuild new file mode 100644 index 00000000..ffdf0b28 --- /dev/null +++ b/app-portage/sisyphus/sisyphus-2.1812.1.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="19c4f210b278390457e794f94c34ff58d4f528cf" + +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 +} diff --git a/app-portage/sisyphus/sisyphus-2.1812.ebuild b/app-portage/sisyphus/sisyphus-2.1812.ebuild deleted file mode 100644 index 00372f8b..00000000 --- a/app-portage/sisyphus/sisyphus-2.1812.ebuild +++ /dev/null @@ -1,61 +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="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 -} -- cgit v1.2.3