pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/lua-coxpcall Initial import of devel/lua-coxpcal...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e9d7244c3e8f
branches:  trunk
changeset: 348002:e9d7244c3e8f
user:      alnsn <alnsn%pkgsrc.org@localhost>
date:      Sun Jun 05 09:55:45 2016 +0000

description:
Initial import of devel/lua-coxpcall version 1.16.0.

Coxpcall encapsulates the protected calls with a coroutine based
loop, so errors can be dealed without the usual pcall/xpcall issues
with coroutines.

diffstat:

 devel/lua-coxpcall/DESCR    |   3 +++
 devel/lua-coxpcall/Makefile |  28 ++++++++++++++++++++++++++++
 devel/lua-coxpcall/PLIST    |   6 ++++++
 devel/lua-coxpcall/distinfo |   6 ++++++
 4 files changed, 43 insertions(+), 0 deletions(-)

diffs (59 lines):

diff -r 79b3022dd445 -r e9d7244c3e8f devel/lua-coxpcall/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-coxpcall/DESCR  Sun Jun 05 09:55:45 2016 +0000
@@ -0,0 +1,3 @@
+Coxpcall encapsulates the protected calls with a coroutine based
+loop, so errors can be dealed without the usual pcall/xpcall issues
+with coroutines.
diff -r 79b3022dd445 -r e9d7244c3e8f devel/lua-coxpcall/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-coxpcall/Makefile       Sun Jun 05 09:55:45 2016 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2016/06/05 09:55:45 alnsn Exp $
+
+DISTNAME=      coxpcall-1.16.0
+PKGNAME=       ${DISTNAME:S/coxpcall/${LUA_PKGPREFIX}-coxpcall/}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=keplerproject/}
+GITHUB_TAG=    v${PKGVERSION:S/./_/g}
+GITHUB_PROJECT=        ${DISTNAME:S/-${PKGVERSION_NOREV}//}
+
+MAINTAINER=    alnsn%NetBSD.org@localhost
+HOMEPAGE=      http://keplerproject.github.io/coxpcall
+COMMENT=       Module to encapsulate protected calls with a coroutine based loop
+LICENSE=       mit
+
+.include "../../mk/bsd.prefs.mk"
+
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR} ${LUA_DOCDIR}
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/src/coxpcall.lua \
+           ${DESTDIR}${PREFIX}/${LUA_LDIR}
+       ${INSTALL_DATA} ${WRKSRC}/doc/* \
+           ${DESTDIR}${PREFIX}/${LUA_DOCDIR}
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 79b3022dd445 -r e9d7244c3e8f devel/lua-coxpcall/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-coxpcall/PLIST  Sun Jun 05 09:55:45 2016 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2016/06/05 09:55:45 alnsn Exp $
+share/doc/lua53-coxpcall/coxpcall.png
+share/doc/lua53-coxpcall/doc.css
+share/doc/lua53-coxpcall/index.html
+share/doc/lua53-coxpcall/license.html
+${LUA_LDIR}/coxpcall.lua
diff -r 79b3022dd445 -r e9d7244c3e8f devel/lua-coxpcall/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-coxpcall/distinfo       Sun Jun 05 09:55:45 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2016/06/05 09:55:45 alnsn Exp $
+
+SHA1 (coxpcall-1.16.0.tar.gz) = 24ecd9ab381f29bce5624b3afa248b53b047bada
+RMD160 (coxpcall-1.16.0.tar.gz) = 743fbe084d40bab7a3d633ee05f70dc6109bdce0
+SHA512 (coxpcall-1.16.0.tar.gz) = 3c1661189cd583e181eb60abd6bf782c7c2d653ea487a8651601df205f52d71433d3f10c1f6a150ec09f44aae62b98265baadcb05bf7692487aeecab3527026f
+Size (coxpcall-1.16.0.tar.gz) = 20023 bytes



Home | Main Index | Thread Index | Old Index