Hello community,

here is the log from the commit of package ghc-regex-tdfa for 
openSUSE:Leap:15.2 checked in at 2020-05-18 10:59:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/ghc-regex-tdfa (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.ghc-regex-tdfa.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-regex-tdfa"

Mon May 18 10:59:00 2020 rev:14 rq:805968 version:1.3.1.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/ghc-regex-tdfa/ghc-regex-tdfa.changes  
2020-02-19 18:40:50.810163484 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.ghc-regex-tdfa.new.2738/ghc-regex-tdfa.changes    
    2020-05-18 10:59:00.974589512 +0200
@@ -1,0 +2,5 @@
+Thu May  7 08:08:25 UTC 2020 - Peter Simons <[email protected]>
+
+- Update Cabal file to get more accurate dependency information.
+
+-------------------------------------------------------------------

New:
----
  regex-tdfa.cabal

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

Other differences:
------------------
++++++ ghc-regex-tdfa.spec ++++++
--- /var/tmp/diff_new_pack.rHdiww/_old  2020-05-18 10:59:01.446590489 +0200
+++ /var/tmp/diff_new_pack.rHdiww/_new  2020-05-18 10:59:01.450590497 +0200
@@ -25,6 +25,7 @@
 License:        BSD-3-Clause
 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-array-devel
 BuildRequires:  ghc-bytestring-devel
@@ -63,6 +64,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ regex-tdfa.cabal ++++++
cabal-version:          1.12
name:                   regex-tdfa
version:                1.3.1.0
x-revision: 1

build-Type:             Simple
license:                BSD3
license-file:           LICENSE
copyright:              Copyright (c) 2007-2009, Christopher Kuklewicz
author:                 Christopher Kuklewicz
maintainer:             [email protected]
bug-reports:            https://github.com/hvr/regex-tdfa/issues
tested-with:            GHC==7.4.2
                      , GHC==7.6.3
                      , GHC==7.8.4
                      , GHC==7.10.3
                      , GHC==8.0.2
                      , GHC==8.2.2
                      , GHC==8.4.4
                      , GHC==8.6.5
                      , GHC==8.8.3
                      , GHC==8.10.1

category:               Text
synopsis:               Pure Haskell Tagged DFA Backend for "Text.Regex" 
(regex-base)
description:
  This package provides a pure Haskell \"Tagged\" DFA regex engine for 
<//hackage.haskell.org/package/regex-base regex-base>. This implementation was 
inspired by the algorithm (and Master's thesis) behind the regular expression 
library known as <https://github.com/laurikari/tre/ TRE or libtre>.
  .
  Please consult the "Text.Regex.TDFA" module for API documentation including a 
tutorial with usage examples;
  see also <https://wiki.haskell.org/Regular_expressions> for general 
information about regular expression support in Haskell.

extra-source-files:
  CHANGELOG.md
  test/cases/*.txt

source-repository head
  type:                git
  location:            https://github.com/hvr/regex-tdfa.git

flag force-O2
  default: False
  manual: True
  description:
    Force building @regex-tdfa@ with \"@ghc-options: -O2@\".
    .
    __NOTE__: This flag is mostly provided for legacy use-cases. Nowadays you 
can conveniently control optimization levels on a per-package granularity via 
@cabal.project@ files; see 
<https://cabal.readthedocs.io/en/latest/nix-local-build.html#configuring-builds-with-cabal-project
 cabal's user-guide> for more details.

library
  hs-source-dirs:       lib

  exposed-modules:      Data.IntMap.CharMap2
                        Data.IntMap.EnumMap2
                        Data.IntSet.EnumSet2
                        Text.Regex.TDFA
                        Text.Regex.TDFA.ByteString
                        Text.Regex.TDFA.ByteString.Lazy
                        Text.Regex.TDFA.Common
                        Text.Regex.TDFA.CorePattern
                        Text.Regex.TDFA.IntArrTrieSet
                        Text.Regex.TDFA.NewDFA.Engine
                        Text.Regex.TDFA.NewDFA.Engine_FA
                        Text.Regex.TDFA.NewDFA.Engine_NC
                        Text.Regex.TDFA.NewDFA.Engine_NC_FA
                        Text.Regex.TDFA.NewDFA.Tester
                        Text.Regex.TDFA.NewDFA.Uncons
                        Text.Regex.TDFA.NewDFA.MakeTest
                        Text.Regex.TDFA.Pattern
                        Text.Regex.TDFA.ReadRegex
                        Text.Regex.TDFA.Sequence
                        Text.Regex.TDFA.String
                        Text.Regex.TDFA.TDFA
                        Text.Regex.TDFA.TNFA
                        Text.Regex.TDFA.Text
                        Text.Regex.TDFA.Text.Lazy

  other-modules:        Paths_regex_tdfa

  -- Support Semigroup instances uniformly
  --
  -- See also
  --  
https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid#RecommendedVariant
  --
  -- NB: This is the same logic `parsec.cabal` uses, so this doesn't
  -- add any new dependency that isn't already incurred by
  -- `regex-tdfa`'s transitive deps
  if !impl(ghc >= 8.0)
    build-depends:      fail               == 4.9.*
                      , semigroups         == 0.18.* || == 0.19.*
  build-depends:        array              >= 0.4 && < 0.6
                      , base               >= 4.5 && < 4.15
                      , bytestring         >= 0.9.2 && < 0.11
                      , containers         >= 0.4.2 && < 0.7
                      , mtl                >= 2.1.3 && < 2.3
                      , parsec             == 3.1.*
                      , regex-base         == 0.94.*
                      , text               >= 1.2.3 && < 1.3

  default-language:     Haskell2010
  default-extensions:   BangPatterns
                        ExistentialQuantification
                        FlexibleContexts
                        FlexibleInstances
                        ForeignFunctionInterface
                        FunctionalDependencies
                        MagicHash
                        MultiParamTypeClasses
                        NoMonoPatBinds
                        NondecreasingIndentation
                        RecursiveDo
                        TypeOperators
                        TypeSynonymInstances
                        UnboxedTuples
                        UnliftedFFITypes
  other-extensions:     CPP

  ghc-options:          -Wall -funbox-strict-fields -fspec-constr-count=10 
-fno-warn-orphans

  if flag(force-O2)
    ghc-options:        -O2


test-suite regex-tdfa-unittest
  type:                 exitcode-stdio-1.0

  hs-source-dirs:       test
  main-is:              Main.hs

  -- intra-package dependency
  build-depends:        regex-tdfa

  -- dependencies whose version constraints are inherited via intra-package 
'regex-tdfa' dependency
  if !impl(ghc >= 8.0)
    build-depends:      fail
                      , semigroups
  build-depends:        array
                      , base
                      , bytestring
                      , containers
                      , filepath
                      , mtl
                      , regex-base
                      , text

  -- component-specific dependencies not inherited via 'regex-tdfa'
                      , directory          >= 1.1.0  && < 1.4
                      , filepath           >= 1.3.0  && < 1.5
                      , utf8-string        >= 1.0.1  && < 1.1

  default-language:     Haskell2010
  default-extensions:   FlexibleInstances
                        FlexibleContexts
                        Rank2Types
  other-extensions:     GeneralizedNewtypeDeriving

  ghc-options:          -Wall -funbox-strict-fields

  if flag(force-O2)
    ghc-options:        -O2

Reply via email to