commit:     5b20920d87eb91e08ccd49e8947d3a4e6c5d2af4
Author:     Suleyman Farajli <suleyman <AT> farajli <DOT> net>
AuthorDate: Mon Jul  7 17:06:36 2025 +0000
Commit:     Suleyman Farajli <suleyman <AT> farajli <DOT> net>
CommitDate: Mon Jul  7 17:06:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b20920d

dev-lua/croissant: new package, add 0.0.1

Signed-off-by: Suleyman Farajli <suleyman <AT> farajli.net>

 dev-lua/croissant/Manifest               |  1 +
 dev-lua/croissant/croissant-0.0.1.ebuild | 50 ++++++++++++++++++++++++++++++++
 dev-lua/croissant/metadata.xml           | 11 +++++++
 3 files changed, 62 insertions(+)

diff --git a/dev-lua/croissant/Manifest b/dev-lua/croissant/Manifest
new file mode 100644
index 0000000000..14f767cbfb
--- /dev/null
+++ b/dev-lua/croissant/Manifest
@@ -0,0 +1 @@
+DIST croissant-0.0.1.tar.gz 374425 BLAKE2B 
54f6bd31d703b6a8383afcfe2d22b84c42b0543149df73c7e8e25d0fd97a59988867f0bd38d38aeed65fb222c31ac6a5a757fbb51041b3f288c6b0e193181ce1
 SHA512 
98fee3c1df77795c166f96661a7f9547fa7012665a134a131c8445f83606fa2c84d93e0eacb7c887d439ddd825734001a8218f2c9bbd0dd327f46ffd1596291e

diff --git a/dev-lua/croissant/croissant-0.0.1.ebuild 
b/dev-lua/croissant/croissant-0.0.1.ebuild
new file mode 100644
index 0000000000..17c486d587
--- /dev/null
+++ b/dev-lua/croissant/croissant-0.0.1.ebuild
@@ -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
+}

diff --git a/dev-lua/croissant/metadata.xml b/dev-lua/croissant/metadata.xml
new file mode 100644
index 0000000000..a97d7c84bd
--- /dev/null
+++ b/dev-lua/croissant/metadata.xml
@@ -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>[email protected]</email>
+               <name>Suleyman Farajli</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">giann/croissant</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to