Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel devel: Add lua-mediator
details: https://anonhg.NetBSD.org/pkgsrc/rev/080bae07852e
branches: trunk
changeset: 435483:080bae07852e
user: nia <nia%pkgsrc.org@localhost>
date: Wed Jul 08 12:52:07 2020 +0000
description:
devel: Add lua-mediator
mediator_lua is a simple class that allows you to listen to events by
subscribing to and sending data to channels. Its purpose is to help you
decouple code where you might otherwise have functions calling functions
calling functions.
diffstat:
devel/Makefile | 3 ++-
devel/lua-mediator/DESCR | 4 ++++
devel/lua-mediator/Makefile | 25 +++++++++++++++++++++++++
devel/lua-mediator/PLIST | 2 ++
devel/lua-mediator/distinfo | 6 ++++++
5 files changed, 39 insertions(+), 1 deletions(-)
diffs (70 lines):
diff -r fafe7723c8ff -r 080bae07852e devel/Makefile
--- a/devel/Makefile Wed Jul 08 12:44:04 2020 +0000
+++ b/devel/Makefile Wed Jul 08 12:52:07 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3158 2020/07/08 12:15:08 nia Exp $
+# $NetBSD: Makefile,v 1.3159 2020/07/08 12:52:07 nia Exp $
#
COMMENT= Development utilities
@@ -865,6 +865,7 @@
SUBDIR+= lua-lrexlib-pcre
SUBDIR+= lua-lrexlib-posix
SUBDIR+= lua-luv
+SUBDIR+= lua-mediator
SUBDIR+= lua-mode
SUBDIR+= lua-penlight
SUBDIR+= lua-posix
diff -r fafe7723c8ff -r 080bae07852e devel/lua-mediator/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-mediator/DESCR Wed Jul 08 12:52:07 2020 +0000
@@ -0,0 +1,4 @@
+mediator_lua is a simple class that allows you to listen to events by
+subscribing to and sending data to channels. Its purpose is to help you
+decouple code where you might otherwise have functions calling functions
+calling functions.
diff -r fafe7723c8ff -r 080bae07852e devel/lua-mediator/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-mediator/Makefile Wed Jul 08 12:52:07 2020 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2020/07/08 12:52:07 nia Exp $
+
+DISTNAME= mediator_lua-1.1.2
+PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/_lua//1}
+CATEGORIES= devel lua
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Olivine-Labs/}
+GITHUB_PROJECT= mediator_lua
+GITHUB_TAG= v${PKGVERSION_NOREV}-0
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://olivinelabs.com/mediator_lua/
+COMMENT= Mediator pattern implementation for pub-sub management
+LICENSE= mit
+
+NO_BUILD= yes
+USE_LANGUAGES= # none
+
+INSTALLATION_DIRS+= ${LUA_LDIR}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/src/mediator.lua \
+ ${DESTDIR}${PREFIX}/${LUA_LDIR}/mediator.lua
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r fafe7723c8ff -r 080bae07852e devel/lua-mediator/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-mediator/PLIST Wed Jul 08 12:52:07 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/08 12:52:07 nia Exp $
+${LUA_LDIR}/mediator.lua
diff -r fafe7723c8ff -r 080bae07852e devel/lua-mediator/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-mediator/distinfo Wed Jul 08 12:52:07 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/08 12:52:07 nia Exp $
+
+SHA1 (mediator_lua-1.1.2.tar.gz) = 81f905f939d8682be392a6b39ebf107513a5585a
+RMD160 (mediator_lua-1.1.2.tar.gz) = fac098d33519b30b89da373d8f80a658078e71c9
+SHA512 (mediator_lua-1.1.2.tar.gz) = 116d08a96fa0bd540ac4d3cac61a529a634cba3621c6f2e917b405462bbc0e2ab5b170dc6819e470105cdedf958a382945819eaff4affa63bc057824c163c8a0
+Size (mediator_lua-1.1.2.tar.gz) = 5809 bytes
Home |
Main Index |
Thread Index |
Old Index