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 2022-02-11 23:09:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hslua-module-text (Old)
and /work/SRC/openSUSE:Factory/.ghc-hslua-module-text.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hslua-module-text"
Fri Feb 11 23:09:07 2022 rev:11 rq:953478 version:1.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-hslua-module-text/ghc-hslua-module-text.changes
2021-11-11 21:36:48.544905590 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-hslua-module-text.new.1956/ghc-hslua-module-text.changes
2022-02-11 23:11:01.063225054 +0100
@@ -1,0 +2,8 @@
+Sun Jan 30 08:00:08 UTC 2022 - Peter Simons <[email protected]>
+
+- Update hslua-module-text to version 1.0.1 revision 1.
+ Upstream has renamed and modified the change log file(s) in this
+ release. Unfortunately, the automatic updater cannot reliable
+ determine relevant entries for this release.
+
+-------------------------------------------------------------------
Old:
----
hslua-module-text-1.0.0.tar.gz
New:
----
hslua-module-text-1.0.1.tar.gz
hslua-module-text.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hslua-module-text.spec ++++++
--- /var/tmp/diff_new_pack.HJWlM1/_old 2022-02-11 23:11:01.535226420 +0100
+++ /var/tmp/diff_new_pack.HJWlM1/_new 2022-02-11 23:11:01.539226431 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-hslua-module-text
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,12 +19,13 @@
%global pkg_name hslua-module-text
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.0.0
+Version: 1.0.1
Release: 0
Summary: Lua module for text
License: MIT
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-hslua-core-devel
BuildRequires: ghc-hslua-marshalling-devel
@@ -57,6 +58,7 @@
%prep
%autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
@@ -77,6 +79,6 @@
%license LICENSE
%files devel -f %{name}-devel.files
-%doc ChangeLog.md
+%doc CHANGELOG.md
%changelog
++++++ hslua-module-text-1.0.0.tar.gz -> hslua-module-text-1.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-text-1.0.0/CHANGELOG.md
new/hslua-module-text-1.0.1/CHANGELOG.md
--- old/hslua-module-text-1.0.0/CHANGELOG.md 1970-01-01 01:00:00.000000000
+0100
+++ new/hslua-module-text-1.0.1/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
@@ -0,0 +1,82 @@
+# Changelog
+
+`hslua-module-text` uses [PVP Versioning][].
+
+## hslua-module-text-1.0.1
+
+Released 29-01-2022.
+
+- Relaxed upper bound of hslua-core, hslua-marshalling, and
+ hslua-packaging, allowing their respective version 2.1.
+
+## hslua-module-text-1.0.0
+
+Released 2021-10-22.
+
+- Use hslua 2.0.
+
+## hslua-module-text-0.3.0.1
+
+Released 2020-10-16.
+
+- Relaxed upper bound for hslua, allow `hslua-1.3.*`.
+
+## hslua-module-text-0.3.0
+
+Released 2020-08-15.
+
+- Use self-documenting module. This allows to include
+ documentation with the module definition, and to auto-generate
+ documentation from that. Requires hslua-1.2.0 or newer.
+
+- Run CI tests with all GHC 8 versions, test stack builds.
+
+## hslua-module-text-0.2.1
+
+Released 2019-05-04.
+
+- Require at least HsLua v1.0.3: that version has better support
+ for modules.
+
+- Rename `pushModuleText` to `pushModule`. The old name is
+ keeped as an alias for now.
+
+## hslua-module-text-0.2.0
+
+Released 2018-09-24.
+
+- Use hslua 1.0.
+
+## hslua-module-text-0.1.2.2
+
+Released 2018-03-09.
+
+- Relax upper bound for base.
+
+## hslua-module-text-0.1.2.1
+
+Released 2017-11-24.
+
+- Add missing test file in the sources archive. This oversight
+ had caused some stackage test failures.
+
+## hslua-module-text-0.1.2
+
+Released 2017-11-17.
+
+- Run tests with Travis CI.
+- Fix problems with GHC 7.8
+
+## hslua-module-text-0.1.1
+
+Released 2017-11-16.
+
+- Lift restriction on base to allow GHC 7.8.
+
+## hslua-module-text-0.1
+
+Released 2017-11-15.
+
+- First version. Released on an unsuspecting world.
+
+ [PVP Versioning]: https://pvp.haskell.org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-text-1.0.0/ChangeLog.md
new/hslua-module-text-1.0.1/ChangeLog.md
--- old/hslua-module-text-1.0.0/ChangeLog.md 2001-09-09 03:46:40.000000000
+0200
+++ new/hslua-module-text-1.0.1/ChangeLog.md 1970-01-01 01:00:00.000000000
+0100
@@ -1,58 +0,0 @@
-# Revision history for hslua-module-text
-
-## 1.0.0
-
-Release pending.
-
-- Use hslua 2.0.
-
-## 0.3.0.1 -- 2020-10-16
-
-- Relaxed upper bound for hslua, allow `hslua-1.3.*`.
-
-## 0.3.0 -- 2020-08-15
-
-- Use self-documenting module. This allows to include
- documentation with the module definition, and to auto-generate
- documentation from that. Requires hslua-1.2.0 or newer.
-
-- Run CI tests with all GHC 8 versions, test stack builds.
-
-## 0.2.1 -- 2019-05-04
-
-- Require at least HsLua v1.0.3: that version has better support
- for modules.
-
-- Rename `pushModuleText` to `pushModule`. The old name is keeped
- as an alias for now.
-
-## 0.2.0 -- 2018-09-24
-
-- Use hslua 1.0.
-
-
-## 0.1.2.2 -- 2018-03-09
-
-- Relax upper bound for base.
-
-
-## 0.1.2.1 -- 2017-11-24
-
-- Add missing test file in the sources archive. This oversight had
- caused some stackage test failures.
-
-
-## 0.1.2 -- 2017-11-17
-
-- Run tests with Travis CI.
-- Fix problems with GHC 7.8
-
-
-## 0.1.1 -- 2017-11-16
-
-- Lift restriction on base to allow GHC 7.8.
-
-
-## 0.1 -- 2017-11-15
-
-- First version. Released on an unsuspecting world.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-text-1.0.0/LICENSE
new/hslua-module-text-1.0.1/LICENSE
--- old/hslua-module-text-1.0.0/LICENSE 2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-module-text-1.0.1/LICENSE 2001-09-09 03:46:40.000000000 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2017-2021 Albert Krewinkel
+Copyright (c) 2017-2022 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.0/hslua-module-text.cabal
new/hslua-module-text-1.0.1/hslua-module-text.cabal
--- old/hslua-module-text-1.0.0/hslua-module-text.cabal 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-text-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.0
+version: 1.0.1
synopsis: Lua module for text
description: UTF-8 aware subset of Lua's `string` module.
.
@@ -8,21 +8,23 @@
built around the embeddable scripting language
<https://lua.org Lua>.
homepage: https://github.com/hslua/hslua
+bug-reports: https://github.com/hslua/hslua/issues
license: MIT
license-file: LICENSE
author: Albert Krewinkel
maintainer: [email protected]
-copyright: ?? 2017???2021 Albert Krewinkel
+copyright: ?? 2017???2022 Albert Krewinkel
category: Foreign
-extra-source-files: ChangeLog.md
- test/test-text.lua
+extra-source-files: CHANGELOG.md
+ , test/test-text.lua
tested-with: GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.3
- , GHC == 8.10.4
+ , GHC == 8.10.7
, GHC == 9.0.1
+ , GHC == 9.2.1
source-repository head
type: git
@@ -32,9 +34,9 @@
common common-options
default-language: Haskell2010
build-depends: base >= 4.8 && < 5
- , hslua-core >= 2.0 && < 2.1
- , hslua-packaging >= 2.0 && < 2.1
- , text >= 1.0 && < 1.3
+ , hslua-core >= 2.0 && < 2.2
+ , hslua-packaging >= 2.0 && < 2.2
+ , text >= 1.2 && < 2.1
ghc-options: -Wall
-Wincomplete-record-updates
-Wnoncanonical-monad-instances
@@ -52,7 +54,7 @@
import: common-options
exposed-modules: HsLua.Module.Text
hs-source-dirs: src
- build-depends: hslua-marshalling >= 2.0 && < 2.1
+ build-depends: hslua-marshalling >= 2.0 && < 2.2
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.0/src/HsLua/Module/Text.hs
new/hslua-module-text-1.0.1/src/HsLua/Module/Text.hs
--- old/hslua-module-text-1.0.0/src/HsLua/Module/Text.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-text-1.0.1/src/HsLua/Module/Text.hs 2001-09-09
03:46:40.000000000 +0200
@@ -24,7 +24,6 @@
import Prelude hiding (reverse)
import Data.Text (Text)
import Data.Maybe (fromMaybe)
-import HsLua.Marshalling (peekIntegral, peekText, pushIntegral, pushText)
import HsLua.Packaging
import qualified Data.Text as T
@@ -53,15 +52,15 @@
len :: DocumentedFunction e
len = defun "len"
### liftPure T.length
- <#> textParam "s"
- =#> intResult "length"
+ <#> textParam "s" "UTF-8 encoded string"
+ =#> integralResult "length"
#? "Determines the number of characters in a string."
-- | Wrapper for @'T.toLower'@.
lower :: DocumentedFunction e
lower = defun "lower"
### liftPure T.toLower
- <#> textParam "s"
+ <#> textParam "s" "UTF-8 string to convert to lowercase"
=#> textResult "Lowercase copy of `s`"
#? "Converts a string to lower case."
@@ -69,7 +68,7 @@
reverse :: DocumentedFunction e
reverse = defun "reverse"
### liftPure T.reverse
- <#> textParam "s"
+ <#> textParam "s" "UTF-8 string to revert"
=#> textResult "Reversed `s`"
#? "Reverses a string."
@@ -77,9 +76,9 @@
sub :: DocumentedFunction e
sub = defun "sub"
### liftPure3 substring
- <#> textParam "s"
+ <#> textParam "s" "UTF-8 string"
<#> textIndex "i" "substring start position"
- <#> textOptionalIndex "j" "substring end position"
+ <#> opt (textIndex "j" "substring end position")
=#> textResult "text substring"
#? "Returns a substring, using Lua's string indexing rules."
where
@@ -94,7 +93,7 @@
upper :: DocumentedFunction e
upper = defun "upper"
### liftPure T.toUpper
- <#> textParam "s"
+ <#> textParam "s" "UTF-8 string to convert to uppercase"
=#> textResult "Uppercase copy of `s`"
#? "Converts a string to upper case."
@@ -102,24 +101,8 @@
-- Parameters
--
-textParam :: Text -> Parameter e Text
-textParam name =
- parameter peekText "string" name "UTF-8 encoded string"
-
-textIndex :: Text -> Text -> Parameter e Int
-textIndex = parameter (peekIntegral @Int) "integer"
-
-textOptionalIndex :: Text -> Text -> Parameter e (Maybe Int)
-textOptionalIndex = optionalParameter (peekIntegral @Int) "integer"
-
---
--- Results
---
-
-textResult :: Text -- ^ Description
- -> FunctionResults e Text
-textResult = functionResult pushText "string"
-
-intResult :: Text -- ^ Description
- -> FunctionResults e Int
-intResult = functionResult (pushIntegral @Int) "integer"
+-- | String index parameter
+textIndex :: Text -- ^ parameter name
+ -> Text -- ^ parameter description
+ -> Parameter e Int
+textIndex = integralParam @Int
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hslua-module-text-1.0.0/test/test-hslua-module-text.hs
new/hslua-module-text-1.0.1/test/test-hslua-module-text.hs
--- old/hslua-module-text-1.0.0/test/test-hslua-module-text.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-text-1.0.1/test/test-hslua-module-text.hs 2001-09-09
03:46:40.000000000 +0200
@@ -2,7 +2,7 @@
{-# LANGUAGE TypeApplications #-}
{-|
Module : Main
-Copyright : ?? 2017-2021 Albert Krewinkel
+Copyright : ?? 2017-2022 Albert Krewinkel
License : MIT
Maintainer : Albert Krewinkel <[email protected]>
Stability : stable
++++++ hslua-module-text.cabal ++++++
cabal-version: 2.2
name: hslua-module-text
version: 1.0.1
x-revision: 1
synopsis: Lua module for text
description: UTF-8 aware subset of Lua's `string` module.
.
This package is part of HsLua, a Haskell framework
built around the embeddable scripting language
<https://lua.org Lua>.
homepage: https://github.com/hslua/hslua
bug-reports: https://github.com/hslua/hslua/issues
license: MIT
license-file: LICENSE
author: Albert Krewinkel
maintainer: [email protected]
copyright: ?? 2017???2022 Albert Krewinkel
category: Foreign
extra-source-files: CHANGELOG.md
, test/test-text.lua
tested-with: GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.3
, GHC == 8.10.7
, GHC == 9.0.1
, GHC == 9.2.1
source-repository head
type: git
location: https://github.com/hslua/hslua.git
subdir: hslua-module-text
common common-options
default-language: Haskell2010
build-depends: base >= 4.8 && < 5
, hslua-core >= 2.1 && < 2.2
, hslua-packaging >= 2.1 && < 2.2
, text >= 1.2 && < 2.1
ghc-options: -Wall
-Wincomplete-record-updates
-Wnoncanonical-monad-instances
-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
library
import: common-options
exposed-modules: HsLua.Module.Text
hs-source-dirs: src
build-depends: hslua-marshalling >= 2.1 && < 2.2
other-extensions: OverloadedStrings
test-suite test-hslua-module-text
import: common-options
type: exitcode-stdio-1.0
main-is: test-hslua-module-text.hs
hs-source-dirs: test
ghc-options: -Wall -threaded
build-depends: hslua-module-text
, tasty >= 0.11
, tasty-hunit >= 0.9
, tasty-lua >= 1.0 && < 1.1
, text