pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/hs-regex-tdfa Import regex-tdfa-1.3.1.0 from wip



details:   https://anonhg.NetBSD.org/pkgsrc/rev/35933619b893
branches:  trunk
changeset: 409732:35933619b893
user:      pho <pho%pkgsrc.org@localhost>
date:      Sun Jan 19 23:45:50 2020 +0000

description:
Import regex-tdfa-1.3.1.0 from wip

This package provides a pure Haskell "Tagged" DFA regex engine for
regex-base. This implementation was inspired by the algorithm (and
Master's thesis) behind the regular expression library known as TRE or
libtre.

diffstat:

 textproc/hs-regex-tdfa/DESCR          |   4 ++++
 textproc/hs-regex-tdfa/Makefile       |  15 +++++++++++++++
 textproc/hs-regex-tdfa/buildlink3.mk  |  15 +++++++++++++++
 textproc/hs-regex-tdfa/distinfo       |   6 ++++++
 textproc/hs-regex-tdfa/files/Setup.hs |   2 ++
 5 files changed, 42 insertions(+), 0 deletions(-)

diffs (62 lines):

diff -r f7ee2786d0b5 -r 35933619b893 textproc/hs-regex-tdfa/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-regex-tdfa/DESCR      Sun Jan 19 23:45:50 2020 +0000
@@ -0,0 +1,4 @@
+This package provides a pure Haskell "Tagged" DFA regex engine for
+regex-base. This implementation was inspired by the algorithm (and
+Master's thesis) behind the regular expression library known as TRE or
+libtre.
diff -r f7ee2786d0b5 -r 35933619b893 textproc/hs-regex-tdfa/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-regex-tdfa/Makefile   Sun Jan 19 23:45:50 2020 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2020/01/19 23:45:50 pho Exp $
+
+DISTNAME=      regex-tdfa-1.3.1.0
+CATEGORIES=    textproc
+
+MAINTAINER=    pho%cielonegro.org@localhost
+COMMENT=       Pure Haskell Tagged DFA Backend for "Text.Regex" (regex-base)
+LICENSE=       modified-bsd
+
+post-patch:
+       ${RUN}${CP} -f ${FILESDIR}/Setup.hs ${WRKSRC}/
+
+.include "../../mk/haskell.mk"
+.include "../../textproc/hs-regex-base/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f7ee2786d0b5 -r 35933619b893 textproc/hs-regex-tdfa/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-regex-tdfa/buildlink3.mk      Sun Jan 19 23:45:50 2020 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/19 23:45:50 pho Exp $
+
+BUILDLINK_TREE+=       hs-regex-tdfa
+
+.if !defined(HS_REGEX_TDFA_BUILDLINK3_MK)
+HS_REGEX_TDFA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-regex-tdfa+=  hs-regex-tdfa>=1.3.1
+BUILDLINK_ABI_DEPENDS.hs-regex-tdfa+=  hs-regex-tdfa>=1.3.1.0
+BUILDLINK_PKGSRCDIR.hs-regex-tdfa?=    ../../textproc/hs-regex-tdfa
+
+.include "../../textproc/hs-regex-base/buildlink3.mk"
+.endif # HS_REGEX_TDFA_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-regex-tdfa
diff -r f7ee2786d0b5 -r 35933619b893 textproc/hs-regex-tdfa/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-regex-tdfa/distinfo   Sun Jan 19 23:45:50 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/19 23:45:50 pho Exp $
+
+SHA1 (regex-tdfa-1.3.1.0.tar.gz) = b71d6416f41989033730c9bdd788d21a61429224
+RMD160 (regex-tdfa-1.3.1.0.tar.gz) = 2fe621d6e90d052aa72312f50c9f145d636e600c
+SHA512 (regex-tdfa-1.3.1.0.tar.gz) = becac929003ea2c1a8fe1e890a53d3cb914eeb02090a23d014120d04ee144e24c2c7bdfaadd58a2dd70ed49df1e0059a3f8a94faa4ce0a6efd533ee6019c951f
+Size (regex-tdfa-1.3.1.0.tar.gz) = 77767 bytes
diff -r f7ee2786d0b5 -r 35933619b893 textproc/hs-regex-tdfa/files/Setup.hs
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-regex-tdfa/files/Setup.hs     Sun Jan 19 23:45:50 2020 +0000
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain



Home | Main Index | Thread Index | Old Index