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 2023-04-14 13:13:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hslua-module-system (Old)
and /work/SRC/openSUSE:Factory/.ghc-hslua-module-system.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hslua-module-system"
Fri Apr 14 13:13:03 2023 rev:11 rq:1079188 version:1.1.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-hslua-module-system/ghc-hslua-module-system.changes
2023-04-04 21:20:46.049314927 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-hslua-module-system.new.19717/ghc-hslua-module-system.changes
2023-04-14 13:13:14.763621480 +0200
@@ -1,0 +2,15 @@
+Thu Apr 13 16:21:28 UTC 2023 - Peter Simons <[email protected]>
+
+- Update hslua-module-system to version 1.1.0.1.
+ ## hslua-module-system-1.1.0.1
+
+ Released 2023-03-26.
+
+ - Improve doc strings.
+
+ ## hslua-module-system-1.1.0
+
+ - Update to hslua-2.3; this includes the addition of type
+ initializers to the module and type specifiers to the fields.
+
+-------------------------------------------------------------------
Old:
----
hslua-module-system-1.0.3.tar.gz
New:
----
hslua-module-system-1.1.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hslua-module-system.spec ++++++
--- /var/tmp/diff_new_pack.GpKV1S/_old 2023-04-14 13:13:15.211624042 +0200
+++ /var/tmp/diff_new_pack.GpKV1S/_new 2023-04-14 13:13:15.215624065 +0200
@@ -20,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.0.3
+Version: 1.1.0.1
Release: 0
Summary: Lua module wrapper around Haskell's System module
License: MIT
++++++ hslua-module-system-1.0.3.tar.gz -> hslua-module-system-1.1.0.1.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-system-1.0.3/CHANGELOG.md
new/hslua-module-system-1.1.0.1/CHANGELOG.md
--- old/hslua-module-system-1.0.3/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
+++ new/hslua-module-system-1.1.0.1/CHANGELOG.md 2001-09-09
03:46:40.000000000 +0200
@@ -2,6 +2,17 @@
`hslua-module-system` uses [PVP Versioning][].
+## hslua-module-system-1.1.0.1
+
+Released 2023-03-26.
+
+- Improve doc strings.
+
+## hslua-module-system-1.1.0
+
+- Update to hslua-2.3; this includes the addition of type
+ initializers to the module and type specifiers to the fields.
+
## hslua-module-system-1.0.3
Released 2023-02-14.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-system-1.0.3/LICENSE
new/hslua-module-system-1.1.0.1/LICENSE
--- old/hslua-module-system-1.0.3/LICENSE 2001-09-09 03:46:40.000000000
+0200
+++ new/hslua-module-system-1.1.0.1/LICENSE 2001-09-09 03:46:40.000000000
+0200
@@ -1,4 +1,4 @@
-Copyright (c) 2019-2022 Albert Krewinkel
+Copyright (c) 2019-2023 Albert Krewinkel
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-system-1.0.3/hslua-module-system.cabal
new/hslua-module-system-1.1.0.1/hslua-module-system.cabal
--- old/hslua-module-system-1.0.3/hslua-module-system.cabal 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-system-1.1.0.1/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.0.3
+version: 1.1.0.1
synopsis: Lua module wrapper around Haskell's System module.
description: Provides access to system information and
@@ -14,8 +14,8 @@
license: MIT
license-file: LICENSE
author: Albert Krewinkel
-maintainer: [email protected]
-copyright: © 2019-2022 Albert Krewinkel <[email protected]>
+maintainer: [email protected]
+copyright: © 2019-2023 Albert Krewinkel <[email protected]>
category: Foreign
extra-source-files: CHANGELOG.md
, test/test-system.lua
@@ -34,9 +34,9 @@
common common-options
default-language: Haskell2010
- build-depends: base >= 4.8 && < 5
+ build-depends: base >= 4.11 && < 5
, hslua-core >= 2.1 && < 2.4
- , hslua-packaging >= 2.1 && < 2.3
+ , hslua-packaging >= 2.3 && < 2.4
, text >= 1.2 && < 2.1
default-extensions: LambdaCase
, OverloadedStrings
@@ -57,7 +57,7 @@
import: common-options
build-depends: directory >= 1.3 && < 1.4
, exceptions >= 0.8 && < 0.11
- , hslua-marshalling >= 2.0 && < 2.3
+ , hslua-marshalling >= 2.1 && < 2.4
, temporary >= 1.2 && < 1.4
exposed-modules: HsLua.Module.System
other-modules: HsLua.Module.SystemUtils
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-system-1.0.3/src/HsLua/Module/System.hs
new/hslua-module-system-1.1.0.1/src/HsLua/Module/System.hs
--- old/hslua-module-system-1.0.3/src/HsLua/Module/System.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-system-1.1.0.1/src/HsLua/Module/System.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,8 +1,8 @@
{-|
Module : HsLua.Module.System
-Copyright : © 2019-2022 Albert Krewinkel
+Copyright : © 2019-2023 Albert Krewinkel
License : MIT
-Maintainer : Albert Krewinkel <[email protected]>
+Maintainer : Albert Krewinkel <[email protected]>
Stability : alpha
Portability : Requires GHC 8 or later.
@@ -81,6 +81,7 @@
, with_wd
]
, moduleOperations = []
+ , moduleTypeInitializers = []
, moduleDescription =
"Access to the system's information and file functionality."
}
@@ -94,6 +95,7 @@
arch :: Field e
arch = Field
{ fieldName = "arch"
+ , fieldType = "string"
, fieldDescription =
"The machine architecture on which the program is running."
, fieldPushValue = pushString Info.arch
@@ -104,6 +106,7 @@
compiler_name :: Field e
compiler_name = Field
{ fieldName = "compiler_name"
+ , fieldType = "string"
, fieldDescription = "The Haskell implementation with which the host "
`T.append` "program was compiled."
, fieldPushValue = pushString Info.compilerName
@@ -114,6 +117,7 @@
compiler_version :: LuaError e => Field e
compiler_version = Field
{ fieldName = "compiler_version"
+ , fieldType = "string"
, fieldDescription = T.unwords
[ "The Haskell implementation with which the host "
, "program was compiled." ]
@@ -125,6 +129,7 @@
cputime_precision :: Field e
cputime_precision = Field
{ fieldName = "cputime_precision"
+ , fieldType = "integer"
, fieldDescription = T.unlines
[ "The smallest measurable difference in CPU time that the"
, "implementation can record, and is given as an integral number of"
@@ -138,6 +143,7 @@
os :: Field e
os = Field
{ fieldName = "os"
+ , fieldType = "string"
, fieldDescription = "The operating system on which the program is running."
, fieldPushValue = pushString Info.os
}
@@ -155,8 +161,7 @@
#? T.unlines
[ "Returns the number of picoseconds CPU time used by the current"
, "program. The precision of this result may vary in different"
- , "versions and on different platforms. See also the field"
- , "`cputime_precision`."
+ , "versions and on different platforms."
]
-- | Retrieve the entire environment
@@ -164,8 +169,8 @@
env = defun "env"
### ioToLua Env.getEnvironment
=#> functionResult (pushKeyValuePairs pushString pushString) "table"
- "A table mapping environment variable names to their value"
- #? "Retrieves the entire environment."
+ "A table mapping environment variable names to their value."
+ #? "Retrieves the entire environment as a string-indexed table."
-- | Return the current working directory as an absolute path.
getwd :: LuaError e => DocumentedFunction e
@@ -292,9 +297,9 @@
Lua.liftIO (Directory.setCurrentDirectory fp)
callback `invokeWithFilePath` fp))
<#> filepathParam "directory"
- "Directory in which the given `callback` should be executed."
+ "Directory in which the given `callback` should be executed"
<#> parameter peekCallback "function" "callback"
- "Action to execute in the given directory."
+ "Action to execute in the given directory"
=?> "The results of the call to `callback`."
#? T.unwords
[ "Run an action within a different directory. This function will"
@@ -352,8 +357,10 @@
("Function which takes the name of the temporary directory as "
`T.append` "its first argument.")
=?> "The results of the call to `callback`."
- #? ("Create and use a temporary directory inside the given directory."
- `T.append` "The directory is deleted after use.")
+ #? T.unlines
+ [ "Create and use a temporary directory inside the given directory."
+ , "The directory is deleted after the callback returns."
+ ]
where
peekParentDir idx = do
args <- liftLua gettop
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hslua-module-system-1.0.3/src/HsLua/Module/SystemUtils.hs
new/hslua-module-system-1.1.0.1/src/HsLua/Module/SystemUtils.hs
--- old/hslua-module-system-1.0.3/src/HsLua/Module/SystemUtils.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-module-system-1.1.0.1/src/HsLua/Module/SystemUtils.hs
2001-09-09 03:46:40.000000000 +0200
@@ -1,8 +1,8 @@
{-|
Module : HsLua.Module.SystemUtils
-Copyright : © 2019-2022 Albert Krewinkel
+Copyright : © 2019-2023 Albert Krewinkel
License : MIT
-Maintainer : Albert Krewinkel <[email protected]>
+Maintainer : Albert Krewinkel <[email protected]>
Utility functions and types for HsLua's system module.
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hslua-module-system-1.0.3/test/test-hslua-module-system.hs
new/hslua-module-system-1.1.0.1/test/test-hslua-module-system.hs
--- old/hslua-module-system-1.0.3/test/test-hslua-module-system.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-module-system-1.1.0.1/test/test-hslua-module-system.hs
2001-09-09 03:46:40.000000000 +0200
@@ -2,9 +2,9 @@
{-# LANGUAGE TypeApplications #-}
{-|
Module : Main
-Copyright : © 2019-2022 Albert Krewinkel
+Copyright : © 2019-2023 Albert Krewinkel
License : MIT
-Maintainer : Albert Krewinkel <[email protected]>
+Maintainer : Albert Krewinkel <[email protected]>
Stability : alpha
Portability : Requires language extensions ForeignFunctionInterface,
OverloadedStrings.