From owner-svn-ports-head@FreeBSD.ORG Tue Oct 1 17:10:16 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 348E75C5; Tue, 1 Oct 2013 17:10:16 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 12B6C2A25; Tue, 1 Oct 2013 17:10:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r91HAFov079633; Tue, 1 Oct 2013 17:10:15 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r91HAF6S079626; Tue, 1 Oct 2013 17:10:15 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201310011710.r91HAF6S079626@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Tue, 1 Oct 2013 17:10:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328969 - in head/devel: . p5-Exporter-Tiny 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.14 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: Tue, 01 Oct 2013 17:10:16 -0000 Author: sunpoet Date: Tue Oct 1 17:10:14 2013 New Revision: 328969 URL: http://svnweb.freebsd.org/changeset/ports/328969 Log: - Add p5-Exporter-Tiny 0.026 Exporter::Tiny supports many of Sub::Exporter's external-facing features including renaming imported functions with the -as, -prefix and -suffix options; explicit destinations with the into option; and alternative installers with the installler option. But it's written in only about 40% as many lines of code and with zero non-core dependencies. Its internal-facing interface is closer to Exporter.pm, with configuration done through the @EXPORT, @EXPORT_OK and %EXPORT_TAGS package variables. Exporter::Tiny performs most of its internal duties (including resolution of tag names to sub names, resolution of sub names to coderefs, and installation of coderefs into the target package) as method calls, which means they can be overridden to provide interesting behaviour. WWW: http://search.cpan.org/dist/Exporter-Tiny/ Added: head/devel/p5-Exporter-Tiny/ head/devel/p5-Exporter-Tiny/Makefile (contents, props changed) head/devel/p5-Exporter-Tiny/distinfo (contents, props changed) head/devel/p5-Exporter-Tiny/pkg-descr (contents, props changed) head/devel/p5-Exporter-Tiny/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Oct 1 17:06:12 2013 (r328968) +++ head/devel/Makefile Tue Oct 1 17:10:14 2013 (r328969) @@ -1933,6 +1933,7 @@ SUBDIR += p5-Exporter-Easy SUBDIR += p5-Exporter-Lite SUBDIR += p5-Exporter-Tidy + SUBDIR += p5-Exporter-Tiny SUBDIR += p5-ExtUtils-AutoInstall SUBDIR += p5-ExtUtils-CBuilder SUBDIR += p5-ExtUtils-CChecker Added: head/devel/p5-Exporter-Tiny/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Exporter-Tiny/Makefile Tue Oct 1 17:10:14 2013 (r328969) @@ -0,0 +1,25 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Exporter-Tiny +PORTVERSION= 0.026 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Exporter with features of Sub::Exporter but only core dependencies + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +USE_PERL5= configure +USES= perl5 + +.include + +.if ${PERL_LEVEL} < 501400 +TEST_DEPENDS+= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include Added: head/devel/p5-Exporter-Tiny/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Exporter-Tiny/distinfo Tue Oct 1 17:10:14 2013 (r328969) @@ -0,0 +1,2 @@ +SHA256 (Exporter-Tiny-0.026.tar.gz) = 56bc5afe6e75632dcf0aa5fa848d40ff27a81a7ad40bbc17f8c5521bb7635c0d +SIZE (Exporter-Tiny-0.026.tar.gz) = 20066 Added: head/devel/p5-Exporter-Tiny/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Exporter-Tiny/pkg-descr Tue Oct 1 17:10:14 2013 (r328969) @@ -0,0 +1,15 @@ +Exporter::Tiny supports many of Sub::Exporter's external-facing features +including renaming imported functions with the -as, -prefix and -suffix options; +explicit destinations with the into option; and alternative installers with the +installler option. But it's written in only about 40% as many lines of code and +with zero non-core dependencies. + +Its internal-facing interface is closer to Exporter.pm, with configuration done +through the @EXPORT, @EXPORT_OK and %EXPORT_TAGS package variables. + +Exporter::Tiny performs most of its internal duties (including resolution of tag +names to sub names, resolution of sub names to coderefs, and installation of +coderefs into the target package) as method calls, which means they can be +overridden to provide interesting behaviour. + +WWW: http://search.cpan.org/dist/Exporter-Tiny/ Added: head/devel/p5-Exporter-Tiny/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Exporter-Tiny/pkg-plist Tue Oct 1 17:10:14 2013 (r328969) @@ -0,0 +1,6 @@ +%%SITE_PERL%%/Exporter/Tiny.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Exporter/Tiny/.packlist +%%PERL5_MAN3%%/Exporter::Tiny.3.gz +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Exporter/Tiny +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Exporter +@dirrmtry %%SITE_PERL%%/Exporter