Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-hslua-module-text for 
openSUSE:Factory checked in at 2023-04-14 13:13:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hslua-module-text (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-hslua-module-text.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-hslua-module-text"

Fri Apr 14 13:13:04 2023 rev:15 rq:1079189 version:1.1.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-hslua-module-text/ghc-hslua-module-text.changes  
    2023-04-04 21:20:46.757318937 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-hslua-module-text.new.19717/ghc-hslua-module-text.changes
   2023-04-14 13:13:15.371624957 +0200
@@ -1,0 +2,17 @@
+Thu Apr 13 16:24:15 UTC 2023 - Peter Simons <[email protected]>
+
+- Update hslua-module-text to version 1.1.0.1.
+  ## hslua-module-text-1.1.0.1
+
+  Released 2023-03-26.
+
+  -   Improved doc strings.
+
+  ## hslua-module-text-1.1.0
+
+  Released 2023-03-13.
+
+  -   Update to hslua-2.3; this includes the addition of type
+      initializers to the module and type specifiers to the fields.
+
+-------------------------------------------------------------------

Old:
----
  hslua-module-text-1.0.3.1.tar.gz

New:
----
  hslua-module-text-1.1.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-hslua-module-text.spec ++++++
--- /var/tmp/diff_new_pack.L9PAYR/_old  2023-04-14 13:13:15.803627428 +0200
+++ /var/tmp/diff_new_pack.L9PAYR/_new  2023-04-14 13:13:15.807627451 +0200
@@ -20,7 +20,7 @@
 %global pkgver %{pkg_name}-%{version}
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.0.3.1
+Version:        1.1.0.1
 Release:        0
 Summary:        Lua module for text
 License:        MIT

++++++ hslua-module-text-1.0.3.1.tar.gz -> hslua-module-text-1.1.0.1.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-module-text-1.0.3.1/CHANGELOG.md 
new/hslua-module-text-1.1.0.1/CHANGELOG.md
--- old/hslua-module-text-1.0.3.1/CHANGELOG.md  2001-09-09 03:46:40.000000000 
+0200
+++ new/hslua-module-text-1.1.0.1/CHANGELOG.md  2001-09-09 03:46:40.000000000 
+0200
@@ -2,6 +2,19 @@
 
 `hslua-module-text` uses [PVP Versioning][].
 
+## hslua-module-text-1.1.0.1
+
+Released 2023-03-26.
+
+-   Improved doc strings.
+
+## hslua-module-text-1.1.0
+
+Released 2023-03-13.
+
+-   Update to hslua-2.3; this includes the addition of type
+    initializers to the module and type specifiers to the fields.
+
 ## hslua-module-text-1.0.3.1
 
 Released 2023-01-06.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-module-text-1.0.3.1/LICENSE 
new/hslua-module-text-1.1.0.1/LICENSE
--- old/hslua-module-text-1.0.3.1/LICENSE       2001-09-09 03:46:40.000000000 
+0200
+++ new/hslua-module-text-1.1.0.1/LICENSE       2001-09-09 03:46:40.000000000 
+0200
@@ -1,4 +1,4 @@
-Copyright (c) 2017-2022 Albert Krewinkel
+Copyright (c) 2017-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-text-1.0.3.1/hslua-module-text.cabal 
new/hslua-module-text-1.1.0.1/hslua-module-text.cabal
--- old/hslua-module-text-1.0.3.1/hslua-module-text.cabal       2001-09-09 
03:46:40.000000000 +0200
+++ new/hslua-module-text-1.1.0.1/hslua-module-text.cabal       2001-09-09 
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                hslua-module-text
-version:             1.0.3.1
+version:             1.1.0.1
 synopsis:            Lua module for text
 description:         UTF-8 aware subset of Lua's `string` module.
                      .
@@ -12,7 +12,7 @@
 license:             MIT
 license-file:        LICENSE
 author:              Albert Krewinkel
-maintainer:          [email protected]
+maintainer:          [email protected]
 copyright:           © 2017–2023 Albert Krewinkel
 category:            Foreign
 extra-source-files:  CHANGELOG.md
@@ -32,9 +32,9 @@
 
 common common-options
   default-language:    Haskell2010
-  build-depends:       base                 >= 4.8    && < 5
-                     , hslua-core           >= 2.1    && < 2.4
-                     , hslua-packaging      >= 2.1    && < 2.3
+  build-depends:       base                 >= 4.11   && < 5
+                     , hslua-core           >= 2.3    && < 2.4
+                     , hslua-packaging      >= 2.3    && < 2.4
                      , text                 >= 1.2    && < 2.1
   ghc-options:         -Wall
                        -Wincomplete-record-updates
@@ -53,7 +53,7 @@
   import:              common-options
   exposed-modules:     HsLua.Module.Text
   hs-source-dirs:      src
-  build-depends:       hslua-marshalling    >= 2.1    && < 2.3
+  build-depends:       hslua-marshalling    >= 2.1    && < 2.4
   other-extensions:    OverloadedStrings
 
 test-suite test-hslua-module-text
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hslua-module-text-1.0.3.1/src/HsLua/Module/Text.hs 
new/hslua-module-text-1.1.0.1/src/HsLua/Module/Text.hs
--- old/hslua-module-text-1.0.3.1/src/HsLua/Module/Text.hs      2001-09-09 
03:46:40.000000000 +0200
+++ new/hslua-module-text-1.1.0.1/src/HsLua/Module/Text.hs      2001-09-09 
03:46:40.000000000 +0200
@@ -5,7 +5,7 @@
 Module      : HsLua.Module.Text
 Copyright   : © 2017–2023 Albert Krewinkel
 License     : MIT
-Maintainer  : Albert Krewinkel <[email protected]>
+Maintainer  : Albert Krewinkel <[email protected]>
 Stability   : alpha
 Portability : GHC only
 
@@ -56,6 +56,7 @@
     ]
   , moduleDescription =
       "UTF-8 aware text manipulation functions, implemented in Haskell."
