Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel devel: Add lua-lpeg-patterns



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e05a161fa2af
branches:  trunk
changeset: 435487:e05a161fa2af
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jul 08 13:48:33 2020 +0000

description:
devel: Add lua-lpeg-patterns

A collection of LPEG patterns.

Use cases:

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

diffstat:

 devel/Makefile                   |   3 ++-
 devel/lua-lpeg-patterns/DESCR    |   6 ++++++
 devel/lua-lpeg-patterns/Makefile |  27 +++++++++++++++++++++++++++
 devel/lua-lpeg-patterns/PLIST    |  10 ++++++++++
 devel/lua-lpeg-patterns/distinfo |   6 ++++++
 5 files changed, 51 insertions(+), 1 deletions(-)

diffs (82 lines):

diff -r de5ddd4345f4 -r e05a161fa2af devel/Makefile
--- a/devel/Makefile    Wed Jul 08 13:14:38 2020 +0000
+++ b/devel/Makefile    Wed Jul 08 13:48:33 2020 +0000
@@ -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-inspect
 SUBDIR+=       lua-ljsyscall
 SUBDIR+=       lua-lpeg
+SUBDIR+=       lua-lpeg-patterns
 SUBDIR+=       lua-lrexlib
 SUBDIR+=       lua-lrexlib-onig
 SUBDIR+=       lua-lrexlib-pcre
diff -r de5ddd4345f4 -r e05a161fa2af devel/lua-lpeg-patterns/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-lpeg-patterns/DESCR     Wed Jul 08 13:48:33 2020 +0000
@@ -0,0 +1,6 @@
+A collection of LPEG patterns.
+
+Use cases:
+
+- Strict validation of user input
+- Searching free-form input
diff -r de5ddd4345f4 -r e05a161fa2af devel/lua-lpeg-patterns/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-lpeg-patterns/Makefile  Wed Jul 08 13:48:33 2020 +0000
@@ -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"
diff -r de5ddd4345f4 -r e05a161fa2af devel/lua-lpeg-patterns/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-lpeg-patterns/PLIST     Wed Jul 08 13:48:33 2020 +0000
@@ -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
diff -r de5ddd4345f4 -r e05a161fa2af devel/lua-lpeg-patterns/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-lpeg-patterns/distinfo  Wed Jul 08 13:48:33 2020 +0000
@@ -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