Commit graph

16 commits

Author SHA1 Message Date
agc
b063b17466 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.
2015-11-03 00:14:59 +00:00
wen
e0551884cd Update to 0.072
Upstream changes:
0.072     2015-07-20 16:07:20-04:00 America/New_York

    - No changes from 0.071

0.071     2015-07-17 13:40:08-04:00 America/New_York (TRIAL RELEASE)

    [FIXED]

    - Fixed incorrect error argument for File::Path functions
      (mkpath and remove_tree)

0.070     2015-06-28 13:50:16-04:00 America/New_York

    - No changes from 0.069

0.069     2015-06-18 18:09:44-04:00 America/New_York (TRIAL RELEASE)

    [CHANGED]

    - The 'copy' method now returns the object for the copied file

    [FIXED]

    - The 'visit' method only dereferences the callback return value
      for scalar refs, avoiding some common bugs
2015-07-30 09:47:36 +00:00
wiz
40bbad7ac6 Comment out dependencies of the style
{perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS
since pkgsrc enforces the newest perl version anyway, so they
should always pick perl, but sometimes (pkg_add) don't due to the
design of the {,} syntax.

No effective change for the above reason.

Ok joerg
2015-07-12 18:56:06 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
wen
b4ecfd5458 Update to 0.068
Upstream changes:
0.068     2015-03-23 20:42:56-04:00 America/New_York

    [META]

    - Jumping to 0.068 to get to an even-version for a stable release

    [DOCUMENTED]

    - Noted that 0.66 changed the 'filehandle' method

0.066     2015-03-20 23:59:08-04:00 America/New_York (TRIAL RELEASE)

    [ADDED]

    - Added exclusive locking option to filehandle opens; spew now
      exclusively locks tempfile used for atomic writes

0.065     2015-03-06 05:59:56-05:00 America/New_York

    [ADDED]

    - Added 'assert' method

    - Added 'visit' method

    - Added support for a negative count for 'lines' to get the
      last lines of a file

    [FIXED]

    - Fixed tilde expansion if path has spaces

    - Make realpath non-fatal if the parent path exists and only the final
      path component does not. (Was fatal on Windows and some Unixes.)

    - Removed rendundant locking on tempfile use for spewing

    - Work around File::Temp bugs on older ActiveState Windows Perls
      https://bugs.activestate.com/show_bug.cgi?id=104767

    [DOCUMENTED]

    - Fixed SYNOPSIS example

0.064     2015-03-05 03:58:42-05:00 America/New_York (TRIAL RELEASE)

0.063     2015-03-04 16:00:17-05:00 America/New_York (TRIAL RELEASE)

0.062     2015-03-04 13:59:31-05:00 America/New_York (TRIAL RELEASE)
2015-04-05 06:41:17 +00:00
mef
0689dbb528 Update to 0.061
---------------
0.061     2014-11-13 16:50:05-05:00 America/New_York
    [FIXED]
    - Fixed append_utf8 and append_raw with 'truncate' option.
2015-02-18 12:25:47 +00:00
wen
f0c4d4b193 Update to 0.60
Upstream changes:
0.060     2014-11-04 17:33:39-05:00 America/New_York

    [ADDED]

    - Added 'truncate' option to append for in-place replacement of
      file contents.

0.059     2014-10-14 12:45:46-04:00 America/New_York

    [FIXED]

    - Fixed precedence bug in the check for Unicode::UTF8

0.058     2014-09-23 11:00:24-04:00 America/New_York

    [ADDED]

    - Added a 'sibling' method as a more efficient form of
      calling $path->parent->child(...).

    [DOCUMENTED]

    - Every method annotated with the version number of the
      last API change.

0.057     2014-09-19 11:23:05-04:00 America/New_York

    [FIXED]

    - On AIX, reads that default to locking would fail without
      write permissions, because locking needs write permissions.
      The fix is only to lock reads if write permissions exist;
      otherwise locking is skipped.

0.056     2014-08-07 15:08:41-04:00 America/New_York

    [*** DEPRECATIONS ***]

    - The 'dirname' method is deprecated due to exposing File::Spec
      inconsistencies

    [ADDED]

    - The 'digest' method now takes a 'chunk_size' option to avoid
      slurping files entirely into memory.

    [FIXED]

    - Fixed problem throwing errors from 'remove'

0.055     2014-06-30 10:29:28-04:00 America/New_York

    [FIXED]

    - tempfile/tempdir won't warn if used as functions without arguments

0.054     2014-05-04 13:56:11-04:00 America/New_York

    [ADDED]

    - The 'basename' method now takes a list of suffixes to remove before
      returning the name

    - FREEZE/THAW/TO_JSON serialization helpers

    [CHANGED]

    - When constructing a Path::Tiny object from another, the original
      is returned unless it's a temp dir/file.  This significantly
      speeds up calling path($path) if $path is already a Path::Tiny
      object. (Thanks to Michael Schwern for prompting such benchmarking.)

    [FIXED]

    - Constructing any path -- e.g. with child() -- with undef or
      zero-length parts throws an error instead of constructing an
      invalid path

0.053     2014-03-24 09:25:51-04:00 America/New_York (TRIAL RELEASE)

    [INCOMPATIBLE CHANGES]

    - The 'is_file' method now does -e && ! -d and not -f because -f
      is often more restrictive than people intend or expect.

    [ADDED]

    - Added 'chmod' method with symbolic chmod support ("a=r,u+rx")

0.052     2014-01-14 15:58:03-05:00 America/New_York

    [FIXED]

    - Backslash-to-slash conversion now only happens on Windows
      (since backslash is legal on Unix, we must allow it)
2014-11-06 02:28:11 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
wiz
1b2f5ba83a Use standard email address (pkgsrc-p5-people should not be MAINTAINER). 2014-07-19 14:26:06 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
wen
3b966b22a7 Update to 0.051
Upstream changes:
0.051     2013-12-20 07:34:14 America/New_York

    [FIXED]

    - Fixed file order bug in the new test file

0.050     2013-12-20 07:27:20 America/New_York

    [FIXED]

    - Recursive iteration won't throw an exception if a directory is
      removed or unreadable during iteration.

0.049     2013-12-12 00:48:01 America/New_York

    [FIXED]

    - Generates filename for atomic writes independent of thread-ID.
      Fixes crashing bug on Win32 when fork() is called.

0.048     2013-12-11 21:56:23 America/New_York

    [ADDED]

    - Added 'subsumes' method

    [CHANGED]

    - The 'chomp' option for 'lines' will remove any end-of-line sequences
      fully instead of just chomping the last character

    - The 'flock' package will no longer indexed by PAUSE

    [FIXED]

    - Hides warnings and fixes possible fatal errors from pure-perl Cwd,
      particularly on MSWin32
2014-01-12 10:20:12 +00:00
wen
8f4a31c8ba Update to 0.047
Upstream changes:
0.047     2013-11-26 15:11:13 America/New_York
    [FIXED]
    - Previous lock testing fixes broke on Windows (sigh); now fixed,
      I hope.
0.046     2013-11-22 17:07:24 America/New_York
    [FIXED]
    - Revised locking tests for portability again: locks are now tested
      from a separate process
0.045     2013-11-22 15:28:50 America/New_York
    [FIXED]
    - Fixed locking test on AIX
2013-11-30 09:46:13 +00:00
wen
e7022b47be Update to 0.044
Upstream changes:
0.044     2013-10-17 17:00:41 America/New_York

    [FIXED]

    - Fixed child path construction against the root path.

    - Fixed path construction when a relative volume is provided as the
      first argument on Windows; e.g. path("C:", "lib") must be like
      path("C:lib"), not path("C:/lib").

    - On AIX, shared locking is replaced by exclusive locking on a R/W
      filehandle, as locking read handles is not supported

0.043     2013-10-14 06:24:06 America/New_York

    [CHANGED]

    - Calling 'absolute' on Windows will add the volume if it is missing
      (E.g. "/foo" will become "C:/foo").  This matches the behavior
      of File::Spec->rel2abs.

    [FIXED]

    - Fixed t/00-report-prereqs.t for use with older versions of
      CPAN::Meta::Requirements

0.042     2013-10-13 11:02:02 America/New_York

    [FIXED]

    - When 'realpath' can't be resolved (because intermediate directories
      don't exist), the exception now explains the error clearly instead of
      complaining about path() needing a defined, positive-length argument.

    - On Windows, fixed resolution of relative paths with a volume.
      E.g. "C:foo" is now correctly translated into getdcwd on "C:"
      plus "foo".

0.041     2013-10-11 08:56:31 America/New_York

    [FIXES]

    - Removes duplicate test dependency on File::Spec that triggers
      a CPAN.pm bug

0.040     2013-10-08 22:01:50 America/New_York

    [FIXES]

    - Fixed broken locking test on *bsd

    - When using 'filehandle' to request a locked handle that truncates an
      existing file and has a binmode starting with ":unix", this fixes a
      bug where pseudo-layers weren't being cleared properly.

0.039     2013-10-08 16:39:23 America/New_York

    [ADDITIONS]

    - The 'filehandle' method now offers an option to return locked handles
      based on the file mode.  Input-output methods now rely on this
      feature internally.  Truncating file modes defer truncation until
      after an exclusive lock is acquired.

    [FIXES]

    - The 'filehandle' method now respects default encoding set by
      the caller's open pragma.

0.038     2013-10-01 18:20:05 America/New_York

    [ADDITIONS]

    - Added 'is_rootdir' method to simplify testing if a path is
      the root directory

0.037     2013-09-25 13:00:25 America/New_York

    [FIXES]

    - Fixed for v5.8

0.036     2013-09-25 09:34:28 America/New_York

    [PREREQS]

    - No longer lists 'threads' as a prerequisite.  If you have a threaded
      perl, you have it and if you're not, Path::Tiny doesn't care.

0.035     2013-09-24 07:21:55 America/New_York

    [FIXED]

    - Fixed flock warning on BSD that was broken with the autodie
      removal; now also applies to all BSD flavors

0.034     2013-09-23 16:16:36 America/New_York

    [INCOMPATIBLE CHANGE]

    - Exceptions are now Path::Tiny::Error objects, not autodie exceptions;
      this removes the last dependency on autodie, which allows us to
      support Perls as far back as v5.8.1

    [FIXED]

    - BSD/NFS flock fix was not backwards compatible before v5.14.  This
      fixes it harder.

    [PREREQS]

    - dropped autodie

    - lowered ExtUtils::MakeMaker configure_requires version to 6.17

0.033     2013-09-12 08:54:30 America/New_York

    [FIXED]

    - Perl on BSD may not support locking on an NFS filesystem.  If this is
      detected, Path::Tiny warns and continues in an unsafe mode.  The
      'flock' warning category may be fatalized to die instead.

    [DOCUMENTED]

    - Added 'iterator' example showing defaults

0.032     2013-09-06 17:52:48 America/New_York

    [PREREQS]

    - Removed several test dependencies.  Path::Tiny now only needs
      core modules, though some must be upgraded on old Perls
2013-10-19 13:40:52 +00:00
wen
eeed5c571a Update to 0.031
Upstream changes:
0.031     2013-08-27 10:03:57 America/New_York

    [FIXED]

    - parent() on paths with internal double dots (e.g. /foo..bar.txt) now works
      correctly

0.030     2013-08-20 16:10:04 America/New_York

    [FIXED]

    - t/zzz-spec.t used getcwd() instead of getdcwd(), which breaks
      on Windows if the build directory isn't on the 'C' drive

0.029     2013-08-19 11:52:24 America/New_York

    [FIXED]

    - On Win32, "C:/" no longer is changed to "C:".  Also, "C:" is
      converted to the absolute path of cwd on the "C:" volume.  UNC paths
      ("//server/share/") now retain their trailing slash to correctly
      distinguish volume and directory paths when split

0.028     2013-08-14 13:12:49 America/New_York

    [ADDED]

    - The 'children()' method now takes an optional regular expression to
      filter the results
2013-09-05 07:07:10 +00:00
wen
5e9ec3b5c0 Update to 0.027
Upstream changes:
0.027     2013-07-25 19:38:44 America/New_York

    [ADDED]

    - Added the 'digest' method to produce a hexadecimal SHA-256
      (or user-specified) digest of a file

0.026     2013-07-14 21:25:22 America/New_York

    [FIXED]

    - Fixed bug where lines() with a count longer than the
      file would return undef for the extra lines.  Now returns
      only the lines in the file if the count is greater than
      the number of lines.

0.025     2013-07-10 09:32:13 America/New_York

    [FIXED]

    - Spew to an existing symlink now atomically replaces
      the resolved destination, not the symlink
2013-07-27 07:44:42 +00:00
sno
64d9dd60fc 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.
2013-07-03 15:13:33 +00:00