forked from pool/perl-Template-Toolkit
Compare commits
30 Commits
ef7be1641e
...
5e4304a4b5
Author | SHA256 | Date | |
---|---|---|---|
5e4304a4b5 | |||
d7bf049494 | |||
65221c5542 | |||
e783b6cca3 | |||
ebdae6df71 | |||
3a2cc63e64 | |||
66abb0f563 | |||
41d5f60d96 | |||
6b9f23424c | |||
baac6d5758 | |||
6490f4a077 | |||
fbdce8f51e | |||
c3cb7f25ab | |||
0638d0b544 | |||
564cd53867 | |||
83d432aa90 | |||
40354084d8 | |||
de97263407 | |||
|
b95b69c6a4 | ||
|
2d3607c3ed | ||
|
2d45047a2d | ||
|
16eb7197f9 | ||
|
db0b63adec | ||
|
138ffa393c | ||
|
36deb94b9f | ||
|
a9c369acb9 | ||
|
31083a684c | ||
|
eeba7e8a39 | ||
21bb32eb4e | |||
d6d83e4221 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:52400f68bef6731b0fca00e3438ed835b29ab9fec72a404866dee8fc139da692
|
||||
size 523760
|
3
Template-Toolkit-3.102.tar.gz
Normal file
3
Template-Toolkit-3.102.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d161c89dee9b213a7c55709ea782e2dd5923dbd1215b9576612889e6e74a2e06
|
||||
size 522811
|
@@ -1,3 +1,89 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 23 16:48:27 UTC 2024 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- updated to 3.102.0 (3.102)
|
||||
see /usr/share/doc/packages/perl-Template-Toolkit/Changes
|
||||
|
||||
# Version 3.102
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
Improvements:
|
||||
* #307 Don't calculate args unless and until they are needed
|
||||
* #307 Don't go through the importing of the hash if there is none.
|
||||
* #307 No need to check for definedness before calling ref
|
||||
* #305 Docs: Added info about accessing values with complex keys from hash
|
||||
* #316 Split ttree bin code into a re-usable module
|
||||
|
||||
Bug Fixes:
|
||||
* #309 remove extraneous import arguments when loading Template
|
||||
* #310 remove more extraneous import arguments from tests.
|
||||
* #318 Correct path splitting on Win32
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 17 03:09:33 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 3.101
|
||||
see /usr/share/doc/packages/perl-Template-Toolkit/Changes
|
||||
|
||||
# Version 3.101
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
Improvements:
|
||||
* Added meta() method to Template::Document to return all META items
|
||||
|
||||
Bug Fixes:
|
||||
* Fixed incorrect line numbers when using outline tags
|
||||
* Fixed incorrect Apache::Util(s) module in t/html.t
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 11 16:32:06 UTC 2022 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||
|
||||
- updated to 3.100
|
||||
see /usr/share/doc/packages/perl-Template-Toolkit/Changes
|
||||
|
||||
Improvements:
|
||||
* Template::Plugin::CGI removed to be used as a separate distro. (Sawyer X)
|
||||
|
||||
- trim package changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 14 03:06:38 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 3.010 - 13th December 2021
|
||||
see /usr/share/doc/packages/perl-Template-Toolkit/Changes
|
||||
|
||||
Bug Fixes:
|
||||
* Fix breakage when VMethods is loaded before Stash. (Felipe Gasper)
|
||||
* Fix unicode issues in Plugin::Date (Nicolas R)
|
||||
* Use "defined" instead of "//" because the latter is not available in Perl v5.8. (Louis Strous)
|
||||
* Fix FILTER redirect does not honor binmode (Louis Strous)
|
||||
Improvements:
|
||||
* Avoid anonymous hash warnings starting with Perl 5.35.2 (Graham Ollis)
|
||||
* Use Data::Dumper as an object. (Justin Wheeler)
|
||||
* ttree: Rename --assets to --copy_dir. (Johan Vromans)
|
||||
* ttree: Implement assets directories. (Johan Vromans)
|
||||
Tests:
|
||||
* Fix t/zz-plugin-cycle.t errors (Nicolas R)
|
||||
* Test for Dumper global vars. (Justin Wheeler)
|
||||
* Remove unused _dump code (Nicolas R)
|
||||
* Fixed tests failing on MacOS Catalina due to Dynaloader and relative paths (Andy Wardley)
|
||||
Documentation:
|
||||
* Update README.md (philip r brenan)
|
||||
* Add support group to README and Template.pm. (Johan Vromans)
|
||||
* Make the process() documentation clearer. (Dave Cross)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 14 03:18:10 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 3.009 - 13th July 2020
|
||||
see /usr/share/doc/packages/perl-Template-Toolkit/Changes
|
||||
|
||||
* Revert "Allow SET to have FILTER used in it"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 31 03:09:55 UTC 2020 - <timueller+perl@suse.de>
|
||||
|
||||
@@ -9,36 +95,24 @@ Tue Jan 28 03:11:44 UTC 2020 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 3.007
|
||||
see /usr/share/doc/packages/perl-Template-Toolkit/Changes
|
||||
|
||||
# Version 3.007 - TBA
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
* Fixes cpanm by adding VERSION to Template/Toolkit.pm
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 17 03:10:19 UTC 2020 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 3.006
|
||||
- updated to 3.006 - 16th January 2020
|
||||
see /usr/share/doc/packages/perl-Template-Toolkit/Changes
|
||||
|
||||
# Version 3.006 - 16th January 2020
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
* Fix t/date.t timezone issue introduced when adding '%z' support
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
# Version 3.005 - 15th January 2020
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
* Add encoding option to Datafile plugin
|
||||
* Add support for '%z' in Date plugin.
|
||||
* Fix for WHILE_MAX which was stopping one iteration earlier.
|
||||
* Refresh contributor list
|
||||
* Update Copyrights for year 2020
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 03:12:38 UTC 2020 - <timueller+perl@suse.de>
|
||||
@@ -55,168 +129,107 @@ Sat Dec 28 03:12:26 UTC 2019 - <timueller+perl@suse.de>
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 30 05:34:12 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 2.29
|
||||
- updated to 2.29 - 29th April 2019
|
||||
see /usr/share/doc/packages/perl-Template-Toolkit/Changes
|
||||
|
||||
# Version 2.29 - 29th April 2019
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
* G. Flohr fixed multiple weaken cyclic reference
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 8 06:58:36 UTC 2018 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 2.28
|
||||
- updated to 2.28 - 11th October 2018
|
||||
see /usr/share/doc/packages/perl-Template-Toolkit/Changes
|
||||
|
||||
* Matthew Somerville stopped a list import from printing an ARRAY(...) string.
|
||||
https://github.com/abw/Template2/issues/33
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
# Unreleased
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
# Version 2.28 - 11th October 2018
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
* Add and enable Travis CI to track GitHub Pull Requests
|
||||
|
||||
* Template is now using GitHub as the official Bug Tracker
|
||||
|
||||
* Nicolas R. fixed a circular reference in Template::Plugin::Filter
|
||||
https://github.com/abw/Template2/issues/152
|
||||
|
||||
* Nicolas R. adjusted group regexes to not be greedy
|
||||
https://github.com/abw/Template2/issues/94
|
||||
|
||||
* Nicolas R. added unit tests to cover regression from RT 91172
|
||||
https://github.com/abw/Template2/issues/122
|
||||
|
||||
* Nicolas R. added support for template files having mtime=0
|
||||
https://github.com/abw/Template2/issues/102
|
||||
|
||||
* Todd Rinaldo fixed rand calls with no args in Math plugin
|
||||
https://github.com/abw/Template2/issues/155
|
||||
|
||||
* Todd Rinaldo corrected ttree 2.22 logic change
|
||||
https://github.com/abw/Template2/issues/148
|
||||
|
||||
* Todd Rinaldo turned off automated testing for tests using optional modules
|
||||
https://github.com/abw/Template2/issues/156
|
||||
|
||||
* Nicolas R. adjusted unit tests to not force Stash::XS
|
||||
|
||||
* Nicolas R. added a pre allocated buffer in Stash.xs to avoid malloc/free
|
||||
https://github.com/abw/Template2/issues/82
|
||||
|
||||
* Nicolas R. optmized Template::Parser by avoiding a dummy sub
|
||||
https://github.com/abw/Template2/issues/83
|
||||
|
||||
* Nicolas R. optimized Template:Directive by using index
|
||||
https://github.com/abw/Template2/issues/84
|
||||
|
||||
* Nicolas R. adjust _dotop logic in Stash for perl 5.28 and earlier
|
||||
https://github.com/abw/Template2/issues/81
|
||||
|
||||
* Todd Rinaldo documented VMethod method called 'item'
|
||||
https://github.com/abw/Template2/issues/90
|
||||
|
||||
* Nicolas R. adjusted t/filter.t after recent switch to RFC3986
|
||||
https://github.com/abw/Template2/issues/179
|
||||
|
||||
* Nicolas R. fixed warnings from t/cgi.t
|
||||
https://github.com/abw/Template2/issues/178
|
||||
|
||||
* Ivan Krylov added STRICT option to ttree
|
||||
https://github.com/abw/Template2/issues/81
|
||||
|
||||
* Kent Fredric fixed relative path handling in templates on Perl 5.26+
|
||||
https://github.com/abw/Template2/issues/80
|
||||
|
||||
* Tom Delmas fixed some typo from documentation
|
||||
https://github.com/abw/Template2/issues/76
|
||||
|
||||
* Matthew Somerville switched uri/url to use RFC3986
|
||||
updated the documentation to match the history.
|
||||
https://github.com/abw/Template2/issues/35
|
||||
|
||||
* Sebastien Deseille used remove_tree helper to remove directories
|
||||
https://github.com/abw/Template2/issues/67
|
||||
|
||||
* Nick Hibma - Add Sortkeys to DUMPER_ARGS
|
||||
https://github.com/abw/Template2/issues/64
|
||||
|
||||
* E. Choroba added a warn on duplicate block name
|
||||
https://github.com/abw/Template2/issues/61
|
||||
|
||||
* Jason Lewis fixed some typo in ttree.pod
|
||||
https://github.com/abw/Template2/issues/58
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 16 06:37:14 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 2.27
|
||||
- updated to 2.27 - 13th December 2016
|
||||
see /usr/share/doc/packages/perl-Template-Toolkit/Changes
|
||||
|
||||
# Version 2.27 - 13th December 2016
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
* Ghost fixed the regex in the uri/url filters, removing double quotes
|
||||
to make it RFC3986 compliant.
|
||||
https://github.com/abw/Template2/issues/35
|
||||
|
||||
* Sean Zellmer added testrules.yml to always run compile*.t sequentially
|
||||
https://github.com/abw/Template2/pull/45
|
||||
|
||||
* Simon Dawson added 'empty' vmethods for scalar, list and hash
|
||||
https://github.com/abw/Template2/pull/46
|
||||
|
||||
* Dennis Clark added --envvars option to tpage
|
||||
https://github.com/abw/Template2/pull/49
|
||||
|
||||
* Yanick Champoux made Template::Toolkit a module
|
||||
https://github.com/abw/Template2/pull/51
|
||||
|
||||
* Various warnings silenced and typos fixed.
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 10 08:25:32 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 2.26
|
||||
- updated to 2.26 - 17th September 2014
|
||||
see /usr/share/doc/packages/perl-Template-Toolkit/Changes
|
||||
|
||||
# Version 2.26 - 17th September 2014
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
* Andy Wardley added outline directives. See Template::Manual::Syntax and
|
||||
Template::Manual::Config for details of the OUTLINE_TAG option and new
|
||||
'outline' TAG_STYLE. See t/outline.t for examples.
|
||||
|
||||
* Andy Wardley improved the handling of keywords when the ANYCASE option
|
||||
is in use. See t/anycase.t for examples.
|
||||
|
||||
* Chromatic fixed UTF-8 encoding in URLs in URL plugin.
|
||||
https://github.com/abw/Template2/pull/31
|
||||
|
||||
* Brian Fraser added support for platforms without LC_ALL/setlocale.
|
||||
https://github.com/abw/Template2/pull/34
|
||||
|
||||
* Amiri Barksdale fixed RT46691 to plug filter memory leaks
|
||||
https://github.com/abw/Template2/pull/36
|
||||
|
||||
* John Lightsey fixed RT59208 to improve SET
|
||||
https://github.com/abw/Template2/pull/38
|
||||
UPDATE: This had to be reverted as it cause a subtle breakage elsewhere
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 30 05:06:51 UTC 2013 - coolo@suse.com
|
||||
@@ -510,4 +523,3 @@ Fri Nov 29 15:41:31 CET 2002 - freitag@suse.de
|
||||
Fri Nov 29 09:59:10 CET 2002 - freitag@suse.de
|
||||
|
||||
- initial version 2.08, needed by bugzilla and very powerfull.
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Template-Toolkit
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,35 +16,87 @@
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Template-Toolkit
|
||||
Version: 3.008
|
||||
Release: 0
|
||||
%define cpan_name Template-Toolkit
|
||||
Summary: Template Processing System
|
||||
Name: perl-Template-Toolkit
|
||||
Version: 3.102.0
|
||||
Release: 0
|
||||
# 3.102 -> normalize -> 3.102.0
|
||||
%define cpan_version 3.102
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/%{cpan_name}-%{version}.tar.gz
|
||||
Summary: Comprehensive template processing system
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(AppConfig) >= 1.56
|
||||
BuildRequires: perl(CGI) >= 4.11
|
||||
BuildRequires: perl(Test::LeakTrace)
|
||||
Requires: perl(AppConfig) >= 1.56
|
||||
Provides: perl(Template) = %{version}
|
||||
Provides: perl(Template::App::ttree) = 2.910.0
|
||||
Provides: perl(Template::Base) = 3.100
|
||||
Provides: perl(Template::Config) = 3.100
|
||||
Provides: perl(Template::Constants) = 3.100
|
||||
Provides: perl(Template::Context) = 3.100
|
||||
Provides: perl(Template::Directive) = 3.100
|
||||
Provides: perl(Template::Document) = 3.100
|
||||
Provides: perl(Template::Exception) = 3.100
|
||||
Provides: perl(Template::Filters) = 3.100
|
||||
Provides: perl(Template::Grammar) = 3.100
|
||||
Provides: perl(Template::Iterator) = 3.100
|
||||
Provides: perl(Template::Monad::Assert)
|
||||
Provides: perl(Template::Monad::Scalar)
|
||||
Provides: perl(Template::Namespace::Constants) = 3.100
|
||||
Provides: perl(Template::Parser) = 3.100
|
||||
Provides: perl(Template::Perl)
|
||||
Provides: perl(Template::Plugin) = 3.100
|
||||
Provides: perl(Template::Plugin::Assert) = 3.100
|
||||
Provides: perl(Template::Plugin::Datafile) = 3.100
|
||||
Provides: perl(Template::Plugin::Date) = 3.100
|
||||
Provides: perl(Template::Plugin::Date::Calc)
|
||||
Provides: perl(Template::Plugin::Date::Manip)
|
||||
Provides: perl(Template::Plugin::Directory) = 3.100
|
||||
Provides: perl(Template::Plugin::Dumper) = 3.100
|
||||
Provides: perl(Template::Plugin::File) = 3.100
|
||||
Provides: perl(Template::Plugin::Filter) = 3.100
|
||||
Provides: perl(Template::Plugin::Format) = 3.100
|
||||
Provides: perl(Template::Plugin::HTML) = 3.100
|
||||
Provides: perl(Template::Plugin::Image) = 3.100
|
||||
Provides: perl(Template::Plugin::Iterator) = 3.100
|
||||
Provides: perl(Template::Plugin::Math) = 3.100
|
||||
Provides: perl(Template::Plugin::Pod) = 3.100
|
||||
Provides: perl(Template::Plugin::Procedural) = 3.100
|
||||
Provides: perl(Template::Plugin::Scalar) = 3.100
|
||||
Provides: perl(Template::Plugin::String) = 3.100
|
||||
Provides: perl(Template::Plugin::Table) = 3.100
|
||||
Provides: perl(Template::Plugin::URL) = 3.100
|
||||
Provides: perl(Template::Plugin::View) = 3.100
|
||||
Provides: perl(Template::Plugin::Wrap) = 3.100
|
||||
Provides: perl(Template::Plugins) = 3.100
|
||||
Provides: perl(Template::Provider) = 3.100
|
||||
Provides: perl(Template::Service) = 3.100
|
||||
Provides: perl(Template::Stash) = 3.100
|
||||
Provides: perl(Template::Stash::Context) = 3.100
|
||||
Provides: perl(Template::Stash::XS)
|
||||
Provides: perl(Template::Test) = 3.100
|
||||
Provides: perl(Template::TieString)
|
||||
Provides: perl(Template::Toolkit) = 3.100
|
||||
Provides: perl(Template::VMethods) = 3.100
|
||||
Provides: perl(Template::View) = 3.100
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Template Processing System
|
||||
comprehensive template processing system
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -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 Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -55,7 +107,6 @@ make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes HACKING README.md testrules.yml TODO
|
||||
%doc Changes HACKING.md README.md TODO
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user