pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/hs-regex-tdfa



Module Name:    pkgsrc
Committed By:   pho
Date:           Sun Jan 19 23:45:50 UTC 2020

Added Files:
        pkgsrc/textproc/hs-regex-tdfa: DESCR Makefile buildlink3.mk distinfo
        pkgsrc/textproc/hs-regex-tdfa/files: Setup.hs

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/hs-regex-tdfa/DESCR \
    pkgsrc/textproc/hs-regex-tdfa/Makefile \
    pkgsrc/textproc/hs-regex-tdfa/buildlink3.mk \
    pkgsrc/textproc/hs-regex-tdfa/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/hs-regex-tdfa/files/Setup.hs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/textproc/hs-regex-tdfa/DESCR
diff -u /dev/null pkgsrc/textproc/hs-regex-tdfa/DESCR:1.1
--- /dev/null   Sun Jan 19 23:45:50 2020
+++ pkgsrc/textproc/hs-regex-tdfa/DESCR Sun Jan 19 23:45:50 2020
@@ -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.
Index: pkgsrc/textproc/hs-regex-tdfa/Makefile
diff -u /dev/null pkgsrc/textproc/hs-regex-tdfa/Makefile:1.1
--- /dev/null   Sun Jan 19 23:45:50 2020
+++ pkgsrc/textproc/hs-regex-tdfa/Makefile      Sun Jan 19 23:45:50 2020
@@ -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"
Index: pkgsrc/textproc/hs-regex-tdfa/buildlink3.mk
diff -u /dev/null pkgsrc/textproc/hs-regex-tdfa/buildlink3.mk:1.1
--- /dev/null   Sun Jan 19 23:45:50 2020
+++ pkgsrc/textproc/hs-regex-tdfa/buildlink3.mk Sun Jan 19 23:45:50 2020
@@ -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
Index: pkgsrc/textproc/hs-regex-tdfa/distinfo
diff -u /dev/null pkgsrc/textproc/hs-regex-tdfa/distinfo:1.1
--- /dev/null   Sun Jan 19 23:45:50 2020
+++ pkgsrc/textproc/hs-regex-tdfa/distinfo      Sun Jan 19 23:45:50 2020
@@ -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

Index: pkgsrc/textproc/hs-regex-tdfa/files/Setup.hs
diff -u /dev/null pkgsrc/textproc/hs-regex-tdfa/files/Setup.hs:1.1
--- /dev/null   Sun Jan 19 23:45:50 2020
+++ pkgsrc/textproc/hs-regex-tdfa/files/Setup.hs        Sun Jan 19 23:45:50 2020
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain



Home | Main Index | Thread Index | Old Index