Install this version:
emerge -a =dev-util/hermes-3.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-util/hermes-3.1
Or alternatively:
emerge --autounmask-write -a =dev-util/hermes-3.1
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-{1..3} )
inherit lua-single prefix
DESCRIPTION="Lua based testing manager"
HOMEPAGE="https://github.com/TACC/Hermes"
if [[ "${PV}" == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/TACC/Hermes"
else
SRC_URI="https://github.com/TACC/Hermes/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P^}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
RDEPEND="${LUA_DEPS}
$(lua_gen_cond_dep '
dev-lua/luafilesystem[${LUA_USEDEP}]
dev-lua/luaposix[${LUA_USEDEP}]
')
"
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 \
-i bin/lua_cmd || die
}
src_test() {
local -x PATH="bin:${PATH}"
tm -vvv || die
testcleanup || die
}
src_install() {
dodir /opt/hermes
cp -r "${S}"/. "${ED}"/opt/hermes/ || die
newenvd - 99hermes <<- _EOF_
PATH="${EPREFIX}/opt/hermes/bin"
_EOF_
}
Manage flags for this package:
euse -i <flag> -p dev-util/hermes |
euse -E <flag> -p dev-util/hermes |
euse -D <flag> -p dev-util/hermes
test? ( ${LUA_DEPS}
$(lua_gen_cond_dep '
dev-lua/luafilesystem[${LUA_USEDEP}]
dev-lua/luaposix[${LUA_USEDEP}]
')
)
${LUA_DEPS}
$(lua_gen_cond_dep '
dev-lua/luafilesystem[${LUA_USEDEP}]
dev-lua/luaposix[${LUA_USEDEP}]
')
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | hermes-3.1.tar.gz | 62456 bytes | https://github.com/TACC/Hermes/archive/refs/tags/3.1.tar.gz |