summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-23 22:24:26 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-23 22:24:26 +0100
commit223e82c3e9319bfe6e5ae52462d10bfd95e91fe3 (patch)
tree281078d3c8038ca5b25c5dad7375f6c538233287
parent37b9a87659ab403af48318512fa49e4bfee3d04a (diff)
app-portage/sisyphus : version bump (v4.2006.0)
-rw-r--r--app-portage/sisyphus/sisyphus-4.2006.0.ebuild (renamed from app-portage/sisyphus/sisyphus-3.1910.1-r3.ebuild)15
1 files changed, 9 insertions, 6 deletions
diff --git a/app-portage/sisyphus/sisyphus-3.1910.1-r3.ebuild b/app-portage/sisyphus/sisyphus-4.2006.0.ebuild
index 01d9ecb0..6abeae8c 100644
--- a/app-portage/sisyphus/sisyphus-3.1910.1-r3.ebuild
+++ b/app-portage/sisyphus/sisyphus-4.2006.0.ebuild
@@ -3,17 +3,16 @@
EAPI=6
-PYTHON_COMPAT=( python3_{5,6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
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="3e315edde07f7392fa40b353445d0bddb721e73f"
+EGIT_COMMIT="94435dc8ad302c54448fdfe5b1add8d9a2b264f9"
LICENSE="GPL-2"
SLOT="0"
@@ -26,6 +25,8 @@ RDEPEND="${DEPEND}
app-portage/gentoolkit[${PYTHON_USEDEP}]
app-portage/portage-utils
dev-python/animation[${PYTHON_USEDEP}]
+ dev-python/GitPython[${PYTHON_USEDEP}]
+ dev-python/typer[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
dev-python/wget[${PYTHON_USEDEP}]
sys-apps/portage[${PYTHON_USEDEP}]
@@ -36,8 +37,8 @@ src_install() {
default
inject_libsisyphus() {
- python_moduleinto "$(python_get_sitedir)"
- python_domodule src/backend/libsisyphus.py
+ python_moduleinto "$(python_get_sitedir)"/"${PN}"
+ python_domodule src/backend/*.py
}
python_foreach_impl inject_libsisyphus
@@ -60,11 +61,13 @@ src_install() {
rm -rf ${ED}usr/share/polkit-1
fi
- # enforce best available python implementation
+ # enforce the best available python implementation (CLI)
python_setup
python_fix_shebang "${ED}usr/share/${PN}/${PN}-cli.py"
+ # enforce the best available python implementation (GUI)
if use gui; then
+ python_setup
python_fix_shebang "${ED}usr/share/${PN}/${PN}-gui.py"
fi
}