Browse Source

lua-coxpcall: Added lua-coxpcall 1.13.0 - Coroutine-safe xpcall and pcall versions for LUA

cross
Alejandro Mery 16 years ago
parent
commit
9c33366a7f
  1. 37
      lua/lua-coxpcall/hotfix.patch
  2. 20
      lua/lua-coxpcall/lua-coxpcall.cache
  3. 18
      lua/lua-coxpcall/lua-coxpcall.conf
  4. 39
      lua/lua-coxpcall/lua-coxpcall.desc

37
lua/lua-coxpcall/hotfix.patch

@ -0,0 +1,37 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../lua-coxpcall/hotfix.patch
# Copyright (C) 2009 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./configure.orig 2009-05-14 12:58:47.000000000 +0000
+++ ./configure 2009-05-14 12:59:07.000000000 +0000
@@ -1,6 +1,6 @@
#!/bin/bash
-if [ $1 == "--help" ]; then
+if [ "$1" == "--help" ]; then
echo "Usage: configure lua51"
echo "where lua51 is the name of your Lua executable"
exit 0
@@ -8,8 +8,8 @@
echo "Trying to find where you installed Lua..."
-if [ $1 != "" ]; then
- lua=$1
+if [ "$1" != "" ]; then
+ lua="$1"
else
lua="lua51"
fi

20
lua/lua-coxpcall/lua-coxpcall.cache

@ -0,0 +1,20 @@
[TIMESTAMP] 1242306370 Thu May 14 13:06:10 2009
[BUILDTIME] 0 (5)
[SIZE] 0.02 MB, 8 files
[DEP] bash
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] fhs
[DEP] findutils
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] lua
[DEP] make
[DEP] patch
[DEP] sed
[DEP] sysfiles
[DEP] tar

18
lua/lua-coxpcall/lua-coxpcall.conf

@ -0,0 +1,18 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../lua-coxpcall/lua-coxpcall.conf
# Copyright (C) 2009 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
pkgprefix -t lua
cleanconfopt=0
confopt="$root$(pkgprefix bindir lua)/lua"

39
lua/lua-coxpcall/lua-coxpcall.desc

@ -0,0 +1,39 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../lua-coxpcall/lua-coxpcall.desc
[COPY] Copyright (C) 2009 The OpenSDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] Coroutine-safe xpcall and pcall versions for LUA
[T] Coxpcall encapsulates the protected calls with a coroutine based loop,
[T] so errors can be dealed without the usual pcall/xpcall issues with
[T] coroutines.
[T]
[T] Using Coxpcall usually consists in simply loading the module and then
[T] replacing Lua pcall and xpcall by copcall and coxpcall.
[U] http://coxpcall.luaforge.net/
[A] Roberto Ierusalimschy
[A] André Carregal
[M] Alejandro Mery <amery@opensde.net>
[C] extra/development
[F] LUA
[L] OpenSource
[S] Stable
[V] 1.13.0
[P] X -?---5---9 200.400
[D] 1637658151 coxpcall-1.13.0.tar.gz http://luaforge.net/frs/download.php/3406/
Loading…
Cancel
Save