From owner-svn-ports-head@freebsd.org Thu Jun 13 18:20:31 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BE4B15B95B7; Thu, 13 Jun 2019 18:20:31 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FC888FEC7; Thu, 13 Jun 2019 18:20:31 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 03B5342BC; Thu, 13 Jun 2019 18:20:31 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5DIKUgx054949; Thu, 13 Jun 2019 18:20:30 GMT (envelope-from kai@FreeBSD.org) Received: (from kai@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5DIKUVS054946; Thu, 13 Jun 2019 18:20:30 GMT (envelope-from kai@FreeBSD.org) Message-Id: <201906131820.x5DIKUVS054946@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kai set sender to kai@FreeBSD.org using -f From: Kai Knoblich Date: Thu, 13 Jun 2019 18:20:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504128 - in head/textproc: . p5-Test-Regexp X-SVN-Group: ports-head X-SVN-Commit-Author: kai X-SVN-Commit-Paths: in head/textproc: . p5-Test-Regexp X-SVN-Commit-Revision: 504128 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2FC888FEC7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.975,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2019 18:20:31 -0000 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 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 +# $FreeBSD$ + +PORTNAME= Test-Regexp +PORTVERSION= 2017040101 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= svysh.fbsd@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 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