revise .cabal

This commit is contained in:
Jens Petersen 2022-06-18 00:21:41 +08:00
parent e210b9ba01
commit 6a9c5635cf
1 changed files with 25 additions and 26 deletions

View File

@ -1,18 +1,16 @@
Cabal-Version: 1.12 Cabal-Version: 1.12
Name: regex-pcre Name: regex-pcre
Version: 0.95.0.0 Version: 0.95.0.0
x-revision: 2 x-revision: 4
build-type: Simple build-type: Simple
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
copyright: Copyright (c) 2006, Christopher Kuklewicz copyright: Copyright (c) 2006, Christopher Kuklewicz
author: Christopher Kuklewicz author: Christopher Kuklewicz
maintainer: maintainer: Andreas Abel
Herbert Valerio Riedel <hvr@gnu.org>,
Andreas Abel
homepage: https://wiki.haskell.org/Regular_expressions homepage: https://wiki.haskell.org/Regular_expressions
bug-reports: https://github.com/hvr/regex-pcre/issues bug-reports: https://github.com/haskell-hvr/regex-pcre/issues
category: Text category: Text
synopsis: PCRE Backend for "Text.Regex" (regex-base) synopsis: PCRE Backend for "Text.Regex" (regex-base)
@ -25,22 +23,21 @@ extra-source-files:
ChangeLog.md ChangeLog.md
tested-with: tested-with:
-- Haskell CI: GHC == 9.4.1
GHC == 7.0.4 GHC == 9.2.2
GHC == 7.2.2 GHC == 9.0.2
GHC == 7.4.2 GHC == 8.10.7
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.4 GHC == 8.8.4
GHC == 8.10.3 GHC == 8.6.5
-- manually (AA, 2021-02-17): GHC == 8.4.4
-- GHC == 8.10.4 GHC == 8.2.2
-- GHC == 9.0.1 GHC == 8.0.2
GHC == 7.10.3
GHC == 7.8.4
GHC == 7.6.3
GHC == 7.4.2
GHC == 7.2.2
GHC == 7.0.4
flag pkg-config flag pkg-config
default: True default: True
@ -49,12 +46,12 @@ flag pkg-config
source-repository head source-repository head
type: git type: git
location: https://github.com/hvr/regex-pcre.git location: https://github.com/haskell-hvr/regex-pcre.git
source-repository this source-repository this
type: git type: git
location: https://github.com/hvr/regex-pcre.git location: https://github.com/haskell-hvr/regex-pcre.git
tag: 0.95.0.0-r2 tag: 0.95.0.0-r4
library library
hs-source-dirs: src hs-source-dirs: src
@ -81,7 +78,7 @@ library
FlexibleInstances FlexibleInstances
build-depends: regex-base == 0.94.* build-depends: regex-base == 0.94.*
, base >= 4.3 && < 4.16 , base >= 4.3 && < 5
, containers >= 0.4 && < 0.7 , containers >= 0.4 && < 0.7
, bytestring >= 0.9 && < 0.12 , bytestring >= 0.9 && < 0.12
, array >= 0.3 && < 0.6 , array >= 0.3 && < 0.6
@ -94,5 +91,7 @@ library
else else
extra-libraries: pcre extra-libraries: pcre
ghc-options: -O2 ghc-options:
-Wall -fno-warn-unused-imports -O2
-Wall -fno-warn-unused-imports
-- -Wcompat -- options cannot be changed in a revision