pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/hs-regex-compat-tdfa textproc/hs-regex-compat...
details: https://anonhg.NetBSD.org/pkgsrc/rev/17f0f46b36f4
branches: trunk
changeset: 373898:17f0f46b36f4
user: pho <pho%pkgsrc.org@localhost>
date: Mon Feb 14 14:42:57 2022 +0000
description:
textproc/hs-regex-compat-tdfa: import hs-regex-compat-tdfa-0.95.1.4
This package provide a fork of the regex-compat package which supports
Unicode.
diffstat:
textproc/hs-regex-compat-tdfa/DESCR | 2 +
textproc/hs-regex-compat-tdfa/Makefile | 13 ++++++++++
textproc/hs-regex-compat-tdfa/PLIST | 19 +++++++++++++++
textproc/hs-regex-compat-tdfa/buildlink3.mk | 16 ++++++++++++
textproc/hs-regex-compat-tdfa/distinfo | 6 ++++
textproc/hs-regex-compat-tdfa/patches/patch-Text_Regex.hs | 15 +++++++++++
6 files changed, 71 insertions(+), 0 deletions(-)
diffs (95 lines):
diff -r 1418645802da -r 17f0f46b36f4 textproc/hs-regex-compat-tdfa/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-regex-compat-tdfa/DESCR Mon Feb 14 14:42:57 2022 +0000
@@ -0,0 +1,2 @@
+This package provide a fork of the regex-compat package which supports
+Unicode.
diff -r 1418645802da -r 17f0f46b36f4 textproc/hs-regex-compat-tdfa/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-regex-compat-tdfa/Makefile Mon Feb 14 14:42:57 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2022/02/14 14:42:57 pho Exp $
+
+DISTNAME= regex-compat-tdfa-0.95.1.4
+CATEGORIES= textproc
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Unicode supporting version of Text.Regex, using regex-tdfa
+LICENSE= modified-bsd
+
+.include "../../textproc/hs-regex-base/buildlink3.mk"
+.include "../../textproc/hs-regex-tdfa/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1418645802da -r 17f0f46b36f4 textproc/hs-regex-compat-tdfa/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-regex-compat-tdfa/PLIST Mon Feb 14 14:42:57 2022 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/14 14:42:57 pho Exp $
+lib/regex-compat-tdfa-${PKGVERSION}/${HS_VERSION}/package-description
+lib/regex-compat-tdfa-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Regex.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Regex.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Regex.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/regex-compat-tdfa-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/regex-compat-tdfa-${PKGVERSION}/html/Text-Regex.html
+share/doc/${HS_PLATFORM}/regex-compat-tdfa-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/regex-compat-tdfa-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/regex-compat-tdfa-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/regex-compat-tdfa-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/regex-compat-tdfa-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/regex-compat-tdfa-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/regex-compat-tdfa-${PKGVERSION}/html/regex-compat-tdfa.haddock
+share/doc/${HS_PLATFORM}/regex-compat-tdfa-${PKGVERSION}/html/synopsis.png
diff -r 1418645802da -r 17f0f46b36f4 textproc/hs-regex-compat-tdfa/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-regex-compat-tdfa/buildlink3.mk Mon Feb 14 14:42:57 2022 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/14 14:42:57 pho Exp $
+
+BUILDLINK_TREE+= hs-regex-compat-tdfa
+
+.if !defined(HS_REGEX_COMPAT_TDFA_BUILDLINK3_MK)
+HS_REGEX_COMPAT_TDFA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-regex-compat-tdfa+= hs-regex-compat-tdfa>=0.95.1
+BUILDLINK_ABI_DEPENDS.hs-regex-compat-tdfa+= hs-regex-compat-tdfa>=0.95.1.4
+BUILDLINK_PKGSRCDIR.hs-regex-compat-tdfa?= ../../textproc/hs-regex-compat-tdfa
+
+.include "../../textproc/hs-regex-base/buildlink3.mk"
+.include "../../textproc/hs-regex-tdfa/buildlink3.mk"
+.endif # HS_REGEX_COMPAT_TDFA_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-regex-compat-tdfa
diff -r 1418645802da -r 17f0f46b36f4 textproc/hs-regex-compat-tdfa/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-regex-compat-tdfa/distinfo Mon Feb 14 14:42:57 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/14 14:42:57 pho Exp $
+
+BLAKE2s (regex-compat-tdfa-0.95.1.4.tar.gz) = ec78b18adf8947ff23aabc8f22930c2de93ae0f608c8833593eeb90484a2929b
+SHA512 (regex-compat-tdfa-0.95.1.4.tar.gz) = 7e387a7713ff8e43cfce4262b1288b85f8b60729162a842186bf6a7e1078dfb9e26013087ff7e9bcf81521f8c352926873bb280b9df57b016aef2ca4ce70aa14
+Size (regex-compat-tdfa-0.95.1.4.tar.gz) = 4146 bytes
+SHA1 (patch-Text_Regex.hs) = 0cf5feac131cafa73d8857ff695ba5d647f7412e
diff -r 1418645802da -r 17f0f46b36f4 textproc/hs-regex-compat-tdfa/patches/patch-Text_Regex.hs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-regex-compat-tdfa/patches/patch-Text_Regex.hs Mon Feb 14 14:42:57 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Text_Regex.hs,v 1.1 2022/02/14 14:42:57 pho Exp $
+
+Fix build with GHC 9.2
+
+--- Text/Regex.hs.orig 2022-02-14 13:00:42.545834464 +0000
++++ Text/Regex.hs
+@@ -139,7 +139,7 @@ behavior of the the original Text.Regex
+ splitRegex :: Regex -> String -> [String]
+ splitRegex _ [] = []
+ splitRegex delim strIn =
+- let matches = map (!0) (matchAll delim strIn)
++ let matches = map (! 0) (matchAll delim strIn)
+ go _i str [] = str : []
+ go i str ((off,len):rest) =
+ let i' = off+len
Home |
Main Index |
Thread Index |
Old Index