Accepting request 295945 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/295945 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Path-Tiny?expand=0&rev=9
This commit is contained in:
parent
15585e9b30
commit
58ae7581b4
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c87170b8d3a84b711fff401d6514ed3858dac3a262632472ca0e0924b7c36eb
|
||||
size 49076
|
3
Path-Tiny-0.068.tar.gz
Normal file
3
Path-Tiny-0.068.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a331fbd855a6216877c643c4cae4bf7edfdf7e13cd8142d2cb2d12eafdebaee0
|
||||
size 79290
|
@ -1,3 +1,199 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 13 18:49:17 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.068
|
||||
see /usr/share/doc/packages/perl-Path-Tiny/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)
|
||||
|
||||
0.061 2014-11-13 16:50:05-05:00 America/New_York
|
||||
|
||||
[FIXED]
|
||||
|
||||
- Fixed append_utf8 and append_raw with 'truncate' option.
|
||||
|
||||
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)
|
||||
|
||||
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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 9 13:31:53 UTC 2013 - opensuse@dstoecker.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Path-Tiny
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: perl-Path-Tiny
|
||||
Version: 0.047
|
||||
Version: 0.068
|
||||
Release: 0
|
||||
%define cpan_name Path-Tiny
|
||||
Summary: File path utility
|
||||
@ -34,40 +34,35 @@ BuildRequires: perl(File::Path) >= 2.07
|
||||
BuildRequires: perl(File::Spec) >= 3.40
|
||||
BuildRequires: perl(File::Temp) >= 0.19
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
#BuildRequires: perl(Path::Class)
|
||||
#BuildRequires: perl(Path::Tiny)
|
||||
#BuildRequires: perl(Pod::Wordlist)
|
||||
#BuildRequires: perl(Test::FailWarnings)
|
||||
#BuildRequires: perl(Test::Spelling) >= 0.12
|
||||
#BuildRequires: perl(TestUtils)
|
||||
#BuildRequires: perl(Unicode::UTF8) >= 0.58
|
||||
Requires: perl(Digest::SHA) >= 5.45
|
||||
Requires: perl(File::Path) >= 2.07
|
||||
Requires: perl(File::Spec) >= 3.40
|
||||
Requires: perl(File::Temp) >= 0.18
|
||||
Requires: perl(File::Temp) >= 0.19
|
||||
Recommends: perl(Unicode::UTF8) >= 0.58
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This module attempts to provide a small, fast utility for working with file
|
||||
paths. It is friendlier to use than the File::Spec manpage and provides
|
||||
easy access to functions from several other core file handling modules.
|
||||
This module provide a small, fast utility for working with file paths. It
|
||||
is friendlier to use than the File::Spec manpage and provides easy access
|
||||
to functions from several other core file handling modules. It aims to be
|
||||
smaller and faster than many alternatives on CPAN while helping people do
|
||||
many common things in consistent and less error-prone ways.
|
||||
|
||||
It doesn't attempt to be as full-featured as the IO::All manpage or the
|
||||
Path::Class manpage, 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:
|
||||
Path::Tiny does not 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.
|
||||
appropriate (if supported by the platform).
|
||||
|
||||
The '*_utf8' methods ('slurp_utf8', 'lines_utf8', etc.) operate in raw mode
|
||||
without CRLF translation. Installing the Unicode::UTF8 manpage 0.58 or
|
||||
later will speed up several of them and is highly recommended.
|
||||
The '*_utf8' methods ('slurp_utf8', 'lines_utf8', etc.) operate in raw
|
||||
mode. On Windows, that means they will not have CRLF translation from the
|
||||
':crlf' IO layer. Installing the Unicode::UTF8 manpage 0.58 or later will
|
||||
speed up '*_utf8' situations in many cases and is highly recommended.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
@ -86,6 +81,6 @@ later will speed up several of them and is highly recommended.
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes CONTRIBUTING cpanfile LICENSE perlcritic.rc README tidyall.ini
|
||||
%doc Changes CONTRIBUTING.mkdn LICENSE perlcritic.rc README
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user