summaryrefslogtreecommitdiff
path: root/dev-lua/lpeg-patterns
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-12 02:01:24 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-12 02:01:24 +0000
commit39c32f4d5dca9f6293fccb69e9d50baf494c8de4 (patch)
treeec772fdf23a7279a60e9063b01c2dc909741a197 /dev-lua/lpeg-patterns
parent494ca58c9f5243dd4b56557aa8c41bce76e95ec3 (diff)
gentoo auto-resync : 12:12:2024 - 02:01:23
Diffstat (limited to 'dev-lua/lpeg-patterns')
-rw-r--r--dev-lua/lpeg-patterns/Manifest3
-rw-r--r--dev-lua/lpeg-patterns/lpeg-patterns-0.5.ebuild41
-rw-r--r--dev-lua/lpeg-patterns/metadata.xml15
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-lua/lpeg-patterns/Manifest b/dev-lua/lpeg-patterns/Manifest
new file mode 100644
index 000000000000..4d9a56954b32
--- /dev/null
+++ b/dev-lua/lpeg-patterns/Manifest
@@ -0,0 +1,3 @@
+DIST lpeg-patterns-0.5.tar.gz 26183 BLAKE2B 005ca2d99710f4b3c6eddb6d07f89d65dd0450ca522fac9717318388d86b24b57b7a4460e6a10f35b0c1cbc7446f21ff0b4438e0a41ae7f5fdbcc839eeac1025 SHA512 74e36083872cfa7ff8bb03927d075680b490b4d7ba55cee0cad7e1e27e6744809b05286a80967a19cd79f526168f53d362efa2b87c318efad726fa1ba3708f80
+EBUILD lpeg-patterns-0.5.ebuild 736 BLAKE2B 2210480d943ffe752bc564c4f1ac307238fc75738a9039e35c1e2b8326efc867347fca2e0897c6d6a28217fd152f7600a8f37c8c5ed7bcf3bd9cb98ae51d261c SHA512 99eaddbfc3bd203c4cae6d92d7626c3ab27730fd9abaf642d7e047a16bb6d00ffe3ab1d3ee722e91c0a59d667e1a8f7896084ceaeb358e74e0655f402751deeb
+MISC metadata.xml 481 BLAKE2B ff4f885b9f058d51647c542dddff92d7c4c416ab66dc6113838e0eb115273ff924bfdf5bfe295f28f5a701bab595396d6ad5f7f54a580e2fc9c8ffd50fa6aac8 SHA512 2a65d5db922215e69c2f661e2dd5ca196d2acb1d0d2a287280bd5187e6159567a83cde0d4260bacc55535d2ffc49cbefebf6289fab0123e8d2fa8562cf456f60
diff --git a/dev-lua/lpeg-patterns/lpeg-patterns-0.5.ebuild b/dev-lua/lpeg-patterns/lpeg-patterns-0.5.ebuild
new file mode 100644
index 000000000000..7e137fb913be
--- /dev/null
+++ b/dev-lua/lpeg-patterns/lpeg-patterns-0.5.ebuild
@@ -0,0 +1,41 @@
+# 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/-/_}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A collection of LPEG patterns"
+HOMEPAGE="https://github.com/daurnimator/lpeg_patterns"
+SRC_URI="https://github.com/daurnimator/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+DEPEND="
+ ${LUA_DEPS}
+ dev-lua/lpeg[${LUA_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+
+lua_enable_tests busted
+
+lua_src_install() {
+ insinto $(lua_get_lmod_dir)/${MY_PN}/
+ doins ${MY_PN}/*.lua
+}
+
+src_install() {
+ lua_foreach_impl lua_src_install
+ einstalldocs
+}
diff --git a/dev-lua/lpeg-patterns/metadata.xml b/dev-lua/lpeg-patterns/metadata.xml
new file mode 100644
index 000000000000..55cd9248cfe0
--- /dev/null
+++ b/dev-lua/lpeg-patterns/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/lpeg_patterns</remote-id>
+ </upstream>
+</pkgmetadata>