pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jul  8 13:48:33 UTC 2020

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/lua-lpeg-patterns: DESCR Makefile PLIST distinfo

Log Message:
devel: Add lua-lpeg-patterns

A collection of LPEG patterns.

Use cases:

- Strict validation of user input
- Searching free-form input


To generate a diff of this commit:
cvs rdiff -u -r1.3159 -r1.3160 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-lpeg-patterns/DESCR \
    pkgsrc/devel/lua-lpeg-patterns/Makefile \
    pkgsrc/devel/lua-lpeg-patterns/PLIST \
    pkgsrc/devel/lua-lpeg-patterns/distinfo

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3159 pkgsrc/devel/Makefile:1.3160
--- pkgsrc/devel/Makefile:1.3159        Wed Jul  8 12:52:07 2020
+++ pkgsrc/devel/Makefile       Wed Jul  8 13:48:33 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3159 2020/07/08 12:52:07 nia Exp $
+# $NetBSD: Makefile,v 1.3160 2020/07/08 13:48:33 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -860,6 +860,7 @@ SUBDIR+=    lua-gi
 SUBDIR+=       lua-inspect
 SUBDIR+=       lua-ljsyscall
 SUBDIR+=       lua-lpeg
+SUBDIR+=       lua-lpeg-patterns
 SUBDIR+=       lua-lrexlib
 SUBDIR+=       lua-lrexlib-onig
 SUBDIR+=       lua-lrexlib-pcre

Added files:

Index: pkgsrc/devel/lua-lpeg-patterns/DESCR
diff -u /dev/null pkgsrc/devel/lua-lpeg-patterns/DESCR:1.1
--- /dev/null   Wed Jul  8 13:48:33 2020
+++ pkgsrc/devel/lua-lpeg-patterns/DESCR        Wed Jul  8 13:48:33 2020
@@ -0,0 +1,6 @@
+A collection of LPEG patterns.
+
+Use cases:
+
+- Strict validation of user input
+- Searching free-form input
Index: pkgsrc/devel/lua-lpeg-patterns/Makefile
diff -u /dev/null pkgsrc/devel/lua-lpeg-patterns/Makefile:1.1
--- /dev/null   Wed Jul  8 13:48:33 2020
+++ pkgsrc/devel/lua-lpeg-patterns/Makefile     Wed Jul  8 13:48:33 2020
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2020/07/08 13:48:33 nia Exp $
+
+DISTNAME=      lpeg_patterns-0.5
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/_/-/g}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=daurnimator/}
+CATEGORIES=    devel lua
+GITHUB_PROJECT=        lpeg_patterns
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/daurnimator/lpeg_patterns
+COMMENT=       Collection of LPEG patterns
+LICENSE=       mit
+
+DEPENDS+=      ${LUA_PKGPREFIX}-lpeg-[0-9]*:../../devel/lua-lpeg
+
+USE_LANGUAGES= # none
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}/lpeg_patterns
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/lpeg_patterns/*.lua \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/lpeg_patterns
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/lua-lpeg-patterns/PLIST
diff -u /dev/null pkgsrc/devel/lua-lpeg-patterns/PLIST:1.1
--- /dev/null   Wed Jul  8 13:48:33 2020
+++ pkgsrc/devel/lua-lpeg-patterns/PLIST        Wed Jul  8 13:48:33 2020
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/08 13:48:33 nia Exp $
+${LUA_LDIR}/lpeg_patterns/IPv4.lua
+${LUA_LDIR}/lpeg_patterns/IPv6.lua
+${LUA_LDIR}/lpeg_patterns/core.lua
+${LUA_LDIR}/lpeg_patterns/email.lua
+${LUA_LDIR}/lpeg_patterns/http.lua
+${LUA_LDIR}/lpeg_patterns/language.lua
+${LUA_LDIR}/lpeg_patterns/phone.lua
+${LUA_LDIR}/lpeg_patterns/uri.lua
+${LUA_LDIR}/lpeg_patterns/util.lua
Index: pkgsrc/devel/lua-lpeg-patterns/distinfo
diff -u /dev/null pkgsrc/devel/lua-lpeg-patterns/distinfo:1.1
--- /dev/null   Wed Jul  8 13:48:33 2020
+++ pkgsrc/devel/lua-lpeg-patterns/distinfo     Wed Jul  8 13:48:33 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/08 13:48:33 nia Exp $
+
+SHA1 (lpeg_patterns-0.5.tar.gz) = 1989399e21407feb7c7e070e710fb3129961b332
+RMD160 (lpeg_patterns-0.5.tar.gz) = 2416e2cf13f50d6f6d9679341ca0673a66f53154
+SHA512 (lpeg_patterns-0.5.tar.gz) = 74e36083872cfa7ff8bb03927d075680b490b4d7ba55cee0cad7e1e27e6744809b05286a80967a19cd79f526168f53d362efa2b87c318efad726fa1ba3708f80
+Size (lpeg_patterns-0.5.tar.gz) = 26183 bytes



Home | Main Index | Thread Index | Old Index