./devel/py-lupa, Python wrapper around Lua and LuaJIT

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.2, Package name: py312-lupa-2.2, Maintainer: pkgsrc-users

Lupa integrates the runtimes of Lua or LuaJIT2 into CPython. It is
a partial rewrite of LunaticPython in Cython with some additional
features such as proper coroutine support.


Required to run:
[devel/py-cython] [lang/python27] [lang/lua52]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 6980.427 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-06-03 09:47:27 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-lupa: updated to 2.2

2.2 (2024-06-02)

A new method LuaRuntime.gccollect() was added to trigger the Lua garbage collector.
A new context manager LuaRuntime.nogc() was added to temporarily disable the Lua \ 
garbage collector.
Freeing Python objects from a thread while running Lua code could run into a \ 
deadlock.
The bundled LuaJIT versions were updated to the latest git branches.
Built with Cython 3.0.10.

2.1 (2024-03-24)

* The table_from() method gained a new keyword argument recursive=False. If \ 
true, Python data structures will be recursively mapped to Lua tables, taking \ 
care of loops and duplicates via identity de-duplication.
* The LuaRuntime methods "eval", "execute" and \ 
"compile" gained new keyword options mode and name that allow \ 
constraining the input type and modifying the (chunk) name shown in error \ 
messages, following similar arguments in the Lua load() function. See \ 
https://www.lua.org/manual/5.4/manual.html#pdf-load
* Loading Lua modules did not work for the version specific Lua modules \ 
introduced in Lupa 2.0. It turned out that it can only be enabled for one of \ 
them in a given Python run, so it is now left to users to enable it explicitly \ 
at need. (original patch by Richard Connon)
* The bundled Lua 5.1 was updated to 5.1.5 and Lua 5.2 to 5.2.4. (patch by xxyzz)
The bundled Lua 5.4 was updated to 5.4.6.
The bundled LuaJIT versions were updated to the latest git branches.
Built with Cython 3.0.9 for improved support of Python 3.12/13.

2.0 (2023-04-03)

* Lua stack traces in Python exception messages are now reversed to match the \ 
order of Python stack traces.
* Lupa now ships separate extension modules built with Lua 5.3, Lua 5.4, LuaJIT \ 
2.0 and LuaJIT 2.1 beta. Note that this is build specific and may depend on the \ 
platform. A normal Python import cascade can be used.
* A new option max_memory allows to limit the memory usage of Lua code. (patch \ 
by Leo Developer)
* Python references in Lua are now more safely reference counted to prevent \ 
garbage collection glitches. (patch by Guilherme Dantas)
* Lua integers in Lua 5.3+ are converted from and to Python integers. (patch by \ 
Guilherme Dantas)
* The python.enumerate() function now returns indices as integers if supported \ 
by Lua. (patch by Guilherme Dantas)
* The Lua integer limits can be read from the module as LUA_MAXINTEGER and \ 
LUA_MININTEGER. (patch by Guilherme Dantas)
* Failures while calling the __index method in Lua during a table index lookup \ 
from Python could crash Python. (patch by Guilherme Dantas)
* Passing None as a dict key into table_from() crashed. (patch by Leo Developer)
* A new function python.args(*args, **kwargs) was added to help with building \ 
Python argument tuples and keyword argument dicts for Python function calls from \ 
Lua code.
* Tables that are not sequences raise IndexError when unpacking them. \ 
Previously, non-sequential items were simply ignored.
* Resolve some C compiler warnings about signed/unsigned comparisons. (patch by \ 
Guilherme Dantas)
Built with Cython 0.29.34.
   2023-11-14 09:23:05 by Jonathan Perkin | Files touched by this commit (1)
Log message:
py-lupa: cython does not support python27.
   2022-01-10 19:39:00 by Thomas Klausner | Files touched by this commit (3)
Log message:
py-lupa: convert to egg.mk

Remove TODO
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-07-13 21:45:45 by Alexander Nasonov | Files touched by this commit (8)
Log message:
Reset maintainership for all (no longer) mine packages
   2019-03-13 00:57:50 by Alexander Nasonov | Files touched by this commit (2)
Log message:
Update devel/py-lupa to version 1.8.

1.8 (2019-02-01)
----------------

* GH#107: Fix a deprecated import in Py3.

* Built with Cython 0.29.3 for better Py3.7 compatibility.