pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Test-DependentModules Import p5-Test-Dependen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f03e50e425ec
branches:  trunk
changeset: 651685:f03e50e425ec
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat May 09 14:20:15 2015 +0000

description:
Import p5-Test-DependentModules-0.20 as devel/p5-Test-DependentModules.

WARNING: The tests this module does should never be included as part of a
normal CPAN install!
  This module is intended as a tool for module authors who would like to
easily test that a module release will not break dependencies. This is
particularly useful for module authors (like myself) who have modules which
are a dependency of many other modules.  How It Works

  Internally, this module will download dependencies from CPAN and run their
tests. If those dependencies in turn have unsatisfied dependencies, they
are installed into a temporary directory. These second-level (and third-,
etc) dependencies are not tested.

  In order to avoid prompting, this module sets $ENV{PERL_AUTOINSTALL} to
--defaultdeps and sets $ENV{PERL_MM_USE_DEFAULT} to a true value.
  Nonetheless, some ill-behaved modules will still wait for a
prompt. Unfortunately, because of the way this module attempts to keep
output to a minimum, you won't see these prompts. Patches are welcome.
Running Tests in Parallel
  If you're testing a lot of modules, you might benefit from running tests in
parallel. You'll need to have Parallel::ForkManager installed for this to
work.

  Set the $ENV{PERL_TEST_DM_PROCESSES} env var to a value greater than 1 to
enable parallel testing.

diffstat:

 devel/p5-Test-DependentModules/DESCR    |  24 ++++++++++++++++++++++++
 devel/p5-Test-DependentModules/Makefile |  28 ++++++++++++++++++++++++++++
 devel/p5-Test-DependentModules/distinfo |   5 +++++
 3 files changed, 57 insertions(+), 0 deletions(-)

diffs (69 lines):

diff -r 65958a3d469d -r f03e50e425ec devel/p5-Test-DependentModules/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-DependentModules/DESCR      Sat May 09 14:20:15 2015 +0000
@@ -0,0 +1,24 @@
+WARNING: The tests this module does should never be included as part of a
+normal CPAN install!
+  This module is intended as a tool for module authors who would like to
+easily test that a module release will not break dependencies. This is
+particularly useful for module authors (like myself) who have modules which
+are a dependency of many other modules.  How It Works
+
+  Internally, this module will download dependencies from CPAN and run their
+tests. If those dependencies in turn have unsatisfied dependencies, they
+are installed into a temporary directory. These second-level (and third-,
+etc) dependencies are not tested.
+
+  In order to avoid prompting, this module sets $ENV{PERL_AUTOINSTALL} to
+--defaultdeps and sets $ENV{PERL_MM_USE_DEFAULT} to a true value.
+  Nonetheless, some ill-behaved modules will still wait for a
+prompt. Unfortunately, because of the way this module attempts to keep
+output to a minimum, you won't see these prompts. Patches are welcome.
+Running Tests in Parallel
+  If you're testing a lot of modules, you might benefit from running tests in
+parallel. You'll need to have Parallel::ForkManager installed for this to
+work.
+
+  Set the $ENV{PERL_TEST_DM_PROCESSES} env var to a value greater than 1 to
+enable parallel testing.
diff -r 65958a3d469d -r f03e50e425ec devel/p5-Test-DependentModules/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-DependentModules/Makefile   Sat May 09 14:20:15 2015 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2015/05/09 14:20:15 mef Exp $
+
+DISTNAME=      Test-DependentModules-0.20
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Test/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/
+COMMENT=       Test all modules which depend on your module
+LICENSE=       artistic-2.0
+
+BUILD_DEPENDS+=        p5-Capture-Tiny-[0-9]*:../../devel/p5-Capture-Tiny
+BUILD_DEPENDS+=        p5-Module-Build-Tiny-[0-9]*:../../devel/p5-Module-Build-Tiny
+BUILD_DEPENDS+=        p5-File-chdir-[0-9]*:../../devel/p5-File-chdir
+BUILD_DEPENDS+=        p5-IO-Handle-Util-[0-9]*:../../devel/p5-IO-Handle-Util
+BUILD_DEPENDS+=        p5-IPC-Run3-[0-9]*:../../devel/p5-IPC-Run3
+BUILD_DEPENDS+=        p5-Log-Dispatch-[0-9]*:../../devel/p5-Log-Dispatch
+BUILD_DEPENDS+=        p5-MetaCPAN-Client-[0-9]*:../../devel/p5-MetaCPAN-Client
+BUILD_DEPENDS+=        p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny
+BUILD_DEPENDS+=        p5-File-Copy-Recursive-[0-9]*:../../sysutils/p5-File-Copy-Recursive
+
+PERL5_PACKLIST=        auto/Test/DependentModules/.packlist
+USE_LANGUAGES= # none
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 65958a3d469d -r f03e50e425ec devel/p5-Test-DependentModules/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-DependentModules/distinfo   Sat May 09 14:20:15 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/05/09 14:20:15 mef Exp $
+
+SHA1 (Test-DependentModules-0.20.tar.gz) = 0f8769954c5d952a83f03791711320bbd4c7f966
+RMD160 (Test-DependentModules-0.20.tar.gz) = e1f5e605d31d9e134a9683e7fadf36aab3b2731e
+Size (Test-DependentModules-0.20.tar.gz) = 26646 bytes



Home | Main Index | Thread Index | Old Index