Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2014 11:45:50 +0000 (UTC)
From:      Frederic Culot <culot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367616 - in head/devel: . p5-Test-CleanNamespaces
Message-ID:  <201409081145.s88BjoGf020503@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: culot
Date: Mon Sep  8 11:45:50 2014
New Revision: 367616
URL: http://svnweb.freebsd.org/changeset/ports/367616
QAT: https://qat.redports.org/buildarchive/r367616/

Log:
  Test::CleanNamespaces lets you check your module's namespaces for imported
  functions you might have forgotten to remove with namespace::autoclean or
  namespace::clean and are therefore available to be called as methods, which
  usually isn't want you want.
  
  WWW: http://search.cpan.org/dist/Test-CleanNamespaces/

Added:
  head/devel/p5-Test-CleanNamespaces/
  head/devel/p5-Test-CleanNamespaces/Makefile   (contents, props changed)
  head/devel/p5-Test-CleanNamespaces/distinfo   (contents, props changed)
  head/devel/p5-Test-CleanNamespaces/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Sep  8 11:41:27 2014	(r367615)
+++ head/devel/Makefile	Mon Sep  8 11:45:50 2014	(r367616)
@@ -2857,6 +2857,7 @@
     SUBDIR += p5-Test-Class-Most
     SUBDIR += p5-Test-ClassAPI
     SUBDIR += p5-Test-Classy
+    SUBDIR += p5-Test-CleanNamespaces
     SUBDIR += p5-Test-Cmd
     SUBDIR += p5-Test-Command
     SUBDIR += p5-Test-Command-Simple

Added: head/devel/p5-Test-CleanNamespaces/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Test-CleanNamespaces/Makefile	Mon Sep  8 11:45:50 2014	(r367616)
@@ -0,0 +1,40 @@
+# Created by: Frederic Culot <culot@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Test-CleanNamespaces
+PORTVERSION=	0.16
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	culot@FreeBSD.org
+COMMENT=	Check for uncleaned imports
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-File-Find-Rule>0:${PORTSDIR}/devel/p5-File-Find-Rule \
+		p5-File-Find-Rule-Perl>0:${PORTSDIR}/devel/p5-File-Find-Rule-Perl \
+		p5-Module-Runtime>0:${PORTSDIR}/devel/p5-Module-Runtime \
+		p5-Package-Stash>=0.14:${PORTSDIR}/devel/p5-Package-Stash \
+		p5-Sub-Exporter>0:${PORTSDIR}/devel/p5-Sub-Exporter \
+		p5-Sub-Identify>0:${PORTSDIR}/devel/p5-Sub-Identify \
+		p5-namespace-clean>0:${PORTSDIR}/devel/p5-namespace-clean
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+TEST_DEPENDS=	p5-Test-Deep>0:${PORTSDIR}/devel/p5-Test-Deep \
+		p5-Test-Requires>0:${PORTSDIR}/devel/p5-Test-Requires \
+		p5-Test-Tester>0:${PORTSDIR}/devel/p5-Test-Tester \
+		p5-Test-Warnings>=0.009:${PORTSDIR}/devel/p5-Test-Warnings
+
+USES=		perl5
+USE_PERL5=	configure
+
+PLIST_FILES=	%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/CleanNamespaces/.packlist \
+		%%SITE_PERL%%/Test/CleanNamespaces.pm \
+		%%PERL5_MAN3%%/Test::CleanNamespaces.3.gz
+
+PLIST_DIRS=	%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/CleanNamespaces
+PLIST_DIRSTRY=	%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test \
+		%%SITE_PERL%%/Test
+
+.include <bsd.port.mk>

Added: head/devel/p5-Test-CleanNamespaces/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Test-CleanNamespaces/distinfo	Mon Sep  8 11:45:50 2014	(r367616)
@@ -0,0 +1,2 @@
+SHA256 (Test-CleanNamespaces-0.16.tar.gz) = 9779378394b9be32cf04129fafe2d40d74f6f200f593f1494998bd128a6ed9fa
+SIZE (Test-CleanNamespaces-0.16.tar.gz) = 30598

Added: head/devel/p5-Test-CleanNamespaces/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Test-CleanNamespaces/pkg-descr	Mon Sep  8 11:45:50 2014	(r367616)
@@ -0,0 +1,6 @@
+Test::CleanNamespaces lets you check your module's namespaces for imported
+functions you might have forgotten to remove with namespace::autoclean or
+namespace::clean and are therefore available to be called as methods, which
+usually isn't want you want.
+
+WWW: http://search.cpan.org/dist/Test-CleanNamespaces/



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