pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/lua-mediator: import lua52-mediator-1.1.2



Module Name:	pkgsrc-wip
Committed By:	Jonathan Buschmann <jonthn+pkgsrc%pinacea.com@localhost>
Pushed By:	jonthn
Date:		Sat Jan 4 00:02:48 2020 +0800
Changeset:	11b4ae20077b39fa258b3ae514b074c6f5c5d047

Added Files:
	lua-mediator/DESCR
	lua-mediator/Makefile
	lua-mediator/PLIST
	lua-mediator/distinfo

Log Message:
wip/lua-mediator: import lua52-mediator-1.1.2

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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=11b4ae20077b39fa258b3ae514b074c6f5c5d047

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lua-mediator/DESCR    |  4 ++++
 lua-mediator/Makefile | 24 ++++++++++++++++++++++++
 lua-mediator/PLIST    |  2 ++
 lua-mediator/distinfo |  6 ++++++
 4 files changed, 36 insertions(+)

diffs:
diff --git a/lua-mediator/DESCR b/lua-mediator/DESCR
new file mode 100644
index 0000000000..d2f7753a39
--- /dev/null
+++ b/lua-mediator/DESCR
@@ -0,0 +1,4 @@
+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.
diff --git a/lua-mediator/Makefile b/lua-mediator/Makefile
new file mode 100644
index 0000000000..f9279aa91b
--- /dev/null
+++ b/lua-mediator/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	lua-mediator-1.1.2
+PKGNAME=	${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Olivine-Labs/}
+GITHUB_PROJECT=	mediator_lua
+GITHUB_TAG=	v${PKGVERSION_NOREV}-0
+
+HOMEPAGE=	https://github.com/Olivine-Labs/mediator_lua
+COMMENT=	Mediator pattern implementation for pub-sub management
+LICENSE=	mit
+
+NO_BUILD=	yes
+
+INSTALLATION_DIRS+=	${LUA_LDIR}
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/src/mediator.lua \
+	                ${DESTDIR}${PREFIX}/${LUA_LDIR}/
+
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lua-mediator/PLIST b/lua-mediator/PLIST
new file mode 100644
index 0000000000..fb8a518a9a
--- /dev/null
+++ b/lua-mediator/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+${LUA_LDIR}/mediator.lua
diff --git a/lua-mediator/distinfo b/lua-mediator/distinfo
new file mode 100644
index 0000000000..340519bab8
--- /dev/null
+++ b/lua-mediator/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.3 2015/08/10 22:13:59 jonthn Exp $
+
+SHA1 (lua-mediator-1.1.2.tar.gz) = 81f905f939d8682be392a6b39ebf107513a5585a
+RMD160 (lua-mediator-1.1.2.tar.gz) = fac098d33519b30b89da373d8f80a658078e71c9
+SHA512 (lua-mediator-1.1.2.tar.gz) = 116d08a96fa0bd540ac4d3cac61a529a634cba3621c6f2e917b405462bbc0e2ab5b170dc6819e470105cdedf958a382945819eaff4affa63bc057824c163c8a0
+Size (lua-mediator-1.1.2.tar.gz) = 5809 bytes


Home | Main Index | Thread Index | Old Index