portage-ng / portage / dev-util / premake / 5.0.0_beta7
emerge -vp

These are the packages that would be merged, in order:

Calculating dependencies ... done!
Dependency resolution took 1.59 s (backtrack: 0/20).

[ebuild  N     ] dev-libs/libzip-1.12.1:0/5::gentoo  USE="bzip2 ssl -gnutls -lzma -test -tools -zstd" 795 KiB
[ebuild  NS    ] dev-lang/lua-5.3.6-r102:5.3::gentoo [5.4.8:5.4::gentoo] USE="deprecated readline" 529 KiB
[ebuild  NS    ] dev-lang/lua-5.1.5-r200:5.1::gentoo [5.4.8:5.4::gentoo] USE="deprecated readline" 389 KiB
[ebuild  N     ] dev-lua/luasocket-3.1.0::gentoo  USE="-doc" LUA_TARGETS="lua5-1 lua5-3 -lua5-4 -luajit" 329 KiB
[ebuild  N     ] dev-util/premake-5.0.0_beta7:5::gentoo  LUA_SINGLE_TARGET="lua5-3" 8301 KiB

Total: 5 packages (3 new, 2 in new slots), Size of downloads: 10340 KiB

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-util/premake-5.0.0_beta7::gentoo[lua_single_target_lua5-3]
# required by =dev-util/premake-5.0.0_beta7 (argument)
>=dev-lua/luasocket-3.1.0 lua_targets_lua5-3

Wall time
2.579 s vs. 0.045 s for portage-ng