Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 756187 Details for
Bug 827152
dev-util/hermes: generates scripts with unprefixed shebangs on prefix, which breaks e.g. testing lmod with FEATURES=test
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for prefixifying the shebangs of test scripts generated by Hermes
dev-util-hermes_prefixify_shebangs.patch (text/plain), 1.36 KB, created by
Bob Dröge
on 2021-11-25 08:23:01 UTC
(
hide
)
Description:
Patch for prefixifying the shebangs of test scripts generated by Hermes
Filename:
MIME Type:
Creator:
Bob Dröge
Created:
2021-11-25 08:23:01 UTC
Size:
1.36 KB
patch
obsolete
>diff --git a/dev-util/hermes/hermes-2.8_p20180315.ebuild b/dev-util/hermes/hermes-2.8_p20180315.ebuild >index edf0e4e3916..c3d8021ebf2 100644 >--- a/dev-util/hermes/hermes-2.8_p20180315.ebuild >+++ b/dev-util/hermes/hermes-2.8_p20180315.ebuild >@@ -4,7 +4,7 @@ > EAPI=7 > > LUA_COMPAT=( lua5-{1..3} ) >-inherit lua-single >+inherit lua-single prefix > > DESCRIPTION="Lua based testing manager" > HOMEPAGE="https://github.com/TACC/Hermes" >@@ -35,6 +35,11 @@ DEPEND="test? ( ${RDEPEND} )" > > PATCHES=( "${FILESDIR}"/${PN}-2.8-lua-shebang.patch ) > >+src_prepare() { >+ default >+ hprefixify -w '/#\!\/bin\/bash/' tm/Tst.lua || die >+} >+ > src_compile() { > sed -e "s|@LUA@|${LUA}|g" \ > -i lib/tool.lua \ >diff --git a/sys-cluster/lmod/lmod-8.5.6.ebuild b/sys-cluster/lmod/lmod-8.5.6.ebuild >index aa8df1b4b7f..72271518028 100644 >--- a/sys-cluster/lmod/lmod-8.5.6.ebuild >+++ b/sys-cluster/lmod/lmod-8.5.6.ebuild >@@ -4,7 +4,7 @@ > EAPI=7 > > LUA_COMPAT=( lua5-{1..3} ) >-inherit autotools lua-single >+inherit autotools lua-single prefix > > DESCRIPTION="Environment Module System based on Lua" > HOMEPAGE="https://lmod.readthedocs.io/en/latest https://github.com/TACC/Lmod" >@@ -61,6 +61,7 @@ src_prepare() { > default > rm -r pkgs/{luafilesystem,term} || die > rm -r rt/{ck_mtree_syntax,colorize,end2end,help,ifur,settarg} || die >+ hprefixify -w '/#\!\/bin\/tcsh/' rt/csh_swap/csh_swap.tdesc || die > eautoreconf > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 827152
: 756187 |
756235