From 4958f0834531022025569f9dc1e70a3484c41007 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 24 Jun 2011 19:33:00 +0200 Subject: [PATCH] lua-subprocess: Added lua-subprocess 0.02 - Port to Lua of Python's subprocess module --- lua/lua-subprocess/destdir.patch | 27 +++++++++++++++++++++ lua/lua-subprocess/lua-subprocess.cache | 5 ++++ lua/lua-subprocess/lua-subprocess.conf | 18 ++++++++++++++ lua/lua-subprocess/lua-subprocess.desc | 32 +++++++++++++++++++++++++ 4 files changed, 82 insertions(+) create mode 100644 lua/lua-subprocess/destdir.patch create mode 100644 lua/lua-subprocess/lua-subprocess.cache create mode 100644 lua/lua-subprocess/lua-subprocess.conf create mode 100644 lua/lua-subprocess/lua-subprocess.desc diff --git a/lua/lua-subprocess/destdir.patch b/lua/lua-subprocess/destdir.patch new file mode 100644 index 000000000..b5d67ce96 --- /dev/null +++ b/lua/lua-subprocess/destdir.patch @@ -0,0 +1,27 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../lua-subprocess/destdir.patch +# Copyright (C) 2011 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 --- + +--- ./Makefile.orig 2011-06-24 19:21:40.000000000 +0200 ++++ ./Makefile 2011-06-24 19:23:28.000000000 +0200 +@@ -31,7 +31,7 @@ + + .PHONY: install + install: subprocess.so +- $(INSTALL) -m755 subprocess.so $(INSTALL_CMOD)/ ++ $(INSTALL) -m755 subprocess.so $(DESTDIR)$(INSTALL_CMOD)/ + + .PHONY: uninstall + uninstall: diff --git a/lua/lua-subprocess/lua-subprocess.cache b/lua/lua-subprocess/lua-subprocess.cache new file mode 100644 index 000000000..d83018baf --- /dev/null +++ b/lua/lua-subprocess/lua-subprocess.cache @@ -0,0 +1,5 @@ + +[TIMESTAMP] 1308936461 Fri Jun 24 19:27:41 2011 +[BUILDTIME] 0 (1) +[SIZE] 0.06 MB, 10 files + diff --git a/lua/lua-subprocess/lua-subprocess.conf b/lua/lua-subprocess/lua-subprocess.conf new file mode 100644 index 000000000..4a172e7a4 --- /dev/null +++ b/lua/lua-subprocess/lua-subprocess.conf @@ -0,0 +1,18 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../lua-subprocess/lua-subprocess.conf +# Copyright (C) 2011 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 --- + +hook_add postmake 5 'install_docs' +install_docs() { + cp -v *.txt *.html "$root$docdir/" +} diff --git a/lua/lua-subprocess/lua-subprocess.desc b/lua/lua-subprocess/lua-subprocess.desc new file mode 100644 index 000000000..c0547bf00 --- /dev/null +++ b/lua/lua-subprocess/lua-subprocess.desc @@ -0,0 +1,32 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../lua-subprocess/lua-subprocess.desc +[COPY] Copyright (C) 2011 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] Port to Lua of Python's subprocess module + +[T] `lua-subprocess` is a Lua module that allows you to create child processes and +[T] communicate with them. The API is based on Python's subprocess module. + +[U] http://luaforge.net/projects/subprocess/ + +[A] Joshua Phillips +[M] Alejandro Mery + +[C] extra/development + +[L] MIT +[S] Alpha +[V] 0.02 +[P] X -?---5---9 800.000 + +[D] 1181364610 lua-subprocess-0.02.tar.gz http://luaforge.net/frs/download.php/4618/