Hello community,
here is the log from the commit of package ghc-regex-compat for
openSUSE:Factory checked in at 2019-10-18 14:34:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-regex-compat (Old)
and /work/SRC/openSUSE:Factory/.ghc-regex-compat.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-regex-compat"
Fri Oct 18 14:34:37 2019 rev:3 rq:737212 version:0.95.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-regex-compat/ghc-regex-compat.changes
2018-10-25 08:18:47.760006226 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-regex-compat.new.2352/ghc-regex-compat.changes
2019-10-18 14:34:38.832049731 +0200
@@ -1,0 +2,8 @@
+Tue Oct 1 02:01:35 UTC 2019 - [email protected]
+
+- Update regex-compat to version 0.95.2.0.
+ Upstream added a new change log file in this release. With no
+ previous version to compare against, the automatic updater cannot
+ reliable determine the relevante entries for this release.
+
+-------------------------------------------------------------------
Old:
----
regex-compat-0.95.1.tar.gz
New:
----
regex-compat-0.95.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-regex-compat.spec ++++++
--- /var/tmp/diff_new_pack.rlw9U9/_old 2019-10-18 14:34:39.628047658 +0200
+++ /var/tmp/diff_new_pack.rlw9U9/_new 2019-10-18 14:34:39.632047648 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-regex-compat
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,9 +18,9 @@
%global pkg_name regex-compat
Name: ghc-%{pkg_name}
-Version: 0.95.1
+Version: 0.95.2.0
Release: 0
-Summary: Replaces/Enhances Text.Regex
+Summary: Replaces/Enhances "Text.Regex"
License: BSD-3-Clause
Group: Development/Libraries/Haskell
URL: https://hackage.haskell.org/package/%{pkg_name}
@@ -32,7 +32,10 @@
BuildRequires: ghc-rpm-macros
%description
-One module layer over regex-posix to replace Text.Regex.
+One module compat layer over <//hackage.haskell.org/package/regex-posix
+regex-posix> to replace "Text.Regex".
+
+See also <https://wiki.haskell.org/Regular_expressions> for more information.
%package devel
Summary: Haskell %{pkg_name} library development files
@@ -64,5 +67,6 @@
%license LICENSE
%files devel -f %{name}-devel.files
+%doc ChangeLog.md
%changelog
++++++ regex-compat-0.95.1.tar.gz -> regex-compat-0.95.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/regex-compat-0.95.1/ChangeLog.md
new/regex-compat-0.95.2.0/ChangeLog.md
--- old/regex-compat-0.95.1/ChangeLog.md 1970-01-01 01:00:00.000000000
+0100
+++ new/regex-compat-0.95.2.0/ChangeLog.md 2001-09-09 03:46:40.000000000
+0200
@@ -0,0 +1,6 @@
+See also http://pvp.haskell.org/faq
+
+## 0.95.2.0
+
+- Declare `Text.Regex` module `Trustworthy` under SafeHaskell
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/regex-compat-0.95.1/Text/Regex.hs
new/regex-compat-0.95.2.0/Text/Regex.hs
--- old/regex-compat-0.95.1/Text/Regex.hs 2011-05-09 20:01:47.000000000
+0200
+++ new/regex-compat-0.95.2.0/Text/Regex.hs 2001-09-09 03:46:40.000000000
+0200
@@ -4,8 +4,8 @@
-- Module : Text.Regex
-- Copyright : (c) Chris Kuklewicz 2006, derived from (c) The University of
Glasgow 2001
-- License : BSD-style (see the file LICENSE)
---
--- Maintainer : [email protected]
+--
+-- Maintainer : [email protected]
-- Stability : experimental
-- Portability : non-portable (regex-base needs MPTC+FD)
--
@@ -46,9 +46,9 @@
-- case-sensitive options can be changed from the default settings.
mkRegexWithOpts
:: String -- ^ The regular expression to compile
- -> Bool -- ^ 'True' @\<=>@ @\'^\'@ and @\'$\'@ match the beginning and
- -- end of individual lines respectively, and @\'.\'@ does /not/
- -- match the newline character.
+ -> Bool -- ^ 'True' @\<=>@ @\'^\'@ and @\'$\'@ match the beginning and
+ -- end of individual lines respectively, and @\'.\'@ does /not/
+ -- match the newline character.
-> Bool -- ^ 'True' @\<=>@ matching is case-sensitive
-> Regex -- ^ Returns: the compiled regular expression
@@ -60,25 +60,25 @@
-- | Match a regular expression against a string
matchRegex
- :: Regex -- ^ The regular expression
- -> String -- ^ The string to match against
- -> Maybe [String] -- ^ Returns: @'Just' strs@ if the match succeeded
- -- (and @strs@ is the list of subexpression matches),
- -- or 'Nothing' otherwise.
+ :: Regex -- ^ The regular expression
+ -> String -- ^ The string to match against
+ -> Maybe [String] -- ^ Returns: @'Just' strs@ if the match succeeded
+ -- (and @strs@ is the list of subexpression matches),
+ -- or 'Nothing' otherwise.
matchRegex p str = fmap (\(_,_,_,str) -> str) (matchRegexAll p str)
-- | Match a regular expression against a string, returning more information
-- about the match.
matchRegexAll
- :: Regex -- ^ The regular expression
- -> String -- ^ The string to match against
+ :: Regex -- ^ The regular expression
+ -> String -- ^ The string to match against
-> Maybe ( String, String, String, [String] )
- -- ^ Returns: 'Nothing' if the match failed, or:
- --
- -- > Just ( everything before match,
- -- > portion matched,
- -- > everything after the match,
- -- > subexpression matches )
+ -- ^ Returns: 'Nothing' if the match failed, or:
+ --
+ -- > Just ( everything before match,
+ -- > portion matched,
+ -- > everything after the match,
+ -- > subexpression matches )
matchRegexAll p str = matchM p str
@@ -138,7 +138,7 @@
splitRegex :: Regex -> String -> [String]
splitRegex _ [] = []
-splitRegex delim strIn =
+splitRegex delim strIn =
let matches = map (!0) (matchAll delim strIn)
go _i str [] = str : []
go i str ((off,len):rest) =
@@ -194,4 +194,4 @@
then [firstline,""]
else firstline : loop remainder
--}
\ No newline at end of file
+-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/regex-compat-0.95.1/regex-compat.cabal
new/regex-compat-0.95.2.0/regex-compat.cabal
--- old/regex-compat-0.95.1/regex-compat.cabal 2011-05-09 20:01:47.000000000
+0200
+++ new/regex-compat-0.95.2.0/regex-compat.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,36 +1,39 @@
-Name: regex-compat
-Version: 0.95.1
-Cabal-Version: >=1.2
-License: BSD3
-License-File: LICENSE
-Copyright: Copyright (c) 2006, Christopher Kuklewicz
-Author: Christopher Kuklewicz
-Maintainer: [email protected]
-Stability: Seems to work, passes a few tests
-Homepage: http://sourceforge.net/projects/lazy-regex
-Package-URL:
http://darcs.haskell.org/packages/regex-unstable/regex-compat/
-Synopsis: Replaces/Enhances Text.Regex
-Description: One module layer over regex-posix to replace Text.Regex
-Category: Text
-Tested-With: GHC
-Build-Type: Simple
-flag newBase
- description: Choose base >= 4
- default: True
-flag splitBase
- description: Choose the new smaller, split-up base package.
- default: True
+cabal-version: 1.12
+name: regex-compat
+version: 0.95.2.0
+
+build-type: Simple
+license: BSD3
+license-file: LICENSE
+copyright: Copyright (c) 2006, Christopher Kuklewicz
+author: Christopher Kuklewicz
+maintainer: [email protected]
+bug-reports: https://github.com/hvr/regex-compat/issues
+synopsis: Replaces/Enhances "Text.Regex"
+category: Text
+description:
+ One module compat layer over <//hackage.haskell.org/package/regex-posix
regex-posix> to replace "Text.Regex".
+ .
+ See also <https://wiki.haskell.org/Regular_expressions> for more information.
+
+extra-source-files: ChangeLog.md
+
+source-repository head
+ type: git
+ location: https://github.com/hvr/regex-compat.git
+
library
- if flag(newBase)
- Build-Depends: base >= 4 && < 5, regex-base >= 0.93, regex-posix >=
0.95.1, array
- else
- if flag(splitBase)
- Build-Depends: base >= 3.0, regex-base >= 0.93, regex-posix >=
0.95.1, array
- else
- Build-Depends: base < 3.0, regex-base >= 0.93, regex-posix >=
0.95.1
- Exposed-Modules: Text.Regex
- Buildable: True
- Extensions: MultiParamTypeClasses, FunctionalDependencies
- GHC-Options: -Wall -O2
- -- GHC-Options: -Wall -Werror -O2
- -- GHC-Options: -Wall -ddump-minimal-imports
+ exposed-modules: Text.Regex
+
+ build-depends: base >= 4.3 && < 4.14
+ , regex-base == 0.94.*
+ , regex-posix == 0.96.*
+ , array >= 0.3 && < 0.6
+
+ default-language: Haskell2010
+ default-extensions: MultiParamTypeClasses, FunctionalDependencies
+
+ if impl(ghc >= 7.2)
+ default-extensions: Trustworthy
+
+ ghc-options: -Wall