Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2016 15:09:40 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
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
Message-ID:  <201603141509.u2EF9erc018164@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <sunpoet@FreeBSD.org>
+# $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 <bsd.port.mk>

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 <tassilo.von.parseval\@rwth-aachen.de>, Adam Kennedy <adamk\@cpan.org>, Jens Rehsack <rehsack\@cpan.org>, Dave Rolsky <autarch\@urth.org>",
+   "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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603141509.u2EF9erc018164>