From 544b9ed7ac5a408aaa1de0505e801015b8797d3fdbc12661887f93dd1c8e249c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 29 Jun 2022 12:18:16 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-lua revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-lua?expand=0&rev=5 --- ghc-lua.changes | 47 +++++++++++++++++++++++++++++++++++++++++++++++ ghc-lua.spec | 4 ++-- lua-2.1.0.tar.gz | 3 --- lua-2.2.1.tar.gz | 3 +++ 4 files changed, 52 insertions(+), 5 deletions(-) delete mode 100644 lua-2.1.0.tar.gz create mode 100644 lua-2.2.1.tar.gz diff --git a/ghc-lua.changes b/ghc-lua.changes index 10fc340..b3b96b9 100644 --- a/ghc-lua.changes +++ b/ghc-lua.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Sun Jun 19 11:30:55 UTC 2022 - Peter Simons + +- Update lua to version 2.2.1. + ## lua-2.2.1 + + Released 2022-06-19. + + - Make string-peeking independent of the current foreign + encoding: always use char8 encoding to retrieve values of + `LUA_PRELOAD_TABLE` and `LUA_LOADED_TABLE`. + +------------------------------------------------------------------- +Sat Feb 19 14:38:08 UTC 2022 - Peter Simons + +- Update lua to version 2.2.0. + ## lua-2.2.0 + + Released 2022-02-19. + + - Update to Lua 5.4, include Lua 5.4.4 by default. + + - Removed `hardcode-reg-keys` flag: this is no longer required + for Lua 5.4. + + - Support arbitrary number of uservalues: Lua 5.4 allows an + arbitrary number of uservalues to be associated with userdata + objects. The functions `lua_newuserdata`, `lua_getuservalue`, + and `lua_setuservalue` are replaced with the new functions + `lua_newuserdatauv`, `lua_getiuservalue`, and + `lua_setiuservalue`, respectively. + + The function `hslua_newhsuserdata` is renamed to + `hslua_newhsuserdatauv` and takes the number of associated + uservalues as an additional argument. + + - Support for the new warnings system: export binding to + `lua_warning`. + + - The function `lua_gc` now takes three data arguments of type + CInt. This is a workaround for the fact that the C function + has become variadic. + + - The new patterns `LUA_GCGEN` and `LUA_GCINC` are usable with + `lua_gc` to switch to generational and incremental garbage + collection, respectively. + ------------------------------------------------------------------- Sat Jan 29 10:07:46 UTC 2022 - Peter Simons diff --git a/ghc-lua.spec b/ghc-lua.spec index ae67927..e906300 100644 --- a/ghc-lua.spec +++ b/ghc-lua.spec @@ -19,7 +19,7 @@ %global pkg_name lua %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.1.0 +Version: 2.2.1 Release: 0 Summary: Lua, an embeddable scripting language License: MIT @@ -37,7 +37,7 @@ BuildRequires: ghc-tasty-hunit-devel This package provides bindings and types to bridge Haskell and . -The full Lua interpreter version 5.3.6 is included. Alternatively, a +The full Lua interpreter version 5.4.4 is included. Alternatively, a system-wide Lua installation can be linked instead. %package devel diff --git a/lua-2.1.0.tar.gz b/lua-2.1.0.tar.gz deleted file mode 100644 index 3786f81..0000000 --- a/lua-2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2cfc72096767ad7911f98bc607566832f9fa46feca20a6c7924bace157e8cc01 -size 212562 diff --git a/lua-2.2.1.tar.gz b/lua-2.2.1.tar.gz new file mode 100644 index 0000000..81e3e2d --- /dev/null +++ b/lua-2.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85546fb11ee349d3182ce11bd3046e644c2964fcfc39c797c2cd1a12e588961f +size 260180