Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-hslua-module-system for openSUSE:Factory checked in at 2025-08-17 14:50:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-hslua-module-system (Old) and /work/SRC/openSUSE:Factory/.ghc-hslua-module-system.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hslua-module-system" Sun Aug 17 14:50:04 2025 rev:17 rq:1299949 version:1.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-hslua-module-system/ghc-hslua-module-system.changes 2025-07-31 17:46:29.736889856 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-hslua-module-system.new.1085/ghc-hslua-module-system.changes 2025-08-17 14:50:22.716599800 +0200 @@ -1,0 +2,17 @@ +Sat Aug 9 18:32:48 UTC 2025 - Peter Simons <psim...@suse.com> + +- Update hslua-module-system to version 1.2.3. + ## hslua-module-system-1.2.2 + + Released 2025-08-09. + + - Fix compilation error. + + ## hslua-module-system-1.2.2 + + Released 2025-08-09. + + - Lists of file paths now have a "FilePath list" metatable that + add list methods. + +------------------------------------------------------------------- Old: ---- hslua-module-system-1.2.1.1.tar.gz New: ---- hslua-module-system-1.2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-hslua-module-system.spec ++++++ --- /var/tmp/diff_new_pack.0bukj8/_old 2025-08-17 14:50:23.592636117 +0200 +++ /var/tmp/diff_new_pack.0bukj8/_new 2025-08-17 14:50:23.596636283 +0200 @@ -20,7 +20,7 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.2.1.1 +Version: 1.2.3 Release: 0 Summary: Lua module wrapper around Haskell's System module License: MIT @@ -37,6 +37,8 @@ BuildRequires: ghc-exceptions-prof BuildRequires: ghc-hslua-core-devel BuildRequires: ghc-hslua-core-prof +BuildRequires: ghc-hslua-list-devel +BuildRequires: ghc-hslua-list-prof BuildRequires: ghc-hslua-marshalling-devel BuildRequires: ghc-hslua-marshalling-prof BuildRequires: ghc-hslua-packaging-devel ++++++ hslua-module-system-1.2.1.1.tar.gz -> hslua-module-system-1.2.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hslua-module-system-1.2.1.1/CHANGELOG.md new/hslua-module-system-1.2.3/CHANGELOG.md --- old/hslua-module-system-1.2.1.1/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 +++ new/hslua-module-system-1.2.3/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 @@ -2,6 +2,19 @@ `hslua-module-system` uses [PVP Versioning][]. +## hslua-module-system-1.2.2 + +Released 2025-08-09. + +- Fix compilation error. + +## hslua-module-system-1.2.2 + +Released 2025-08-09. + +- Lists of file paths now have a "FilePath list" metatable that + add list methods. + ## hslua-module-system-1.2.1.1 Released 2025-07-23. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hslua-module-system-1.2.1.1/hslua-module-system.cabal new/hslua-module-system-1.2.3/hslua-module-system.cabal --- old/hslua-module-system-1.2.1.1/hslua-module-system.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/hslua-module-system-1.2.3/hslua-module-system.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,6 +1,6 @@ cabal-version: 2.2 name: hslua-module-system -version: 1.2.1.1 +version: 1.2.3 synopsis: Lua module wrapper around Haskell's System module. description: Provides access to system information and @@ -63,6 +63,7 @@ build-depends: bytestring >= 0.10.2 && < 0.13 , directory >= 1.3.2 && < 1.4 , exceptions >= 0.8 && < 0.11 + , hslua-list >= 1.1 && < 1.2 , hslua-marshalling >= 2.1 && < 2.4 , process >= 1.2.3 && < 1.7 , temporary >= 1.2 && < 1.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hslua-module-system-1.2.1.1/src/HsLua/Module/System.hs new/hslua-module-system-1.2.3/src/HsLua/Module/System.hs --- old/hslua-module-system-1.2.1.1/src/HsLua/Module/System.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/hslua-module-system-1.2.3/src/HsLua/Module/System.hs 2001-09-09 03:46:40.000000000 +0200 @@ -52,6 +52,7 @@ import Data.Text (Text) import Data.Version (versionBranch) import HsLua.Core +import HsLua.List (newListMetatable) import HsLua.Marshalling import HsLua.Packaging import HsLua.Module.SystemUtils @@ -294,7 +295,7 @@ <#> opt (stringParam "directory" ("Path of the directory whose contents should be listed. " `T.append` "Defaults to `.`.")) - =#> functionResult (pushList pushString) "table" + =#> functionResult pushFilePathList "table" ("A table of all entries in `directory`, except for the " `T.append` "special entries (`.` and `..`).") #? "List the contents of a directory." @@ -564,7 +565,7 @@ <#> opt (filepathParam "filepath" ("relative path that is appended to the path; ignored " <> "if the result is a list of search paths.")) - =#> functionResult (either pushString (pushList pushString)) + =#> functionResult (either pushString pushFilePathList) "string|{string,...}" "Either a single file path, or a list of search paths." #? T.unlines @@ -649,3 +650,10 @@ (\s -> fromMaybe s $ T.stripPrefix "xdg" s) . T.filter (/= '_') . T.toLower + +-- | Pushes a list of file paths. +pushFilePathList :: LuaError e => Pusher e [FilePath] +pushFilePathList fps = do + pushList pushString fps + newListMetatable "FilePath list" (pure ()) + setmetatable (nth 2)