Test dependency between module and META.yml.

This module reads META.yml and get build_requires and requires.
It compares required module is really used and used module is
really required.

WWW:	http://search.cpan.org/dist/Test-Module-Used/

PR:		142818
Submitted by:	Takuya Tsuchida <tsucchi@cpan.org>
This commit is contained in:
Dmitry Marakasov 2010-01-14 16:37:31 +00:00
parent 5943461e13
commit 5b66141e77
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247870
5 changed files with 44 additions and 0 deletions

View File

@ -2065,6 +2065,7 @@
SUBDIR += p5-Test-MockObject
SUBDIR += p5-Test-MockRandom
SUBDIR += p5-Test-MockTime
SUBDIR += p5-Test-Module-Used
SUBDIR += p5-Test-Most
SUBDIR += p5-Test-NoWarnings
SUBDIR += p5-Test-Number-Delta

View File

@ -0,0 +1,28 @@
# New ports collection makefile for: p5-Test-Module-Used
# Date created: 2010-01-14
# Whom: Takuya Tsuchida <tsucchi@cpan.org>
#
# $FreeBSD$
#
PORTNAME= Test-Module-Used
PORTVERSION= 0.1.8
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= tsucchi@cpan.org
COMMENT= Test required module is really used and vice versa
RUN_DEPENDS= p5-YAML>=0.68:${PORTSDIR}/textproc/p5-YAML \
p5-List-MoreUtils>=0.24:${PORTSDIR}/lang/p5-List-MoreUtils \
p5-Module-CoreList>=2.18:${PORTSDIR}/devel/p5-Module-CoreList \
p5-PPI>=1.205:${PORTSDIR}/textproc/p5-PPI \
p5-version>=0.77:${PORTSDIR}/devel/p5-version \
p5-Module-Used>=v1.2.0:${PORTSDIR}/devel/p5-Module-Used
BUILD_DEPENDS:= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Test::Module::Used.3
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (Test-Module-Used-0.1.8.tar.gz) = 4fe2c075f39832e15cfecbde06dd38c0
SHA256 (Test-Module-Used-0.1.8.tar.gz) = 91d31fa0cfa053f816f4ca49eee0ddfeff2ae98d86184e8717d1d9e887cbd0b2
SIZE (Test-Module-Used-0.1.8.tar.gz) = 20781

View File

@ -0,0 +1,7 @@
Test dependency between module and META.yml.
This module reads META.yml and get build_requires and requires.
It compares required module is really used and used module is
really required.
WWW: http://search.cpan.org/dist/Test-Module-Used/

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/Test/Module/Used.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Module/Used/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Module/Used
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Module
@dirrmtry %%SITE_PERL%%/Test/Module