./filesystems/p5-Path-Tiny, Perl5 file path utility

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.122, Package name: p5-Path-Tiny-0.122, Maintainer: pkgsrc-users

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.


Required to run:
[lang/perl5]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

Filesize: 96.352 KB

Version history: (Expand)


CVS history: (Expand)


   2022-08-05 14:57:26 by Adrian Steinmann | Files touched by this commit (2) | Package updated
Log message:
filesystems/p5-Path-Tiny update to 0.122
  From upstream 0.122/0.121-TRIAL:
    - Adds `size` and `size_human` methods.  The latter gives `ls -lh` style
      output, with options to choose base2 or base10 forms.
  From upstream 0.120/0.119-TRIAL:
    - The `tempdir` and `tempfile` methods may be called on a Path::Tiny object
      representing a directory, in which case the directory will be used as the
      container for the temporary object (as if the `DIR` argument were used).
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-10-26 12:25:31 by Nia Alarie | Files touched by this commit (47)
Log message:
filesystems: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 15:51:05 by Nia Alarie | Files touched by this commit (47)
Log message:
filesystems: Remove SHA1 hashes for distfiles
   2021-05-24 21:56:06 by Thomas Klausner | Files touched by this commit (3575)
Log message:
*: recursive bump for perl 5.34
   2021-04-26 16:57:26 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Path-Tiny: update to 0.118.

0.118     2021-02-04 19:09:58-05:00 America/New_York

    - No changes from 0.117-TRIAL.

0.117     2021-01-31 21:22:29-05:00 America/New_York (TRIAL RELEASE)

    [Tests]

    - Skip symlink tests on Windows by actually testing symlinks, as Perl
      5.33.5 adds notional support but it's not possible without elevated
      privileges.

0.116     2021-01-22 10:32:22-05:00 America/New_York

    - No changes from 0.115-TRIAL.

0.115     2021-01-19 12:01:33-05:00 America/New_York (TRIAL RELEASE)

    [Tests]

    - Fixes tests on MSYS without symlinks enabled.
   2020-09-07 12:28:31 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Path-Tiny: update to 0.114.

0.114     2020-04-26 10:10:29-04:00 America/New_York

    - No changes from 0.113-TRIAL.

0.113     2020-04-14 16:06:58-04:00 America/New_York (TRIAL RELEASE)

    [Fixes]

    - Uses \z instead of $ in regular expressions

0.112     2020-01-28 22:12:16-05:00 America/New_York

    - No changes from 0.111-TRIAL.

0.111     2020-01-23 10:54:48-05:00 America/New_York (TRIAL RELEASE)

    - Another test fix on Windows, possibly due to a behavior change in
      Cwd::getdcwd.

0.110     2020-01-13 13:11:38-05:00 America/New_York

    - No changes from 0.109-TRIAL.

0.109     2020-01-02 12:24:25-05:00 America/New_York (TRIAL RELEASE)

    - Fixes tests on Windows, particularly with newer File::Spec.
   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631)
Log message:
*: bump PKGREVISION for perl-5.32.