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

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


Branch: CURRENT, Version: 0.104nb1, Package name: p5-Path-Tiny-0.104nb1, 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)

SHA1: 5cdcad1149252ec18b7cc6501a98631dc6807922
RMD160: 3a5d27a5b6655b2b9903995d7182dda6b58b190f
Filesize: 90.831 KB

Version history: (Expand)


CVS history: (Expand)


   2018-01-19 12:24:11 by Thomas Klausner | Files touched by this commit (1)
Log message:
p5-Path-Tiny: remove unneeded build dependencies
   2018-01-19 10:27:48 by Thomas Klausner | Files touched by this commit (1)
Log message:
p5-Path-Tiny: remove unused build dependency

Marked as 'recommended' in META.json, but not used AFAICT.
At least tests still run successfully.
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2017-02-18 08:25:57 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.104

Upstream changes:
0.104     2017-02-17 07:17:00-05:00 America/New_York

    - No changes from 0.103-TRIAL.

0.103     2017-02-10 17:25:06-05:00 America/New_York (TRIAL RELEASE)

    [Bug fixes]

    - Path::Tiny 0.101 on Windows made `$path->absolute("/foo")` \ 
return an
      absolute path starting with 'C:/foo', which was an unintentional
      behavior change.  This release now uses any absolute base without
      further normalization.

0.101     2017-02-05 09:56:46-05:00 America/New_York (TRIAL RELEASE)

    [Changes]

    - The 'absolute' method now always returns an absolute path, even if a
      user provided a relative path for the base path.  The old, odd
      behavior was documented, but people often don't read docs.  The new
      behavior avoids suprises.

    [Additions]

    - Added 'cached_temp' method.

0.100     2017-01-14 22:47:55-05:00 America/New_York

    - No changes from 0.099-TRIAL.

0.099     2017-01-10 15:12:13-05:00 America/New_York (TRIAL RELEASE)

    [Tests]

    - Fixed tests for eventual removal of '.' from `@INC` in Perl.

    [Documentation]

    - Fixed filehandle mode typo.

    - Fixed typo in relative() that mentioned rel2abs instead of abs2rel.
   2017-01-02 08:14:20 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.098

Upstream changes:
0.098     2016-10-09 23:25:11-04:00 America/New_York

    - No changes from 0.097-TRIAL.

0.097     2016-09-30 22:03:10-04:00 America/New_York (TRIAL RELEASE)

    [Additions]

    - Added 'realpath' option for 'tempfile' and 'tempdir' for situations
      where an absolute temporary path just isn't enough.
   2016-07-25 10:28:33 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.096

Upstream changes:
0.096     2016-07-02 21:25:33-04:00 America/New_York

    - No changes from 0.095

0.095     2016-06-28 12:05:03-04:00 America/New_York (TRIAL RELEASE)

    [Tests]

    - Improved method for hiding some modules during tests.

0.094     2016-05-23 12:45:19-04:00 America/New_York

    - Fixed Changes note typo in 0.092.  0.092 had no changes since 0.091,
      not 0.090, meaning that all 0.091 changes were (and are) included.

0.092     2016-05-23 11:36:54-04:00 America/New_York

    - No changes from 0.091

0.091     2016-05-17 13:32:21-04:00 America/New_York (TRIAL RELEASE)

    [Changes]

    - Path::Tiny will prefer PerlIO::utf8_strict over encoding(UTF-8)
      if available and Unicode::UTF8 is not installed.

    [Fixes]

    - The 'touch' method can now set the current time on files that aren't
      owned, as long as they are writeable.

    [Tests]

    - Improved consistency of symlink support inspection; now always
      looks at $Config{d_symlink}.

    - Skips impossible test on 'msys' platform.

0.090     2016-05-02 07:08:58-04:00 America/New_York

    - No changes from 0.089

0.089     2016-04-26 22:21:00-04:00 America/New_York (TRIAL RELEASE)

    [Fixes]

    - Fix spew_utf8 to allow array references as input.
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2016-04-16 01:15:26 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated to filesystems/p5-Path-Tiny-0.088
-----------------------------------------
0.088     2016-04-15 08:41:07-04:00 America/New_York
    - No changes from 0.087

0.087     2016-04-12 12:13:14-04:00 America/New_York (TRIAL RELEASE)
    [Fixes]
    - Fixed bugs in relative symlink resolution for realpath, spew and
      edit_lines.

    [Changes]
    - Symlink resolution will detect circular loops and throw an error.