From owner-svn-ports-head@freebsd.org Mon Mar 14 15:09:42 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21D33ACF530; Mon, 14 Mar 2016 15:09:42 +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 mx1.freebsd.org (Postfix) with ESMTPS id D2BA9CA1; Mon, 14 Mar 2016 15:09:41 +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 u2EF9eEi018170; Mon, 14 Mar 2016 15:09:40 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2EF9erc018164; Mon, 14 Mar 2016 15:09:40 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201603141509.u2EF9erc018164@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 14 Mar 2016 15:09:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411083 - in head/devel: . p5-List-SomeUtils p5-List-SomeUtils/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 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: Mon, 14 Mar 2016 15:09:42 -0000 Author: sunpoet Date: Mon Mar 14 15:09:40 2016 New Revision: 411083 URL: https://svnweb.freebsd.org/changeset/ports/411083 Log: - Add p5-List-SomeUtils 0.51 List::SomeUtils provides some trivial but commonly needed functionality on lists which is not going to go into List::Util. All of the below functions are implementable in only a couple of lines of Perl code. Using the functions from this module however should give slightly better performance as everything is implemented in C. The pure-Perl implementation of these functions only serves as a fallback in case the C portions of this module couldn't be compiled on this machine. WWW: http://search.cpan.org/dist/List-SomeUtils/ Added: head/devel/p5-List-SomeUtils/ head/devel/p5-List-SomeUtils/Makefile (contents, props changed) head/devel/p5-List-SomeUtils/distinfo (contents, props changed) head/devel/p5-List-SomeUtils/files/ head/devel/p5-List-SomeUtils/files/patch-Makefile.PL (contents, props changed) head/devel/p5-List-SomeUtils/pkg-descr (contents, props changed) head/devel/p5-List-SomeUtils/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Mar 14 15:09:24 2016 (r411082) +++ head/devel/Makefile Mon Mar 14 15:09:40 2016 (r411083) @@ -2520,6 +2520,7 @@ SUBDIR += p5-List-Permutor SUBDIR += p5-List-PowerSet SUBDIR += p5-List-Rotation-Cycle + SUBDIR += p5-List-SomeUtils SUBDIR += p5-List-SomeUtils-XS SUBDIR += p5-List-Uniq SUBDIR += p5-List-UtilsBy Added: head/devel/p5-List-SomeUtils/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-List-SomeUtils/Makefile Mon Mar 14 15:09:40 2016 (r411083) @@ -0,0 +1,26 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= List-SomeUtils +PORTVERSION= 0.51 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Provide the stuff missing in List::Util + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= p5-Exporter-Tiny>=0:${PORTSDIR}/devel/p5-Exporter-Tiny \ + p5-List-SomeUtils-XS>=0:${PORTSDIR}/devel/p5-List-SomeUtils-XS \ + p5-Module-Implementation>=0:${PORTSDIR}/devel/p5-Module-Implementation +RUN_DEPENDS:= ${BUILD_DEPENDS} + +NO_ARCH= yes +USE_PERL5= configure +USES= perl5 + +.include Added: head/devel/p5-List-SomeUtils/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-List-SomeUtils/distinfo Mon Mar 14 15:09:40 2016 (r411083) @@ -0,0 +1,2 @@ +SHA256 (List-SomeUtils-0.51.tar.gz) = 17fc9ae1df51cf94aea14eb5e229b0e7737aed48a6a5ca40761ba387a2fdafc1 +SIZE (List-SomeUtils-0.51.tar.gz) = 55179 Added: head/devel/p5-List-SomeUtils/files/patch-Makefile.PL ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-List-SomeUtils/files/patch-Makefile.PL Mon Mar 14 15:09:40 2016 (r411083) @@ -0,0 +1,21 @@ +--- Makefile.PL.orig 2016-02-27 15:18:00 UTC ++++ Makefile.PL +@@ -13,7 +13,6 @@ my %WriteMakefileArgs = ( + "ABSTRACT" => "Provide the stuff missing in List::Util", + "AUTHOR" => "Tassilo von Parseval , Adam Kennedy , Jens Rehsack , Dave Rolsky ", + "CONFIGURE_REQUIRES" => { +- "ExtUtils::HasCompiler" => 0, + "ExtUtils::MakeMaker" => 0 + }, + "DISTNAME" => "List-SomeUtils", +@@ -76,9 +75,6 @@ unless ( eval { ExtUtils::MakeMaker->VER + delete $WriteMakefileArgs{CONFIGURE_REQUIRES} + unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; + +-use ExtUtils::HasCompiler qw( can_compile_loadable_object ); +-if ( can_compile_loadable_object( quiet => 1 ) ) { +- $WriteMakefileArgs{PREREQ_PM}{'List::SomeUtils::XS'} = 0; +-} ++$WriteMakefileArgs{PREREQ_PM}{'List::SomeUtils::XS'} = 0; + + WriteMakefile(%WriteMakefileArgs); Added: head/devel/p5-List-SomeUtils/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-List-SomeUtils/pkg-descr Mon Mar 14 15:09:40 2016 (r411083) @@ -0,0 +1,10 @@ +List::SomeUtils provides some trivial but commonly needed functionality on lists +which is not going to go into List::Util. + +All of the below functions are implementable in only a couple of lines of Perl +code. Using the functions from this module however should give slightly better +performance as everything is implemented in C. The pure-Perl implementation of +these functions only serves as a fallback in case the C portions of this module +couldn't be compiled on this machine. + +WWW: http://search.cpan.org/dist/List-SomeUtils/ Added: head/devel/p5-List-SomeUtils/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-List-SomeUtils/pkg-plist Mon Mar 14 15:09:40 2016 (r411083) @@ -0,0 +1,4 @@ +%%SITE_PERL%%/List/SomeUtils.pm +%%SITE_PERL%%/List/SomeUtils/PP.pm +%%PERL5_MAN3%%/List::SomeUtils.3.gz +%%PERL5_MAN3%%/List::SomeUtils::PP.3.gz