pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/filesystems/p5-Path-Tiny Adding package for CPAN distr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/55c6f8cf50c0
branches:  trunk
changeset: 620973:55c6f8cf50c0
user:      sno <sno%pkgsrc.org@localhost>
date:      Wed Jul 03 15:13:33 2013 +0000

description:
Adding package for CPAN distribution Path-Tiny version 0.024 into
filesystems/p5-Path-Tiny.

This module attempts to provide a small, fast utility for working with
file paths. It is friendlier to use than File::Spec and provides easy
access to functions from several other core file handling modules.

It doesn't attempt to be as full-featured as IO::All or Path::Class,
nor does it try to work for anything except Unix-like and Win32 platforms.
Even then, it might break if you try something particularly obscure or
tortuous. (Quick! What does this mean: ///../../..//./././a//b/.././c/././?
And how does it differ on Win32?)

All paths are forced to have Unix-style forward slashes. Stringifying the
object gives you back the path (after some clean up).

File input/output methods flock handles before reading or writing, as
appropriate.

The *_utf8 methods (slurp_utf8, lines_utf8, etc.) operate in raw mode
without CRLF translation. Installing Unicode::UTF8 0.58 or later will speed
up several of them and is highly recommended.

It uses autodie internally, so most failures will be thrown as exceptions.

diffstat:

 filesystems/p5-Path-Tiny/DESCR    |  21 +++++++++++++++++++++
 filesystems/p5-Path-Tiny/Makefile |  28 ++++++++++++++++++++++++++++
 filesystems/p5-Path-Tiny/distinfo |   5 +++++
 3 files changed, 54 insertions(+), 0 deletions(-)

diffs (66 lines):

diff -r 08589ee876a1 -r 55c6f8cf50c0 filesystems/p5-Path-Tiny/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/p5-Path-Tiny/DESCR    Wed Jul 03 15:13:33 2013 +0000
@@ -0,0 +1,21 @@
+This module attempts to provide a small, fast utility for working with
+file paths. It is friendlier to use than File::Spec and provides easy
+access to functions from several other core file handling modules.
+
+It doesn't attempt to be as full-featured as IO::All or Path::Class,
+nor does it try to work for anything except Unix-like and Win32 platforms.
+Even then, it might break if you try something particularly obscure or
+tortuous. (Quick! What does this mean: ///../../..//./././a//b/.././c/././?
+And how does it differ on Win32?)
+
+All paths are forced to have Unix-style forward slashes. Stringifying the
+object gives you back the path (after some clean up).
+
+File input/output methods flock handles before reading or writing, as
+appropriate.
+
+The *_utf8 methods (slurp_utf8, lines_utf8, etc.) operate in raw mode
+without CRLF translation. Installing Unicode::UTF8 0.58 or later will speed
+up several of them and is highly recommended.
+
+It uses autodie internally, so most failures will be thrown as exceptions.
diff -r 08589ee876a1 -r 55c6f8cf50c0 filesystems/p5-Path-Tiny/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/p5-Path-Tiny/Makefile Wed Jul 03 15:13:33 2013 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2013/07/03 15:13:33 sno Exp $
+#
+
+DISTNAME=      Path-Tiny-0.024
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DA/DAGOLDEN/}
+
+MAINTAINER=    pkgsrc-p5-people%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Path-Tiny/
+COMMENT=       Perl5 file path utility
+LICENSE=       apache-2.0
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+PERL5_PACKLIST=                auto/Path/Tiny/.packlist
+
+DEPENDS+=      p5-autodie>=2.14:../../devel/p5-autodie
+DEPENDS+=      {perl>=5.18.0,p5-PathTools>=3.40}:../../devel/p5-PathTools
+
+BUILD_DEPENDS+=        p5-Devel-Hide-[0-9]*:../../devel/p5-Devel-Hide
+BUILD_DEPENDS+=        p5-File-pushd-[0-9]*:../../devel/p5-File-pushd
+BUILD_DEPENDS+=        p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep
+BUILD_DEPENDS+=        p5-Test-FailWarnings-[0-9]*:../../devel/p5-Test-FailWarnings
+BUILD_DEPENDS+=        p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 08589ee876a1 -r 55c6f8cf50c0 filesystems/p5-Path-Tiny/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/p5-Path-Tiny/distinfo Wed Jul 03 15:13:33 2013 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/03 15:13:33 sno Exp $
+
+SHA1 (Path-Tiny-0.024.tar.gz) = 2eb623e4397e0639d118bd92a44a12fd4cf2ad3c
+RMD160 (Path-Tiny-0.024.tar.gz) = d9604307ed68b988a74aa8ca103db37e3b20d57b
+Size (Path-Tiny-0.024.tar.gz) = 39314 bytes



Home | Main Index | Thread Index | Old Index