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

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


Branch: CURRENT, Version: 0.104, Package name: p5-Path-Tiny-0.104, 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:
[devel/p5-Test-Deep] [devel/p5-File-pushd] [devel/p5-Test-Fatal] [devel/p5-Devel-Hide] [devel/p5-Test-FailWarnings] [pkgtools/cwrappers]

Master sites: (Expand)

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

Version history: (Expand)


CVS history: (Expand)


   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.
   2016-04-15 15:52:08 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated to filesystems/p5-Path-Tiny-0.086
-----------------------------------------
0.086     2016-04-03 13:49:37-04:00 America/New_York
    [Documented]
    - Improved documentation of copy and move.
   2016-03-09 13:25:01 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.084

Upstream changes:
0.084     2016-03-04 07:17:49-05:00 America/New_York

    [Fixes]

    - Fixed relative() for the case with regex metacharacters in the path

0.082     2016-03-01 18:23:26-05:00 America/New_York

    [!!! INCOMPATIBLE CHANGES !!!]

    - (This warning repeated from 0.079-TRIAL) The relative() method no
      longer uses File::Spec's buggy rel2bs method.  The new Path::Tiny
      algorithm should be comparable and passes File::Spec rel2abs test
      cases, except that it correctly accounts for symlinks.  For common
      use, you are not likely to notice any difference. For uncommon use,
      this should be an improvement.  As a side benefit, this change drops
      the minimum File::Spec version required, allowing Path::Tiny to be
      fatpacked if desired.

    [Changes]

    - no other changes from 0.081

0.081     2016-02-18 16:55:37-05:00 America/New_York (TRIAL RELEASE)

    [Fixed]

    - Fixed lines_utf8+chomp and relative() bugs on Windows

0.079     2016-02-15 20:52:10-07:00 America/Mazatlan (TRIAL RELEASE)

    [!!! INCOMPATIBLE CHANGES !!!]

    - The relative() method no longer uses File::Spec's buggy rel2bs
      method.  The new Path::Tiny algorithm should be comparable and passes
      File::Spec rel2abs test cases, except that it correctly accounts for
      symlinks.  For common use, you are not likely to notice any
      difference. For uncommon use, this should be an improvement.  As a
      side benefit, this change drops the minimum File::Spec version
      required, allowing Path::Tiny to be fatpacked if desired.

    [FIXED]

    - Fixed lines_utf8() with chomping for repeated empty lines.

    [DOCS]

    - Documented that subclassing is not supported

0.077     2016-02-10 14:17:32-07:00 America/Mazatlan (TRIAL RELEASE)

    [ADDED]

    - Added 'edit' and 'edit_lines' plus _utf8 and _raw variants; this
      is similar to perl's -i flag (though without backups)

0.076     2015-11-16 10:47:24-05:00 America/New_York

    - no changes from 0.075

0.075     2015-11-15 21:02:18-05:00 America/New_York (TRIAL RELEASE)

    [FIXED]

    - Tilde expansion on Windows was resulting in backslashes.  Now they
      are correctly normalized to forward slashes.

    [DOCS]

    - Typos fixed

0.073     2015-10-30 10:36:18-04:00 America/New_York (TRIAL RELEASE)

    [FIXED]

    - Fixed spewing to a symlink that crosses a filesystem boundary

    [PREREQS]

    - Add Test::MockRandom to META as an recommended test prerequisite.
   2015-11-03 01:15:02 by Alistair G. Crooks | Files touched by this commit (39)
Log message:
Add SHA512 digests for distfiles for filesystems category

Existing SHA1 digests verified, all found to be the same on the
machine holding the existing distfiles (morden).  Existing SHA1
digests retained for now as an audit trail.