summaryrefslogtreecommitdiff
path: root/dev-lua/lua-argparse
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-lua/lua-argparse
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-lua/lua-argparse')
-rw-r--r--dev-lua/lua-argparse/Manifest1
-rw-r--r--dev-lua/lua-argparse/lua-argparse-0.7.1-r1.ebuild32
-rw-r--r--dev-lua/lua-argparse/metadata.xml19
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-lua/lua-argparse/Manifest b/dev-lua/lua-argparse/Manifest
new file mode 100644
index 000000000000..a1d43f077e56
--- /dev/null
+++ b/dev-lua/lua-argparse/Manifest
@@ -0,0 +1 @@
+DIST lua-argparse-0.7.1.tar.gz 43778 BLAKE2B 6bc6a3dee3fd98cb8c00fa3ccb3ae9ffdb9f2707d80dd7f5717e1265430731957b756672ed4acd9222c686108f8a8b8c71c71285c2540e818396faf302c1d287 SHA512 f192d0c591516a74408a19c0bbf34233be180f63794211a951d19fc8d981749bc71eace16a4680c8f2bb302ab48958c6a9ffc84022a1754275fc1f9113ae32b0
diff --git a/dev-lua/lua-argparse/lua-argparse-0.7.1-r1.ebuild b/dev-lua/lua-argparse/lua-argparse-0.7.1-r1.ebuild
new file mode 100644
index 000000000000..93efd7647e96
--- /dev/null
+++ b/dev-lua/lua-argparse/lua-argparse-0.7.1-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1,3,4} luajit )
+
+inherit lua
+
+DESCRIPTION="Feature-rich command line parser for Lua"
+HOMEPAGE="https://github.com/luarocks/argparse"
+SRC_URI="https://github.com/luarocks/${PN/lua-/}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN//lua-/}-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="${LUA_DEPS}"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+lua_src_install() {
+ insinto "$(lua_get_lmod_dir)"
+ doins src/argparse.lua
+}
+
+src_install() {
+ default
+ lua_foreach_impl lua_src_install
+}
diff --git a/dev-lua/lua-argparse/metadata.xml b/dev-lua/lua-argparse/metadata.xml
new file mode 100644
index 000000000000..372b08a58350
--- /dev/null
+++ b/dev-lua/lua-argparse/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>conikost@gentoo.org</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <longdescription lang="en">
+ Argparse is a feature-rich command line parser for Lua inspired by argparse for Python.
+
+ Argparse supports positional arguments, options, flags, optional arguments, subcommands
+ and more. Argparse automatically generates usage, help and error messages.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">luarocks/argparse</remote-id>
+ <remote-id type="github">mpeterv/argparse</remote-id>
+ </upstream>
+</pkgmetadata>