* [gentoo-commits] repo/gentoo:master commit in: dev-lua/fifo/
@ 2024-12-11 2:13 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2024-12-11 2:13 UTC (permalink / raw
To: gentoo-commits
commit: d778bd77f6e01db844a701c78a8d2a45cd91b7dc
Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Tue Dec 10 15:26:08 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 11 02:09:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d778bd77
dev-lua/fifo: new package, add 0.2
dep for dev-lua/lua-http
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lua/fifo/Manifest | 1 +
dev-lua/fifo/fifo-0.2.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
dev-lua/fifo/metadata.xml | 15 +++++++++++++++
3 files changed, 55 insertions(+)
diff --git a/dev-lua/fifo/Manifest b/dev-lua/fifo/Manifest
new file mode 100644
index 000000000000..0a56c4fa36d0
--- /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 000000000000..630f5882c32a
--- /dev/null
+++ b/dev-lua/fifo/fifo-0.2.ebuild
@@ -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
+}
diff --git a/dev-lua/fifo/metadata.xml b/dev-lua/fifo/metadata.xml
new file mode 100644
index 000000000000..66c949b22e2a
--- /dev/null
+++ b/dev-lua/fifo/metadata.xml
@@ -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>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-12-11 2:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-11 2:13 [gentoo-commits] repo/gentoo:master commit in: dev-lua/fifo/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox