pcre-light 0.4.1.2 → 0.4.1.3
raw patch · 3 files changed
+25/−23 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- ChangeLog.md +6/−1
- Text/Regex/PCRE/Light/Base.hsc +6/−0
- pcre-light.cabal +13/−22
ChangeLog.md view
@@ -1,7 +1,12 @@ # Changelog for pcre-light +## 0.4.1.3+- Remove old-base flag.+- Fix [#18](https://codeberg.org/daniel-casanueva/pcre-light/issues/18).+- Metadata update.+ ## 0.4.1.2-- Replace finalizerFree with c_pcre_free. ([PR 17](https://gitlab.com/daniel-casanueva/pcre-light/-/merge_requests/17))+- Replace finalizerFree with c_pcre_free. ([PR 17](https://gitlab.com/daniel-casanueva/haskell/pcre-light/-/merge_requests/17)) ## 0.4.1.1 - Bugfix where ByteString.empty was treated differently than the empty ByteString `""`
Text/Regex/PCRE/Light/Base.hsc view
@@ -1,5 +1,11 @@ {-# LANGUAGE CPP, ForeignFunctionInterface, CApiFFI #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-}++#if __GLASGOW_HASKELL__ < 910+-- Disable dodgy-foreign-imports warnings.+-- See https://gitlab.com/daniel-casanueva/pcre-light/-/merge_requests/17+{-# OPTIONS_GHC -Wno-dodgy-foreign-imports #-}+#endif -------------------------------------------------------------------- -- | -- Module : Text.Regex.PCRE.Light.Base
pcre-light.cabal view
@@ -1,6 +1,6 @@ name: pcre-light-version: 0.4.1.2-homepage: https://gitlab.com/daniel-casanueva/pcre-light+version: 0.4.1.3+homepage: https://gitlab.com/daniel-casanueva/haskell/pcre-light synopsis: Portable regex library for Perl 5 compatible regular expressions description: A small, efficient and portable regex library for Perl 5 compatible regular expressions.@@ -16,14 +16,11 @@ license-file: LICENSE copyright: (c) 2007-2010. Don Stewart <dons@galois.com> author: Don Stewart-maintainer: Daniel Casanueva <daniel.casanueva `at` proton.me>+maintainer: Daniel Casanueva <coding `at` danielcasanueva.eu>+bug-reports: https://codeberg.org/daniel-casanueva/pcre-light cabal-version: 1.18 build-type: Simple-extra-doc-files: README.md, ChangeLog.md--flag old_base- description: Build with an old version of base (< 3)- default: False+extra-doc-files: README.md, ChangeLog.md flag use-pkg-config default: False@@ -37,10 +34,7 @@ default-language: Haskell2010 default-extensions: CPP, ForeignFunctionInterface - if flag(old_base)- build-depends: base < 3- else- build-depends: base >= 3 && <= 5, bytestring >= 0.9+ build-depends: base >= 3 && <= 5, bytestring >= 0.9 if flag(use-pkg-config) pkgconfig-depends: libpcre@@ -52,13 +46,10 @@ default-language: Haskell2010 hs-source-dirs: tests main-is: Unit.hs- if flag(old_base)- build-depends: base < 3- else- build-depends: - base >= 3 && <= 5- , bytestring >= 0.9- , containers >= 0.5.5.1- , HUnit >= 1.2.5.2- , mtl >= 2.1.3.2- , pcre-light+ build-depends: + base >= 3 && <= 5+ , bytestring >= 0.9+ , containers >= 0.5.5.1+ , HUnit >= 1.2.5.2+ , mtl >= 2.1.3.2+ , pcre-light