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

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


Branch: CURRENT, Version: 0.108nb1, Package name: p5-Path-Tiny-0.108nb1, 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: 8cb67afa7543f0707c1326b1433c4a0828160efa
RMD160: 1301607c8735ffae10422f075ed6a98aeb7af46a
Filesize: 91.344 KB

Version history: (Expand)


CVS history: (Expand)


   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2018-08-20 04:13:07 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.108

Upstream changes:

0.108     2018-07-30 15:35:23-04:00 America/New_York

    - No changes from 0.107-TRIAL.

0.107     2018-07-24 15:10:36-04:00 America/New_York (TRIAL RELEASE)

    [Fixes]

    - Fixed a bug where failure to load optional modules would trigger
      an external $SIG{__DIE__} handler.

0.106     2018-07-14 09:37:00-04:00 America/New_York

    [Tests]

    - Protected t/locking.t from PERL_PATH_TINY_NO_FLOCK already
      in the environment.

0.105     2018-07-07 10:09:04-04:00 America/New_York (TRIAL RELEASE)

    [Additions]

    - The PERL_PATH_TINY_NO_FLOCK environment variable has been added to
      allow users to disable file locking (and any associated warnings).

    [Changes]

    - Detection of unsupported 'flock' is no longer BSD-specific.  This
      allows detecting and warning, for example, with the Luster filesystem
      on Linux.

    [Tests]

    - Improve reliability and diagnostics of tests run via 'do'.
   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.