mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-admin/run0edit: fix Py QA
Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
@@ -31,9 +31,7 @@ DOCS=( {CHANGELOG,SECURITY,README}.md )
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mv run0edit_main.py run0edit || die
|
||||
|
||||
python_fix_shebang run0edit run0edit_inner.py
|
||||
python_fix_shebang run0edit_main.py run0edit_inner.py
|
||||
|
||||
local b2=$(b2sum "${S}"/run0edit_inner.py | cut -d' ' -f1)
|
||||
local sitedir=$(python_get_sitedir)
|
||||
@@ -45,13 +43,13 @@ src_prepare() {
|
||||
N
|
||||
s|^.*|INNER_SCRIPT_B2: Final[str] = \"${b2}\"|
|
||||
}" \
|
||||
run0edit || die
|
||||
run0edit_main.py || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_domodule run0edit_inner.py
|
||||
|
||||
python_doscript run0edit
|
||||
python_newscript run0edit_main.py run0edit
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
@@ -31,9 +31,7 @@ DOCS=( {CHANGELOG,SECURITY,README}.md )
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mv run0edit_main.py run0edit || die
|
||||
|
||||
python_fix_shebang run0edit run0edit_inner.py
|
||||
python_fix_shebang run0edit_main.py run0edit_inner.py
|
||||
|
||||
local b2=$(b2sum "${S}"/run0edit_inner.py | cut -d' ' -f1)
|
||||
local sitedir=$(python_get_sitedir)
|
||||
@@ -45,13 +43,13 @@ src_prepare() {
|
||||
N
|
||||
s|^.*|INNER_SCRIPT_B2: Final[str] = \"${b2}\"|
|
||||
}" \
|
||||
run0edit || die
|
||||
run0edit_main.py || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_domodule run0edit_inner.py
|
||||
|
||||
python_doscript run0edit
|
||||
python_newscript run0edit_main.py run0edit
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user