Accepting request 1101057 from devel:languages:perl:autoupdate

- new version format, see https://github.com/openSUSE/cpanspec/issues/47
- updated to 0.13
   see /usr/share/doc/packages/perl-TAP-Formatter-HTML/Changes
  0.13
      +	fix calculating todo_passed tests, GH#7 (tu-maurice)
      +	applied several tweaks from RT and Github:
          RT#132072: more international ISO8601-like date format (Slaven Rezić)
          RT#91317:  synopsis of main module and plugin (Slaven Rezić)
          RT#89216:  typo fix (dsteinbrunner)
          GH#2:      gitignore (Gábor Szabó)
          GH#4:      fix double include of css and javascript (Christopher Rasch-Olsen Raa)
  0.12
      +	intermediate upload with incomplete changelog

OBS-URL: https://build.opensuse.org/request/show/1101057
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-TAP-Formatter-HTML?expand=0&rev=2
This commit is contained in:
2023-07-28 07:26:52 +00:00
committed by Git OBS Bridge
parent 07157d599e
commit 7584d89ca1
4 changed files with 65 additions and 55 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02ec3c7ca5eef588ac6905befbf9118670e6fa171bd2152568f4bd20dc56146c
size 103183

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2203dec33dd98d33f257b6ff38dada3c5e1f5105ef7797973a5a60985c13d933
size 101239

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Jul 27 03:08:44 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 0.13
see /usr/share/doc/packages/perl-TAP-Formatter-HTML/Changes
0.13
+ fix calculating todo_passed tests, GH#7 (tu-maurice)
+ applied several tweaks from RT and Github:
RT#132072: more international ISO8601-like date format (Slaven Rezić)
RT#91317: synopsis of main module and plugin (Slaven Rezić)
RT#89216: typo fix (dsteinbrunner)
GH#2: gitignore (Gábor Szabó)
GH#4: fix double include of css and javascript (Christopher Rasch-Olsen Raa)
0.12
+ intermediate upload with incomplete changelog
-------------------------------------------------------------------
Sat May 9 07:56:41 UTC 2015 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-TAP-Formatter-HTML
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,25 +12,24 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-TAP-Formatter-HTML
Version: 0.11
Release: 0
%define cpan_name TAP-Formatter-HTML
Name: perl-TAP-Formatter-HTML
Version: 0.130.0
Release: 0
%define cpan_version 0.13
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: TAP Test Harness output delegate for html output
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/TAP-Formatter-HTML/
Source0: http://www.cpan.org/authors/id/S/SP/SPURKIS/%{cpan_name}-%{version}.tar.gz
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SC/SCHWIGON/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::Temp) >= 0.17
BuildRequires: perl(Module::Build) >= 0.380000
BuildRequires: perl(Module::Build) >= 0.42
BuildRequires: perl(TAP::Parser) >= 3.10
BuildRequires: perl(Template) >= 2.14
BuildRequires: perl(Test::Harness) >= 3.17
@@ -42,16 +41,19 @@ Requires: perl(Template) >= 2.14
Requires: perl(Test::Harness) >= 3.17
Requires: perl(URI) >= 1.35
Requires: perl(accessors) >= 0.02
Provides: perl(App::Prove::Plugin::HTML) = 0.130.0
Provides: perl(TAP::Formatter::HTML) = 0.130.0
Provides: perl(TAP::Formatter::HTML::Session) = 0.130.0
%define __perllib_provides /bin/true
%{perl_requires}
%description
This module provides HTML output formatting for the TAP::Harness manpage (a
replacement for the Test::Harness manpage. It is largely based on ideas
from the TAP::Test::HTMLMatrix manpage (which was built on the
Test::Harness manpage and thus had a few limitations - hence this module).
For sample output, see:
This module provides HTML output formatting for TAP::Harness (a replacement
for Test::Harness. It is largely based on ideas from TAP::Test::HTMLMatrix
(which was built on Test::Harness and thus had a few limitations - hence
this module). For sample output, see:
the http://www.spurkis.org/TAP-Formatter-HTML/test-output.html manpage
http://www.spurkis.org/TAP-Formatter-HTML/test-output.html
This module is targeted at all users of automated test suites. It's meant
to make reading test results easier, giving you a visual summary of your
@@ -60,64 +62,54 @@ hopefully make testing more likely to happen at your organization ;-).
The design goals are:
* *
_easy to use_
* _easy to use_
Once you've got your test report, it should be obvious how to use it.
* *
_helpful_
* _helpful_
It should be helpful by pointing out _where_ & _why_ your test suite is
breaking. If you've written your tests well, it should give you enough
info to start tracking down the issue.
breaking. If you've written your tests well, it should give you enough info
to start tracking down the issue.
* *
_easy to install_
* _easy to install_
Eg: should be a clean install from CPAN, and you shouldn't need to modify
your existing test suite to get up & running, though _you will need to
stop using the Test::Harness manpage unfortunately_.
your existing test suite to get up & running, though _you will need to stop
using Test::Harness unfortunately_.
* *
* _work out of the box_
_work out of the box_
You shouldn't need to do any custom-coding to get it working - the
default configuration & templates should be enough to get started with.
Once installed it should be a matter of running:
You shouldn't need to do any custom-coding to get it working - the default
configuration & templates should be enough to get started with. Once
installed it should be a matter of running:
% prove -m -Q --formatter=TAP::Formatter::HTML >output.html
From your project's home dir, and opening the resulting file.
* *
* _easy to configure_
_easy to configure_
You should be able to configure & customize it to suit your needs. As
such, css, javascript and templates are all configurable.
You should be able to configure & customize it to suit your needs. As such,
css, javascript and templates are all configurable.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes examples README Todo
%changelog