Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-hslua-module-path for
openSUSE:Factory checked in at 2023-04-14 13:13:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hslua-module-path (Old)
and /work/SRC/openSUSE:Factory/.ghc-hslua-module-path.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hslua-module-path"
Fri Apr 14 13:13:02 2023 rev:7 rq:1079187 version:1.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-hslua-module-path/ghc-hslua-module-path.changes
2023-04-04 21:20:45.441311484 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-hslua-module-path.new.19717/ghc-hslua-module-path.changes
2023-04-14 13:13:14.071617523 +0200
@@ -1,0 +2,13 @@
+Thu Apr 13 12:06:20 UTC 2023 - Peter Simons <[email protected]>
+
+- Update hslua-module-path to version 1.1.0.
+ ## hslua-module-path-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.
+
+ - Fixed tests for `make_relative` on Windows.
+
+-------------------------------------------------------------------
Old:
----
hslua-module-path-1.0.3.tar.gz
New:
----
hslua-module-path-1.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hslua-module-path.spec ++++++
--- /var/tmp/diff_new_pack.LLLapn/_old 2023-04-14 13:13:14.587620474 +0200
+++ /var/tmp/diff_new_pack.LLLapn/_new 2023-04-14 13:13:14.607620588 +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
Release: 0
Summary: Lua module to work with file paths
License: MIT
++++++ hslua-module-path-1.0.3.tar.gz -> hslua-module-path-1.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-path-1.0.3/CHANGELOG.md
new/hslua-module-path-1.1.0/CHANGELOG.md
--- old/hslua-module-path-1.0.3/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
+++ new/hslua-module-path-1.1.0/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
@@ -2,6 +2,15 @@
`hslua-module-paths` uses [PVP Versioning][].
+## hslua-module-path-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.
+
+- Fixed tests for `make_relative` on Windows.
+
## hslua-module-path-1.0.3
Released 2022-08-19.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-path-1.0.3/LICENSE
new/hslua-module-path-1.1.0/LICENSE
--- old/hslua-module-path-1.0.3/LICENSE 2001-09-09 03:46:40.000000000 +0200
+++ new/hslua-module-path-1.1.0/LICENSE 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
MIT License
-Copyright © 2020-2022 Albert Krewinkel
+Copyright © 2020-2023 Albert Krewinkel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-path-1.0.3/hslua-module-path.cabal
new/hslua-module-path-1.1.0/hslua-module-path.cabal
--- old/hslua-module-path-1.0.3/hslua-module-path.cabal 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-path-1.1.0/hslua-module-path.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: hslua-module-path
-version: 1.0.3
+version: 1.1.0
synopsis: Lua module to work with file paths.
description: Lua module to work with file paths in a platform
independent way.
@@ -9,21 +9,20 @@
license: MIT
license-file: LICENSE
author: Albert Krewinkel
-maintainer: Albert Krewinkel <[email protected]>
-copyright: © 2020-2022 Albert Krewinkel
+maintainer: Albert Krewinkel <[email protected]>
+copyright: © 2020-2023 Albert Krewinkel
category: Foreign
build-type: Simple
extra-doc-files: README.md
CHANGELOG.md
extra-source-files: test/test-path.lua
-tested-with: GHC == 8.0.2
- , GHC == 8.2.2
- , GHC == 8.4.4
+tested-with: GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
- , GHC == 9.2.3
+ , GHC == 9.2.5
+ , GHC == 9.4.4
source-repository head
type: git
@@ -33,9 +32,9 @@
common common-options
build-depends: base >= 4.9.1 && < 5
, filepath >= 1.4 && < 1.5
- , hslua-core >= 2.1 && < 2.3
- , hslua-marshalling >= 2.1 && < 2.3
- , hslua-packaging >= 2.1 && < 2.3
+ , hslua-core >= 2.1 && < 2.4
+ , hslua-marshalling >= 2.1 && < 2.4
+ , hslua-packaging >= 2.3 && < 2.4
, text >= 1.2 && < 2.1
ghc-options: -Wall
@@ -69,7 +68,7 @@
, hslua-module-path
, tasty
, tasty-hunit
- , tasty-lua >= 1.0 && < 1.1
+ , tasty-lua >= 1.0 && < 1.2
, text
ghc-options: -threaded
-rtsopts
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-path-1.0.3/src/HsLua/Module/Path.hs
new/hslua-module-path-1.1.0/src/HsLua/Module/Path.hs
--- old/hslua-module-path-1.0.3/src/HsLua/Module/Path.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-path-1.1.0/src/HsLua/Module/Path.hs 2001-09-09
03:46:40.000000000 +0200
@@ -1,10 +1,9 @@
-{-# LANGUAGE CPP #-}
{-# LANGUAGE OverloadedStrings #-}
{-|
Module : HsLua.Module.Path
-Copyright : © 2021-2022 Albert Krewinkel
+Copyright : © 2021-2023 Albert Krewinkel
License : MIT
-Maintainer : Albert Krewinkel <[email protected]>
+Maintainer : Albert Krewinkel <[email protected]>
Lua module to work with file paths.
-}
@@ -33,9 +32,6 @@
)
where
-#if !MIN_VERSION_base(4,11,0)
-import Data.Semigroup (Semigroup(..)) -- includes (<>)
-#endif
import Data.Text (Text)
import Data.Version (Version, makeVersion)
import HsLua.Core
@@ -55,6 +51,7 @@
, moduleFields = fields
, moduleFunctions = functions
, moduleOperations = []
+ , moduleTypeInitializers = []
}
--
@@ -72,6 +69,7 @@
separator :: Field e
separator = Field
{ fieldName = "separator"
+ , fieldType = "string"
, fieldDescription = "The character that separates directories."
, fieldPushValue = pushString [Path.pathSeparator]
}
@@ -80,6 +78,7 @@
search_path_separator :: Field e
search_path_separator = Field
{ fieldName = "search_path_separator"
+ , fieldType = "string"
, fieldDescription = "The character that is used to separate the entries in "
<> "the `PATH` environment variable."
, fieldPushValue = pushString [Path.searchPathSeparator]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/hslua-module-path-1.0.3/test/test-hslua-module-path.hs
new/hslua-module-path-1.1.0/test/test-hslua-module-path.hs
--- old/hslua-module-path-1.0.3/test/test-hslua-module-path.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-path-1.1.0/test/test-hslua-module-path.hs 2001-09-09
03:46:40.000000000 +0200
@@ -2,9 +2,9 @@
{-# LANGUAGE TypeApplications #-}
{-|
Module : Main
-Copyright : © 2021-2022 Albert Krewinkel
+Copyright : © 2021-2023 Albert Krewinkel
License : MIT
-Maintainer : Albert Krewinkel <[email protected]>
+Maintainer : Albert Krewinkel <[email protected]>
Stability : stable
Portability : Requires language extensions ForeignFunctionInterface,
OverloadedStrings.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/hslua-module-path-1.0.3/test/test-path.lua
new/hslua-module-path-1.1.0/test/test-path.lua
--- old/hslua-module-path-1.0.3/test/test-path.lua 2001-09-09
03:46:40.000000000 +0200
+++ new/hslua-module-path-1.1.0/test/test-path.lua 2001-09-09
03:46:40.000000000 +0200
@@ -179,10 +179,18 @@
)
end),
test('no change if base differs', function()
- assert.are_equal(
- path.make_relative('foo/baz/file.txt', '/foo/bar', true),
- 'foo/baz/file.txt'
- )
+ if path.separator == '\\' then
+ -- we're on windows
+ assert.are_equal(
+ path.make_relative('c:/foo/baz/file.txt', 'd:/foo/bar', true),
+ 'c:/foo/baz/file.txt'
+ )
+ else
+ assert.are_equal(
+ path.make_relative('foo/baz/file.txt', '/foo/bar', true),
+ 'foo/baz/file.txt'
+ )
+ end
end),
test('long base path ', function()
assert.are_equal(