mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-lua/croissant: new package, add 0.0.1
Signed-off-by: Suleyman Farajli <suleyman@farajli.net>
This commit is contained in:
1
dev-lua/croissant/Manifest
Normal file
1
dev-lua/croissant/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST croissant-0.0.1.tar.gz 374425 BLAKE2B 54f6bd31d703b6a8383afcfe2d22b84c42b0543149df73c7e8e25d0fd97a59988867f0bd38d38aeed65fb222c31ac6a5a757fbb51041b3f288c6b0e193181ce1 SHA512 98fee3c1df77795c166f96661a7f9547fa7012665a134a131c8445f83606fa2c84d93e0eacb7c887d439ddd825734001a8218f2c9bbd0dd327f46ffd1596291e
|
||||
50
dev-lua/croissant/croissant-0.0.1.ebuild
Normal file
50
dev-lua/croissant/croissant-0.0.1.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# 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
|
||||
}
|
||||
11
dev-lua/croissant/metadata.xml
Normal file
11
dev-lua/croissant/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>suleyman@farajli.net</email>
|
||||
<name>Suleyman Farajli</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">giann/croissant</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user