+  , moduleTypeInitializers = []
   }
 
 --
@@ -81,12 +82,15 @@
   <#> opt (stringParam "encoding" "target encoding")
   =#> functionResult Lua.pushText "string" "UTF-8 string"
   #? T.unlines
-     [ "Converts a string from a different encoding to UTF-8. On Windows,"
-     , "the `encoding` parameter defaults to the current ANSI code page; on"
-     , "other platforms the function will try to use the file system's"
-     , "encoding."
+     [ "Converts a string to UTF-8. The `encoding` parameter specifies the"
+     , "encoding of the input string. On Windows, that parameter defaults"
+     , "to the current ANSI code page; on other platforms the function"
+     , "will try to use the file system's encoding."
      , ""
-     , "See `toencoding` for more info on supported encodings."
+     , "The set of known encodings is system dependent, but includes at"
+     , "least `UTF-8`, `UTF-16BE`, `UTF-16LE`, `UTF-32BE`, and `UTF-32LE`."
+     , "Note that the default code page on Windows is available through"
+     , "`CP0`."
      ]
   where
     stringIndex idx = do
@@ -101,7 +105,7 @@
   ### liftPure T.length
   <#> textParam "s" "UTF-8 encoded string"
   =#> integralResult "length"
-  #? "Determines the number of characters in a string."
+  #? "Returns the length of a UTF-8 string, i.e., the number of characters."
 
 -- | Wrapper for @'T.toLower'@.
 lower :: DocumentedFunction e
@@ -109,7 +113,7 @@
   ### liftPure T.toLower
   <#> textParam "s" "UTF-8 string to convert to lowercase"
   =#> textResult "Lowercase copy of `s`"
-  #? "Converts a string to lower case."
+  #? "Returns a copy of a UTF-8 string, converted to lowercase."
 
 -- | Wrapper for @'T.reverse'@.
 reverse :: DocumentedFunction e
@@ -117,7 +121,7 @@
   ### liftPure T.reverse
   <#> textParam "s" "UTF-8 string to revert"
   =#> textResult "Reversed `s`"
-  #? "Reverses a string."
+  #? "Returns a copy of a UTF-8 string, with characters reversed."
 
 -- | Returns a substring, using Lua's string indexing rules.
 sub :: DocumentedFunction e
@@ -127,7 +131,10 @@
   <#> textIndex "i" "substring start position"
   <#> opt (textIndex "j" "substring end position")
   =#> textResult "text substring"
-  #? "Returns a substring, using Lua's string indexing rules."
+  #? T.unlines
+     [ "Returns a substring of a UTF-8 string, using Lua's string"
+     , "indexing rules."
+     ]
   where
     substring :: Text -> Int -> Maybe Int -> Text
     substring s i jopt =
@@ -152,15 +159,14 @@
   <#> opt (stringParam "enc" "target encoding")
   =#> functionResult (const (pure ())) "string" "re-encoded string"
   #? T.unlines
-     [ "Converts a UTF-8 string to a different encoding. On Windows, the"
-     , "`encoding` parameter defaults to the current ANSI code page; on"
-     , "other platforms the function will try to use the file system's"
-     , "encoding."
+     [ "Converts a UTF-8 string to a different encoding. The `encoding`"
+     , "parameter defaults to the current ANSI code page on Windows; on"
+     , "other platforms it will try to guess the file system's encoding."
      , ""
      , "The set of known encodings is system dependent, but includes at"
      , "least `UTF-8`, `UTF-16BE`, `UTF-16LE`, `UTF-32BE`, and `UTF-32LE`."
-     , "Note that the prefix `CP` allows to access code page on Windows,"
-     , "e.g. `CP0` (the current ANSI code page) or `CP1250`."
+     , "Note that the default code page on Windows is available through"
+     , "`CP0`."
      ]
 
 -- | Wrapper for @'T.toUpper'@.
@@ -169,7 +175,7 @@
   ### liftPure T.toUpper
   <#> textParam "s" "UTF-8 string to convert to uppercase"
   =#> textResult "Uppercase copy of `s`"
-  #? "Converts a string to upper case."
+  #? "Returns a copy of a UTF-8 string, converted to uppercase."
 
 --
 -- Parameters
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/hslua-module-text-1.0.3.1/test/test-hslua-module-text.hs 
new/hslua-module-text-1.1.0.1/test/test-hslua-module-text.hs
--- old/hslua-module-text-1.0.3.1/test/test-hslua-module-text.hs        
2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-module-text-1.1.0.1/test/test-hslua-module-text.hs        
2001-09-09 03:46:40.000000000 +0200
@@ -2,9 +2,9 @@
 {-# LANGUAGE TypeApplications  #-}
 {-|
 Module      : Main
-Copyright   : © 2017-2022 Albert Krewinkel
+Copyright   : © 2017-2023 Albert Krewinkel
 License     : MIT
-Maintainer  : Albert Krewinkel <[email protected]>
+Maintainer  : Albert Krewinkel <[email protected]>
 Stability   : stable
 Portability : Requires language extensions ForeignFunctionInterface,
               OverloadedStrings.

Reply via email to