pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Guard Importing package for p5 module Guard a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b32b6db7a345
branches:  trunk
changeset: 397096:b32b6db7a345
user:      sno <sno%pkgsrc.org@localhost>
date:      Sat Aug 08 20:52:22 2009 +0000

description:
Importing package for p5 module Guard as dependency for devel/p5-AnyEvent.

This module implements so-called "guards". A guard is something (usually an
object) that "guards" a resource, ensuring that it is cleaned up when
expected.

Specifically, this module supports two different types of guards: guard
objects, which execute a given code block when destroyed, and scoped guards,
which are tied to the scope exit.

diffstat:

 devel/p5-Guard/DESCR    |   7 +++++++
 devel/p5-Guard/Makefile |  20 ++++++++++++++++++++
 devel/p5-Guard/distinfo |   5 +++++
 3 files changed, 32 insertions(+), 0 deletions(-)

diffs (44 lines):

diff -r 8fb07e9619d2 -r b32b6db7a345 devel/p5-Guard/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Guard/DESCR      Sat Aug 08 20:52:22 2009 +0000
@@ -0,0 +1,7 @@
+This module implements so-called "guards". A guard is something (usually an
+object) that "guards" a resource, ensuring that it is cleaned up when
+expected.
+
+Specifically, this module supports two different types of guards: guard
+objects, which execute a given code block when destroyed, and scoped guards,
+which are tied to the scope exit.
diff -r 8fb07e9619d2 -r b32b6db7a345 devel/p5-Guard/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Guard/Makefile   Sat Aug 08 20:52:22 2009 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/08 20:52:22 sno Exp $
+
+DISTNAME=      Guard-1.021
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/ML/MLEHMANN/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Guard/
+COMMENT=       Perl5 module to safe cleanup blocks
+LICENSE=       ${PERL5_LICENSE}
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_LANGUAGES= c
+PERL5_PACKLIST=        auto/Guard/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8fb07e9619d2 -r b32b6db7a345 devel/p5-Guard/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Guard/distinfo   Sat Aug 08 20:52:22 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/08 20:52:22 sno Exp $
+
+SHA1 (Guard-1.021.tar.gz) = a2e6ca5a8336add12c5a75cbd7408e14f62d2a77
+RMD160 (Guard-1.021.tar.gz) = d432ea4c9fdff3eaa41fe786cb52201acb870d27
+Size (Guard-1.021.tar.gz) = 6621 bytes



Home | Main Index | Thread Index | Old Index