commit: 37e6ad58b0f66a576bec1f7b183aeca036bc050f
Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Mon Dec 2 13:46:58 2024 +0000
Commit: Nicolas PARLANT <ppn <AT> parhuet <DOT> fr>
CommitDate: Mon Dec 2 15:11:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37e6ad58
dev-lua/fifo: new package, add 0.2
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
dev-lua/fifo/Manifest | 1 +
dev-lua/fifo/fifo-0.2.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
dev-lua/fifo/metadata.xml | 11 +++++++++++
3 files changed, 50 insertions(+)
diff --git a/dev-lua/fifo/Manifest b/dev-lua/fifo/Manifest
new file mode 100644
index 000000000..0a56c4fa3
--- /dev/null
+++ b/dev-lua/fifo/Manifest
@@ -0,0 +1 @@
+DIST fifo-0.2.tar.gz 5210 BLAKE2B
08d4df04b49d2edddddb966320baf751b873a1e833af9da83375e02e36e55f40a544de1fc287f994692bfcfd1494574908deb5f5a6a4adea309639174d6e246b
SHA512
db2e0d2117c70ab0daa6e83141b95f198689e6568aab51e8300ca5577c1a517de249b9514ad8a3476239da3d9bceb699726ead913126817c0801f7ec5d419306
diff --git a/dev-lua/fifo/fifo-0.2.ebuild b/dev-lua/fifo/fifo-0.2.ebuild
new file mode 100644
index 000000000..af574a13c
--- /dev/null
+++ b/dev-lua/fifo/fifo-0.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua
+
+MY_PN="${PN}.lua"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Fifo library for Lua"
+HOMEPAGE="https://github.com/daurnimator/fifo.lua"
+SRC_URI="https://github.com/daurnimator/${MY_PN}/archive/${PV}.tar.gz ->
${P}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+DEPEND="${LUA_DEPS}"
+RDEPEND="${DEPEND}"
+
+lua_enable_tests busted
+
+lua_src_install() {
+ insinto $(lua_get_lmod_dir)
+ doins ${PN}.lua
+}
+
+src_install() {
+ lua_foreach_impl lua_src_install
+ einstalldocs
+}
diff --git a/dev-lua/fifo/metadata.xml b/dev-lua/fifo/metadata.xml
new file mode 100644
index 000000000..97eea74e7
--- /dev/null
+++ b/dev-lua/fifo/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>Nicolas PARLANT</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">daurnimator/fifo.lua</remote-id>
+ </upstream>
+</pkgmetadata>