From owner-svn-ports-all@freebsd.org Fri Apr 6 16:26:10 2018 Return-Path: Delivered-To: svn-ports-all@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 36679F92F07; Fri, 6 Apr 2018 16:26:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE9E984D1A; Fri, 6 Apr 2018 16:26:09 +0000 (UTC) (envelope-from sunpoet@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 D55CD14359; Fri, 6 Apr 2018 16:26:09 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w36GQ97f032672; Fri, 6 Apr 2018 16:26:09 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w36GQ9qi032667; Fri, 6 Apr 2018 16:26:09 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201804061626.w36GQ9qi032667@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 6 Apr 2018 16:26:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466651 - in head/devel: . p5-Test-Log-Log4perl X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . p5-Test-Log-Log4perl X-SVN-Commit-Revision: 466651 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2018 16:26:10 -0000 Author: sunpoet Date: Fri Apr 6 16:26:09 2018 New Revision: 466651 URL: https://svnweb.freebsd.org/changeset/ports/466651 Log: Add p5-Test-Log-Log4perl 0.32 Test::Log::Log4perl can be used to test that you're logging the right thing with Log::Log4perl. It checks that we get what, and only what, we expect logged by your code. The basic process is very simple. Within your test script you get one or more loggers from Test::Log::Log4perl with the get_logger method just like you would with Log::Log4perl. You're going to use these loggers to declare what you think the code you're going to test should be logging. WWW: http://search.cpan.org/dist/Test-Log-Log4perl/ Added: head/devel/p5-Test-Log-Log4perl/ head/devel/p5-Test-Log-Log4perl/Makefile (contents, props changed) head/devel/p5-Test-Log-Log4perl/distinfo (contents, props changed) head/devel/p5-Test-Log-Log4perl/pkg-descr (contents, props changed) head/devel/p5-Test-Log-Log4perl/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Apr 6 16:08:02 2018 (r466650) +++ head/devel/Makefile Fri Apr 6 16:26:09 2018 (r466651) @@ -3491,6 +3491,7 @@ SUBDIR += p5-Test-LeakTrace SUBDIR += p5-Test-LectroTest SUBDIR += p5-Test-LoadAllModules + SUBDIR += p5-Test-Log-Log4perl SUBDIR += p5-Test-Log4perl SUBDIR += p5-Test-LongString SUBDIR += p5-Test-Manifest Added: head/devel/p5-Test-Log-Log4perl/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Test-Log-Log4perl/Makefile Fri Apr 6 16:26:09 2018 (r466651) @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Test-Log-Log4perl +PORTVERSION= 0.32 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Test log4perl + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Log-Log4perl>=0:devel/p5-Log-Log4perl +RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception + +USE_PERL5= configure +USES= perl5 + +.include Added: head/devel/p5-Test-Log-Log4perl/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Test-Log-Log4perl/distinfo Fri Apr 6 16:26:09 2018 (r466651) @@ -0,0 +1,3 @@ +TIMESTAMP = 1523025949 +SHA256 (Test-Log-Log4perl-0.32.tar.gz) = 23ebbb05893a05ebfe397fbce55152df8f9d6500125a8042f1aa6cfa93fc23c4 +SIZE (Test-Log-Log4perl-0.32.tar.gz) = 28530 Added: head/devel/p5-Test-Log-Log4perl/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Test-Log-Log4perl/pkg-descr Fri Apr 6 16:26:09 2018 (r466651) @@ -0,0 +1,10 @@ +Test::Log::Log4perl can be used to test that you're logging the right thing with +Log::Log4perl. It checks that we get what, and only what, we expect logged by +your code. + +The basic process is very simple. Within your test script you get one or more +loggers from Test::Log::Log4perl with the get_logger method just like you would +with Log::Log4perl. You're going to use these loggers to declare what you think +the code you're going to test should be logging. + +WWW: http://search.cpan.org/dist/Test-Log-Log4perl/ Added: head/devel/p5-Test-Log-Log4perl/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Test-Log-Log4perl/pkg-plist Fri Apr 6 16:26:09 2018 (r466651) @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Test/Log/Log4perl.pm +%%PERL5_MAN3%%/Test::Log::Log4perl.3.gz