diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-lua/mediator_lua | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-lua/mediator_lua')
| -rw-r--r-- | dev-lua/mediator_lua/Manifest | 1 | ||||
| -rw-r--r-- | dev-lua/mediator_lua/mediator_lua-1.1.2_p0-r1.ebuild | 50 | ||||
| -rw-r--r-- | dev-lua/mediator_lua/metadata.xml | 15 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-lua/mediator_lua/Manifest b/dev-lua/mediator_lua/Manifest new file mode 100644 index 000000000000..fc3adf6ff615 --- /dev/null +++ b/dev-lua/mediator_lua/Manifest @@ -0,0 +1 @@ +DIST mediator_lua-1.1.2_p0.tar.gz 5809 BLAKE2B a14cbe043cef72cdff35f92c5e6e420e94ab9930235ef71c31749f6371ef3a9a55c104ebe0a82ad86a95ddb5913ebe69f600e16393b6c5ff532802ace7bd7597 SHA512 116d08a96fa0bd540ac4d3cac61a529a634cba3621c6f2e917b405462bbc0e2ab5b170dc6819e470105cdedf958a382945819eaff4affa63bc057824c163c8a0 diff --git a/dev-lua/mediator_lua/mediator_lua-1.1.2_p0-r1.ebuild b/dev-lua/mediator_lua/mediator_lua-1.1.2_p0-r1.ebuild new file mode 100644 index 000000000000..0a30a921a90f --- /dev/null +++ b/dev-lua/mediator_lua/mediator_lua-1.1.2_p0-r1.ebuild @@ -0,0 +1,50 @@ +# 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 ) +MY_PV="${PV/_p/-}" + +inherit lua + +DESCRIPTION="Mediator pattern implementation for pub-sub management" +HOMEPAGE="http://olivinelabs.com/mediator_lua/" +SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND="${LUA_DEPS}" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-lua/busted[${LUA_USEDEP}] + dev-lua/lua_cliargs[${LUA_USEDEP}] + ${RDEPEND} + ) +" + +lua_src_test() { + busted --lua=${ELUA} || die +} + +src_test() { + lua_foreach_impl lua_src_test +} + +lua_src_install() { + insinto $(lua_get_lmod_dir) + doins src/mediator.lua +} + +src_install() { + lua_foreach_impl lua_src_install + + einstalldocs +} diff --git a/dev-lua/mediator_lua/metadata.xml b/dev-lua/mediator_lua/metadata.xml new file mode 100644 index 000000000000..9e8acc1bdfc8 --- /dev/null +++ b/dev-lua/mediator_lua/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <longdescription> + mediator_lua allows you to subscribe and publish to a central object so + you can decouple function calls in your application. It's as simple as + mediator:subscribe("channel", function). Supports namespacing, predicates, + and more. + </longdescription> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
