diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-04 20:04:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-04 20:04:30 +0100 |
commit | 6f6f3cbf9f6458f2c889dd327b402f7b76f4893a (patch) | |
tree | b88b3ff029c0914cee62d0aefa305a422dee9de9 /app-portage/sisyphus/sisyphus-3.1908.0.ebuild | |
parent | 85a1454ea634f0c9eccff64fd1be94b0f00dca28 (diff) |
app-portage/sisyphus : version bump
Diffstat (limited to 'app-portage/sisyphus/sisyphus-3.1908.0.ebuild')
-rw-r--r-- | app-portage/sisyphus/sisyphus-3.1908.0.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/app-portage/sisyphus/sisyphus-3.1908.0.ebuild b/app-portage/sisyphus/sisyphus-3.1908.0.ebuild new file mode 100644 index 00000000..11f7642a --- /dev/null +++ b/app-portage/sisyphus/sisyphus-3.1908.0.ebuild @@ -0,0 +1,63 @@ +# 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="201060464dff846a331496de0e2a5f3ed5926f19" + +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/pygit2[${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 +} |