svn commit: r504128 - in head/textproc: . p5-Test-Regexp
Kai Knoblich
kai at FreeBSD.org
Thu Jun 13 18:20:31 UTC 2019
Author: kai
Date: Thu Jun 13 18:20:29 2019
New Revision: 504128
URL: https://svnweb.freebsd.org/changeset/ports/504128
Log:
New port: textproc/p5-Test-Regexp
This module is intended to test your regular expressions.
Given a subject string and a regular expression (aka pattern), the module not
only tests whether the regular expression complete matches the subject string,
it performs a utf8::upgrade or utf8::downgrade on the subject string and
performs the tests again, if necessary.
Furthermore, given a pattern with capturing parenthesis, it checks whether all
captures are present, and in the right order. Both named and unnamed captures
are checked.
WWW: https://metacpan.org/release/Test-Regexp
PR: 223918
Submitted by: Sergei Vyshenski <svysh.fbsd at gmail.com>
Added:
head/textproc/p5-Test-Regexp/
head/textproc/p5-Test-Regexp/Makefile (contents, props changed)
head/textproc/p5-Test-Regexp/distinfo (contents, props changed)
head/textproc/p5-Test-Regexp/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Thu Jun 13 16:57:38 2019 (r504127)
+++ head/textproc/Makefile Thu Jun 13 18:20:29 2019 (r504128)
@@ -802,6 +802,7 @@
SUBDIR += p5-Term-QRCode
SUBDIR += p5-Test-Groonga
SUBDIR += p5-Test-Perl-Critic
+ SUBDIR += p5-Test-Regexp
SUBDIR += p5-Text-ANSI-Util
SUBDIR += p5-Text-ANSI-WideUtil
SUBDIR += p5-Text-ANSITable
Added: head/textproc/p5-Test-Regexp/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-Test-Regexp/Makefile Thu Jun 13 18:20:29 2019 (r504128)
@@ -0,0 +1,26 @@
+# Created by: Sergei Vyshenski <svysh.fbsd at gmail.com>
+# $FreeBSD$
+
+PORTNAME= Test-Regexp
+PORTVERSION= 2017040101
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svysh.fbsd at gmail.com
+COMMENT= Test your regular expressions
+
+LICENSE= MIT
+
+TEST_DEPENDS= p5-Test-Pod>=1.51:devel/p5-Test-Pod \
+ p5-Test-Pod-Coverage>=1.10:devel/p5-Test-Pod-Coverage
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+PLIST_FILES= ${SITE_PERL_REL}/Test/Regexp.pm \
+ ${SITE_MAN3_REL}/Test::Regexp.3.gz
+
+.include <bsd.port.mk>
Added: head/textproc/p5-Test-Regexp/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-Test-Regexp/distinfo Thu Jun 13 18:20:29 2019 (r504128)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1511810217
+SHA256 (Test-Regexp-2017040101.tar.gz) = 35cb41df5c5017835b89b853d5a44e25e6da973b450e1edca51bba70e7041e54
+SIZE (Test-Regexp-2017040101.tar.gz) = 18904
Added: head/textproc/p5-Test-Regexp/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-Test-Regexp/pkg-descr Thu Jun 13 18:20:29 2019 (r504128)
@@ -0,0 +1,12 @@
+This module is intended to test your regular expressions.
+
+Given a subject string and a regular expression (aka pattern), the module not
+only tests whether the regular expression complete matches the subject string,
+it performs a utf8::upgrade or utf8::downgrade on the subject string and
+performs the tests again, if necessary.
+
+Furthermore, given a pattern with capturing parenthesis, it checks whether all
+captures are present, and in the right order. Both named and unnamed captures
+are checked.
+
+WWW: https://metacpan.org/release/Test-Regexp
More information about the svn-ports-all
mailing list