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 2026-06-10 16:01:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hslua-module-text (Old)
and /work/SRC/openSUSE:Factory/.ghc-hslua-module-text.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hslua-module-text"
Wed Jun 10 16:01:37 2026 rev:17 rq:1358387 version:1.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-hslua-module-text/ghc-hslua-module-text.changes
2024-01-26 22:47:33.380822681 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-hslua-module-text.new.2375/ghc-hslua-module-text.changes
2026-06-10 16:04:09.224069696 +0200
@@ -1,0 +2,10 @@
+Thu Jan 8 15:36:29 UTC 2026 - Peter Simons <[email protected]>
+
+- Update hslua-module-text to version 1.2.0.
+ ## hslua-module-text-1.2.0
+
+ Released 2026-01-08.
+
+ - Require hslua-packaging-2.4.
+
+-------------------------------------------------------------------
Old:
----
hslua-module-text-1.1.1.tar.gz
New:
----
hslua-module-text-1.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hslua-module-text.spec ++++++
--- /var/tmp/diff_new_pack.pKVrCX/_old 2026-06-10 16:04:11.180150757 +0200
+++ /var/tmp/diff_new_pack.pKVrCX/_new 2026-06-10 16:04:11.184150923 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-hslua-module-text
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.1.1
+Version: 1.2.0
Release: 0
Summary: Lua module for text
License: MIT
@@ -103,7 +103,7 @@
%license LICENSE
%files devel -f %{name}-devel.files
-%doc CHANGELOG.md
+%doc CHANGELOG.md README.md
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license LICENSE
++++++ hslua-module-text-1.1.1.tar.gz -> hslua-module-text-1.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-text-1.1.1/CHANGELOG.md
new/hslua-module-text-1.2.0/CHANGELOG.md
--- old/hslua-module-text-1.1.1/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
+++ new/hslua-module-text-1.2.0/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
@@ -2,6 +2,12 @@
`hslua-module-text` uses [PVP Versioning][].
+## hslua-module-text-1.2.0
+
+Released 2026-01-08.
+
+- Require hslua-packaging-2.4.
+
## hslua-module-text-1.1.1
Released 2024-01-18.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-text-1.1.1/LICENSE
new/hslua-module-text-1.2.0/LICENSE
--- old/hslua-module-text-1.1.1/LICENSE 2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-module-text-1.2.0/LICENSE 2001-09-09 03:46:40.000000000 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2017-2024 Albert Krewinkel
+Copyright (c) 2017-2026 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.1.1/README.md
new/hslua-module-text-1.2.0/README.md
--- old/hslua-module-text-1.1.1/README.md 1970-01-01 01:00:00.000000000
+0100
+++ new/hslua-module-text-1.2.0/README.md 2001-09-09 03:46:40.000000000
+0200
@@ -0,0 +1,43 @@
+hslua-module-text
+=================
+
+[![GitHub CI][CI badge]](https://github.com/hslua/hslua/actions)
+[![Hackage][Hackage
badge]](https://hackage.haskell.org/package/hslua-module-text)
+[![Stackage Lts][Stackage Lts
badge]](http://stackage.org/lts/package/hslua-module-text)
+[![Stackage Nightly][Stackage Nightly
badge]](http://stackage.org/nightly/package/hslua-module-text)
+[![MIT license][License badge]](LICENSE)
+
+[CI badge]:
https://img.shields.io/github/workflow/status/hslua/hslua/CI.svg?logo=github
+[Hackage badge]:
https://img.shields.io/hackage/v/hslua-module-text.svg?logo=haskell
+[Stackage Lts badge]: http://stackage.org/package/hslua-module-text/badge/lts
+[Stackage Nightly badge]:
http://stackage.org/package/hslua-module-text/badge/nightly
+[License badge]: https://img.shields.io/badge/license-MIT-blue.svg
+
+An UTF-8 aware subset of Lua's `string` module. The functions
+provided by this module are `upper`, `lower`, `len`, `reverse`,
+`sub`, and `toencoding`.
+
+Intended usage for this package is to preload it by adding the
+loader function to `package.preload`. Note that the Lua `package`
+library must have already been loaded before the loader can be
+added.
+
+
+Example
+-------
+
+``` haskell
+loadProg :: Lua Status
+loadProg = do
+ openlibs
+ preloadModule documenteModule
+ dostring $ "text = require 'text'\n"
+ <> "print(text.upper 'hello')"
+```
+
+
+License
+-------
+
+This package is licensed under the MIT license. See
+[`LICENSE`](LICENSE) for details.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-text-1.1.1/hslua-module-text.cabal
new/hslua-module-text-1.2.0/hslua-module-text.cabal
--- old/hslua-module-text-1.1.1/hslua-module-text.cabal 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-text-1.2.0/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.1.1
+version: 1.2.0
synopsis: Lua module for text
description: UTF-8 aware subset of Lua's `string` module.
.
@@ -13,19 +13,15 @@
license-file: LICENSE
author: Albert Krewinkel
maintainer: [email protected]
-copyright: © 2017-2024 Albert Krewinkel
+copyright: © 2017-2026 Albert Krewinkel
category: Foreign
-extra-source-files: CHANGELOG.md
- , test/test-text.lua
-tested-with: GHC == 8.4.4
- , GHC == 8.6.5
- , GHC == 8.8.3
- , GHC == 8.10.7
- , GHC == 9.0.2
- , GHC == 9.2.8
- , GHC == 9.4.8
- , GHC == 9.6.3
- , GHC == 9.8.1
+extra-source-files: test/test-text.lua
+extra-doc-files: CHANGELOG.md
+ , README.md
+tested-with: GHC == 9.6
+ , GHC == 9.8
+ , GHC == 9.10
+ , GHC == 9.12
source-repository head
type: git
@@ -36,26 +32,29 @@
default-language: Haskell2010
build-depends: base >= 4.11 && < 5
, hslua-core >= 2.3 && < 2.4
- , hslua-packaging >= 2.3 && < 2.4
- , text >= 1.2 && < 2.2
+ , hslua-packaging >= 2.3 && < 2.5
+
ghc-options: -Wall
+ -Wcpp-undef
+ -Werror=missing-home-modules
+ -Widentities
-Wincomplete-record-updates
+ -Wincomplete-uni-patterns
-Wnoncanonical-monad-instances
+ -Wpartial-fields
-Wredundant-constraints
- if impl(ghc >= 8.2)
- ghc-options: -Wcpp-undef
- -Werror=missing-home-modules
- if impl(ghc >= 8.4)
- ghc-options: -Widentities
- -Wincomplete-uni-patterns
- -Wpartial-fields
- -fhide-source-paths
+ -fhide-source-paths
+ if impl(ghc >= 8.10)
+ ghc-options: -Wunused-packages
+ if impl(ghc >= 9.0)
+ ghc-options: -Winvalid-haddock
library
import: common-options
exposed-modules: HsLua.Module.Text
hs-source-dirs: src
build-depends: hslua-marshalling >= 2.1 && < 2.4
+ , text >= 1.2 && < 2.2
other-extensions: OverloadedStrings
test-suite test-hslua-module-text
@@ -68,4 +67,3 @@
, tasty >= 0.11
, tasty-hunit >= 0.9
, tasty-lua >= 1.0 && < 1.2
- , text
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-text-1.1.1/src/HsLua/Module/Text.hs
new/hslua-module-text-1.2.0/src/HsLua/Module/Text.hs
--- old/hslua-module-text-1.1.1/src/HsLua/Module/Text.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-text-1.2.0/src/HsLua/Module/Text.hs 2001-09-09
03:46:40.000000000 +0200
@@ -3,7 +3,7 @@
{-# LANGUAGE TypeApplications #-}
{-|
Module : HsLua.Module.Text
-Copyright : © 2017–2023 Albert Krewinkel
+Copyright : © 2017–2024 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
Stability : alpha
@@ -41,11 +41,8 @@
-- | The @text@ module.
documentedModule :: LuaError e => Module e
-documentedModule = Module
- { moduleName = "text"
- , moduleOperations = []
- , moduleFields = []
- , moduleFunctions =
+documentedModule = defmodule "text"
+ `withFunctions`
[ fromencoding
, len
, lower
@@ -54,10 +51,8 @@
, toencoding
, upper
]
- , moduleDescription =
+ `withDescription`
"UTF-8 aware text manipulation functions, implemented in Haskell."
- , moduleTypeInitializers = []
- }
--
-- Functions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hslua-module-text-1.1.1/test/test-hslua-module-text.hs
new/hslua-module-text-1.2.0/test/test-hslua-module-text.hs
--- old/hslua-module-text-1.1.1/test/test-hslua-module-text.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-text-1.2.0/test/test-hslua-module-text.hs 2001-09-09
03:46:40.000000000 +0200
@@ -2,7 +2,7 @@
{-# LANGUAGE TypeApplications #-}
{-|
Module : Main
-Copyright : © 2017-2024 Albert Krewinkel
+Copyright : © 2017-2026 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
Stability : stable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-text-1.1.1/test/test-text.lua
new/hslua-module-text-1.2.0/test/test-text.lua
--- old/hslua-module-text-1.1.1/test/test-text.lua 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-text-1.2.0/test/test-text.lua 2001-09-09
03:46:40.000000000 +0200
@@ -84,7 +84,7 @@
end),
test('throws error for unknown encoding', function ()
assert.error_matches(
- function () text.toencoding('a', 'utf9') end,
+ function () text.fromencoding('a', 'utf9') end,
"unknown encoding"
)
end),