Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e8ee124717ad7c24ebfdf22a98c041f05cbd9137)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e8ee124717ad7c24ebfdf22a98c041f05cbd9137)
  • Date: Thu, 13 Mar 2008 10:38:50 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3 +++
python-pypi/lunatic-python/DEPENDS | 2 ++
python-pypi/lunatic-python/DETAILS | 16 ++++++++++++++++
python-pypi/lunatic-python/HISTORY | 2 ++
python-pypi/lunatic-python/INSTALL | 5 +++++
python-pypi/lunatic-python/PRE_BUILD | 7 +++++++
6 files changed, 35 insertions(+)

New commits:
commit e8ee124717ad7c24ebfdf22a98c041f05cbd9137
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

lunatic-python: new spell, two-way bridge between Python and Lua

diff --git a/ChangeLog b/ChangeLog
index 26f8e3d..1acf8d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2008-03-13 Vlad Glagolev <stealth AT sourcemage.org>
+ * python-pypi/lunatic-python: new spell, two-way bridge between
Python and Lua
+
2008-03-13 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* latex/ifxetex: new spell

diff --git a/python-pypi/lunatic-python/DEPENDS
b/python-pypi/lunatic-python/DEPENDS
new file mode 100755
index 0000000..4ef426e
--- /dev/null
+++ b/python-pypi/lunatic-python/DEPENDS
@@ -0,0 +1,2 @@
+depends python &&
+depends lua
diff --git a/python-pypi/lunatic-python/DETAILS
b/python-pypi/lunatic-python/DETAILS
new file mode 100755
index 0000000..c49ddd2
--- /dev/null
+++ b/python-pypi/lunatic-python/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=lunatic-python
+ VERSION=1.0
+ SOURCE=$SPELL-$VERSION.tar.bz2
+ SOURCE_URL[0]=http://labix.org/download/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:8b0c384b2e42becc7ed877f98e179160eb2cf0917ed7ba82d904142b144b46bcdf49a06063265ef2eafdc4fd496ff9d29aa55e5e4e6b336e9597616a3835ba00
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ WEB_SITE=http://labix.org/lunatic-python/
+ LICENSE[0]=LGPL
+ ENTERED=20080313
+ SHORT="two-way bridge between Python and Lua"
+cat << EOF
+Lunatic Python is a two-way bridge between Python and Lua, allowing these
+languages to intercommunicate. Being two-way means that it allows Lua inside
+Python, Python inside Lua, Lua inside Python inside Lua, Python inside Lua
+inside Python, and so on.
+EOF
diff --git a/python-pypi/lunatic-python/HISTORY
b/python-pypi/lunatic-python/HISTORY
new file mode 100644
index 0000000..8e5f456
--- /dev/null
+++ b/python-pypi/lunatic-python/HISTORY
@@ -0,0 +1,2 @@
+2008-03-13 Vlad Glagolev <stealth AT sourcemage.org>
+ * PRE_BUILD, DEPENDS, DETAILS, INSTALL: spell created
diff --git a/python-pypi/lunatic-python/INSTALL
b/python-pypi/lunatic-python/INSTALL
new file mode 100755
index 0000000..f6c0c63
--- /dev/null
+++ b/python-pypi/lunatic-python/INSTALL
@@ -0,0 +1,5 @@
+local LUA=$(installed_version lua)
+
+default_install &&
+
+install -m 644 python.lua $INSTALL_ROOT/usr/lib/lua/${LUA%.?}
diff --git a/python-pypi/lunatic-python/PRE_BUILD
b/python-pypi/lunatic-python/PRE_BUILD
new file mode 100755
index 0000000..412e8b0
--- /dev/null
+++ b/python-pypi/lunatic-python/PRE_BUILD
@@ -0,0 +1,7 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+
+sed -i "s:lualib:lua:" setup.py &&
+sed -i "s:loadlib:package.loadlib:g" python.lua &&
+
+sed -i "491,495d;s:luaopen_loadlib:luaL_openlibs:" src/luainpython.c



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e8ee124717ad7c24ebfdf22a98c041f05cbd9137), Vlad Glagolev, 03/13/2008

Archive powered by MHonArc 2.6.24.

Top of Page