Accepting request 305148 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/305148 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Format-Pretty-Console?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
4e1f62fe1e
commit
1c7234c766
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8d2bedeb44ea5ab1f0da5dd5610fde98d6730d59e5458072d6671fdfd68eecee
|
|
||||||
size 14100
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e6fa9a2cee76237dbfd2388408c5bee995e8abd427a7834a9f414c84eab3da86
|
|
||||||
size 16032
|
|
3
Data-Format-Pretty-Console-0.33.tar.gz
Normal file
3
Data-Format-Pretty-Console-0.33.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:18425c6930e08abc4b21f648c9f5625786f0fb1467ddc6cbbde0678f62838f0d
|
||||||
|
size 22145
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,45 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 3 08:23:36 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.33
|
||||||
|
see /usr/share/doc/packages/perl-Data-Format-Pretty-Console/Changes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 3 08:23:35 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.11
|
||||||
|
see /usr/share/doc/packages/perl-Data-Format-Pretty-Console/Changes
|
||||||
|
|
||||||
|
0.11 2011-08-11
|
||||||
|
|
||||||
|
No functional changes. Added Data::Format::Pretty::Text which is a
|
||||||
|
shortcut for formatting with Console with option interactive=1, while
|
||||||
|
Data::Format::Pretty::SimpleText is a shortcut for interactive=0.
|
||||||
|
|
||||||
|
|
||||||
|
0.10 2011-07-28
|
||||||
|
|
||||||
|
[INCOMPATIBLE CHANGES]
|
||||||
|
|
||||||
|
- In interactive (table) mode, no longer prints header row for array,
|
||||||
|
hash, and aoa data (they are quite meaningless anyway, respectively:
|
||||||
|
"data", "key, value", and "col0, col1, ..."). No changes in
|
||||||
|
non-interactive (tab-separated text) mode, since headers are never
|
||||||
|
printed.
|
||||||
|
|
||||||
|
|
||||||
|
0.09 2011-06-15
|
||||||
|
|
||||||
|
No functional changes. Internally restructured as OO to allow being
|
||||||
|
subclassed by Data::Format::Pretty::HTML.
|
||||||
|
|
||||||
|
|
||||||
|
0.08 2011-05-20
|
||||||
|
|
||||||
|
[ENHANCEMENTS]
|
||||||
|
|
||||||
|
- Add option: table_column_orders.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 03 21:22:38 CET 2011 - pascal.bleser@opensuse.org
|
Thu Mar 03 21:22:38 CET 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,69 +1,88 @@
|
|||||||
# vim: set sw=4 ts=4 et nu:
|
#
|
||||||
|
# spec file for package perl-Data-Format-Pretty-Console
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Data-Format-Pretty-Console
|
Name: perl-Data-Format-Pretty-Console
|
||||||
Version: 0.07
|
Version: 0.33
|
||||||
Release: 0
|
Release: 0
|
||||||
|
%define cpan_name Data-Format-Pretty-Console
|
||||||
Summary: Pretty-print data structure for console output
|
Summary: Pretty-print data structure for console output
|
||||||
Source: ftp://ftp.cpan.org/pub/CPAN/authors/id/S/SH/SHARYANTO/Data-Format-Pretty-Console-%{version}.tar.gz
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
URL: http://search.cpan.org/dist/Data-Format-Pretty-Console
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Perl License
|
Url: http://search.cpan.org/dist/Data-Format-Pretty-Console/
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
Source0: http://www.cpan.org/authors/id/S/SH/SHARYANTO/%{cpan_name}-%{version}.tar.gz
|
||||||
%{perl_requires}
|
Source1: cpanspec.yml
|
||||||
BuildRequires: perl-macros
|
|
||||||
BuildRequires: perl(Test::More)
|
|
||||||
BuildRequires: perl(File::Find)
|
|
||||||
BuildRequires: perl(File::Temp)
|
|
||||||
BuildRequires: perl(Data::Dump::Partial)
|
|
||||||
BuildRequires: perl(Module::Build) >= 0.3601
|
|
||||||
BuildRequires: perl(Module::Build)
|
|
||||||
BuildRequires: perl(Scalar::Util)
|
|
||||||
BuildRequires: perl(Text::ASCIITable)
|
|
||||||
BuildRequires: perl(YAML::Any)
|
|
||||||
Requires: perl(Scalar::Util)
|
|
||||||
Requires: perl(Data::Dump::Partial)
|
|
||||||
Requires: perl(Text::ASCIITable)
|
|
||||||
Requires: perl(YAML::Any)
|
|
||||||
%if 0%{?suse_version} >= 1120
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Data::Dump::Partial)
|
||||||
|
BuildRequires: perl(Data::Unixish) >= 1.34
|
||||||
|
BuildRequires: perl(Data::Unixish::Apply) >= 1.33
|
||||||
|
BuildRequires: perl(JSON)
|
||||||
|
BuildRequires: perl(Log::Any)
|
||||||
|
BuildRequires: perl(Text::ANSITable) >= 0.08
|
||||||
|
BuildRequires: perl(YAML::Any)
|
||||||
|
BuildRequires: perl(experimental)
|
||||||
|
Requires: perl(Data::Unixish) >= 1.34
|
||||||
|
Requires: perl(Data::Unixish::Apply) >= 1.33
|
||||||
|
Requires: perl(JSON)
|
||||||
|
Requires: perl(Log::Any)
|
||||||
|
Requires: perl(Text::ANSITable) >= 0.08
|
||||||
|
Requires: perl(YAML::Any)
|
||||||
|
Requires: perl(experimental)
|
||||||
|
Recommends: perl(Term::Size)
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module is meant to output data structure in a "pretty" or "nice"
|
This module is meant to output data structure in a "pretty" or "nice"
|
||||||
format, suitable for console programs. The idea of this module is that for
|
format, suitable for console programs. The idea of this module is that for
|
||||||
you to just merrily dump data structure to the console, and this module
|
you to just merrily dump data structure to the console, and this module
|
||||||
will figure out how to best display your data to the end-user.
|
will figure out how to best display your data to the end-user.
|
||||||
Currently this module tries to display the data mostly as a nice ASCII
|
|
||||||
table (or a series of ASCII tables), and failing that, display it as YAML.
|
Currently this module tries to display the data mostly as a nice text table
|
||||||
|
(or a series of text tables), and failing that, display it as YAML.
|
||||||
|
|
||||||
This module takes piping into consideration, and will output a simpler,
|
This module takes piping into consideration, and will output a simpler,
|
||||||
more suitable format when your user pipes your program's output into some
|
more suitable format when your user pipes your program's output into some
|
||||||
other program.
|
other program.
|
||||||
Most of the time, you don't have to configure anything. But in the future
|
|
||||||
some formatting settings will be tweakable.
|
Most of the time, you don't have to configure anything, but some options
|
||||||
|
are provided to tweak the output.
|
||||||
|
|
||||||
|
This module uses the Log::Any manpage for logging.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "Data-Format-Pretty-Console-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl ./Build.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
./Build
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
|
||||||
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
|
||||||
%perl_process_packlist
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
%{__make} test
|
||||||
|
|
||||||
%clean
|
%install
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,755)
|
||||||
%doc README Changes LICENSE
|
%doc Changes LICENSE README
|
||||||
%dir %{perl_vendorlib}/Data
|
|
||||||
%dir %{perl_vendorlib}/Data/Format
|
|
||||||
%dir %{perl_vendorlib}/Data/Format/Pretty
|
|
||||||
%{perl_vendorlib}/Data/Format/Pretty/Console.pm
|
|
||||||
%doc %{perl_man3dir}/Data::Format::Pretty::Console.%{perl_man3ext}%{ext_man}
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
Reference in New Issue
Block a user