dev-lua/fifo: new package, add 0.2

dep for dev-lua/lua-http

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT
2024-12-10 15:26:08 +00:00
committed by Sam James
parent a060af9b1d
commit d778bd77f6
3 changed files with 55 additions and 0 deletions

1
dev-lua/fifo/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST fifo-0.2.tar.gz 5210 BLAKE2B 08d4df04b49d2edddddb966320baf751b873a1e833af9da83375e02e36e55f40a544de1fc287f994692bfcfd1494574908deb5f5a6a4adea309639174d6e246b SHA512 db2e0d2117c70ab0daa6e83141b95f198689e6568aab51e8300ca5577c1a517de249b9514ad8a3476239da3d9bceb699726ead913126817c0801f7ec5d419306

View File

@@ -0,0 +1,39 @@
# 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
local DOCS=( README.md LICENSE doc/index.md )
einstalldocs
}

15
dev-lua/fifo/metadata.xml Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>nicolas.parlant@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">daurnimator/fifo.lua</remote-id>
</upstream>
</pkgmetadata>