Install this version:
emerge -a =dev-lua/croissant-0.0.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-lua/croissant-0.0.1
Or alternatively:
emerge --autounmask-write -a =dev-lua/croissant-0.0.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.0.1 | 8 | ~amd64 | 0 |
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# sirocco dependency does not yet support newer Lua implementations
LUA_COMPAT=( lua5-1 luajit )
inherit lua
DESCRIPTION="A Lua REPL and debugger "
HOMEPAGE="https://github.com/giann/croissant"
EGIT_COMMIT="dc633a0ac3b5bcab9b72b660e926af80944125b3"
SRC_URI="https://github.com/giann/croissant/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RDEPEND="
dev-lua/lua-term[${LUA_USEDEP}]
dev-lua/sirocco[${LUA_USEDEP}]
dev-lua/hump[${LUA_USEDEP}]
dev-lua/lpeg[${LUA_USEDEP}]
dev-lua/lua-argparse[${LUA_USEDEP}]
dev-lua/compat53[${LUA_USEDEP}]
${LUA_DEPS}
"
DEPEND="${RDEPEND}"
lua_src_install() {
insinto "$(lua_get_lmod_dir)/${PN}"
doins croissant/*.lua
}
src_install() {
lua_foreach_impl lua_src_install
dobin bin/croissant
dodoc README.md
if use examples; then
docinto examples
dodoc debugtest.lua
fi
}
Manage flags for this package:
euse -i <flag> -p dev-lua/croissant |
euse -E <flag> -p dev-lua/croissant |
euse -D <flag> -p dev-lua/croissant
dev-lua/lua-term[] dev-lua/sirocco[] dev-lua/hump[] dev-lua/lpeg[] dev-lua/lua-argparse[] dev-lua/compat53[]
dev-lua/lua-term[] dev-lua/sirocco[] dev-lua/hump[] dev-lua/lpeg[] dev-lua/lua-argparse[] dev-lua/compat53[]
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | croissant-0.0.1.tar.gz | 374425 bytes | https://github.com/giann/croissant/archive/dc633a0ac3b5bcab9b72b660e926af80944125b3.tar.gz |