Compare commits

...

10 Commits

Author SHA256 Message Date
6ada16d0bb Accepting request 928602 from devel:languages:perl:autoupdate
- updated to 3.5.9
   see /usr/share/doc/packages/perl-Text-Xslate/Changes
  v3.5.9 2021-10-31T01:10:44Z
      - Fix t/010_internals/008_files.t (#206)

OBS-URL: https://build.opensuse.org/request/show/928602
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Xslate?expand=0&rev=12
2021-11-03 07:14:01 +00:00
0a387be9aa Accepting request 810794 from devel:languages:perl:autoupdate
updated to 3.5.8
   see /usr/share/doc/packages/perl-Text-Xslate/Changes
  v3.5.8 2020-06-01T15:17:51Z
      - Fix "Argument list too long" in test (greeneg #202, #203, #204)

OBS-URL: https://build.opensuse.org/request/show/810794
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Xslate?expand=0&rev=11
2020-06-03 15:21:50 +00:00
74fcffe843 Accepting request 750989 from devel:languages:perl:autoupdate
- updated to 3.5.7
   see /usr/share/doc/packages/perl-Text-Xslate/Changes
  v3.5.7 2019-11-25T16:15:32Z
      - Fix a segfault on array join (zanyou #199, #200)

OBS-URL: https://build.opensuse.org/request/show/750989
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Xslate?expand=0&rev=10
2019-11-26 17:24:04 +00:00
c67197992c Accepting request 640477 from devel:languages:perl:autoupdate
- Fix autogenerated changes
- updated to 3.5.6
   see /usr/share/doc/packages/perl-Text-Xslate/Changes
  v3.5.6 2018-01-08T06:39:38Z
      - Fix build on perl 5.8.8 (wyoung #192, #193)
  
  v3.5.5 2018-01-05T02:53:17Z
      - Ensure that test cleans up after itself (jkeenan #190)
  
  v3.5.4 2017-12-19T14:06:41Z
      - Guarantee that test cleans up after itself (jkeenan #189)
  
  v3.5.3 2017-12-03T05:18:51Z
      - Fix tests for windows again (#188)
  
  v3.5.2 2017-12-02T08:19:33Z
      - Fix tests for windows (zdm #186, #187)
  
  v3.5.1 2017-11-30T16:09:33Z
      - Fix packaging issue; explicitly declare version for Text::Xslate::Engine
  
  v3.5.0 2017-11-30T15:57:50Z
      - Migrate to using minil (#179)
      - Improve perl 5.8 support (#182)
      - Use version->declare() to declare $VERSION (#182)
      - Make `prove -br t` work with dot-not-in-INC perls (#184)
      - Run tests against both XS and pureperl (#185)
      - Fix typo (anirvan #181)

OBS-URL: https://build.opensuse.org/request/show/640477
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Xslate?expand=0&rev=9
2018-10-07 22:09:51 +00:00
Stephan Kulow
2dbb2fd958 Accepting request 457011 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/457011
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Xslate?expand=0&rev=8
2017-02-14 09:08:14 +00:00
9262cd190a Accepting request 350861 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/350861
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Xslate?expand=0&rev=7
2015-12-26 12:34:13 +00:00
Stephan Kulow
a646999b9d Accepting request 327836 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/327836
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Xslate?expand=0&rev=6
2015-08-29 18:27:15 +00:00
Stephan Kulow
30596c7b2f Accepting request 327308 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/327308
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Xslate?expand=0&rev=5
2015-08-27 10:16:26 +00:00
Stephan Kulow
b8893e5d4c Accepting request 321398 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/321398
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Xslate?expand=0&rev=4
2015-08-08 13:38:18 +00:00
Stephan Kulow
e41893193c Accepting request 297359 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/297359
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Xslate?expand=0&rev=3
2015-04-16 20:16:51 +00:00
6 changed files with 688 additions and 44 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7370ed88e69c607aaa00fbbffa840016ab48bb0232a4f0222e1028b38e267fbe
size 195458

View File

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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:40c85c8be10a54994ff3f70daea5e56b62c2ee508b75ab714e7d948db1877480
size 216359

20
cpanspec.yml Normal file
View File

@@ -0,0 +1,20 @@
---
#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

View File

@@ -1,3 +1,632 @@
-------------------------------------------------------------------
Sun Oct 31 03:08:46 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 3.5.9
see /usr/share/doc/packages/perl-Text-Xslate/Changes
v3.5.9 2021-10-31T01:10:44Z
- Fix t/010_internals/008_files.t (#206)
-------------------------------------------------------------------
Tue Jun 2 03:20:39 UTC 2020 - Tina Müller <timueller+perl@suse.de>
updated to 3.5.8
see /usr/share/doc/packages/perl-Text-Xslate/Changes
v3.5.8 2020-06-01T15:17:51Z
- Fix "Argument list too long" in test (greeneg #202, #203, #204)
-------------------------------------------------------------------
Tue Nov 26 09:25:40 UTC 2019 - <timueller+perl@suse.de>
- updated to 3.5.7
see /usr/share/doc/packages/perl-Text-Xslate/Changes
v3.5.7 2019-11-25T16:15:32Z
- Fix a segfault on array join (zanyou #199, #200)
-------------------------------------------------------------------
Sun Oct 7 22:07:04 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>
- Fix autogenerated changes
-------------------------------------------------------------------
Wed Feb 7 17:28:01 UTC 2018 - coolo@suse.com
- updated to 3.5.6
see /usr/share/doc/packages/perl-Text-Xslate/Changes
v3.5.6 2018-01-08T06:39:38Z
- Fix build on perl 5.8.8 (wyoung #192, #193)
v3.5.5 2018-01-05T02:53:17Z
- Ensure that test cleans up after itself (jkeenan #190)
v3.5.4 2017-12-19T14:06:41Z
- Guarantee that test cleans up after itself (jkeenan #189)
v3.5.3 2017-12-03T05:18:51Z
- Fix tests for windows again (#188)
v3.5.2 2017-12-02T08:19:33Z
- Fix tests for windows (zdm #186, #187)
v3.5.1 2017-11-30T16:09:33Z
- Fix packaging issue; explicitly declare version for Text::Xslate::Engine
v3.5.0 2017-11-30T15:57:50Z
- Migrate to using minil (#179)
- Improve perl 5.8 support (#182)
- Use version->declare() to declare $VERSION (#182)
- Make `prove -br t` work with dot-not-in-INC perls (#184)
- Run tests against both XS and pureperl (#185)
- Fix typo (anirvan #181)
-------------------------------------------------------------------
Tue Feb 14 07:50:08 UTC 2017 - coolo@suse.com
- updated to 3.4.0
see /usr/share/doc/packages/perl-Text-Xslate/Changes
3.4.0 2017-01-20 15:00:00+0900
- Fix tied hash issue(#173)
- Fix encoding issue(#160)
- Fix segmentation fault issue by accessing uninitialized array element(#159)
-------------------------------------------------------------------
Sat Dec 26 10:21:49 UTC 2015 - coolo@suse.com
- updated to 3.3.9
see /usr/share/doc/packages/perl-Text-Xslate/Changes
3.3.9 2015-12-18 22:15:00+0900
- Fix test for Windows
3.3.8 change breaks Windows
3.3.8 2015-12-18 16:20:00+0900
- Fix test for DragonflyBSD
- Update document
-------------------------------------------------------------------
Sat Aug 29 09:16:34 UTC 2015 - coolo@suse.com
- updated to 3.3.7
see /usr/share/doc/packages/perl-Text-Xslate/Changes
3.3.7 2015-08-28 13:45:00+0900
- Fix for older Perl 5.8.8 or lower(#145)
- Enable 5.8 tests again
-------------------------------------------------------------------
Thu Aug 27 09:12:00 UTC 2015 - coolo@suse.com
- updated to 3.3.6
see /usr/share/doc/packages/perl-Text-Xslate/Changes
3.3.6 2015-08-25 13:50:00+0900
- Fix issue 'include' makes stack pointer incorrect(#130)
-------------------------------------------------------------------
Sat Aug 8 09:10:12 UTC 2015 - coolo@suse.com
- updated to 3.3.5
see /usr/share/doc/packages/perl-Text-Xslate/Changes
3.3.5 2015-08-05 18:50:00+0900
- Update Mouse version for Perl 5.22 or higher
-------------------------------------------------------------------
Thu Apr 16 19:57:37 UTC 2015 - coolo@suse.com
- updated to 3.3.4
see /usr/share/doc/packages/perl-Text-Xslate/Changes
3.3.4 2015-03-24 23:21:57+0900
- Fix typos in document
- Introduce $Text::Xslate::DEFAULT_CACHE_DIR
3.3.3 2014-08-04 15:50:00+0900
- No code changes from 3.3.2, just re-packaging.
3.3.2 2014-08-04 12:40:00+0900
[IMPROVEMENT]
- #127 Improve generating temporary file name
3.3.1 2014-08-03 11:45:40+0900
[ANNOUNCE]
- Now Xslate has new co-maintainers (those who can maintain and release
Xslate): lestrrat, syohex, and tokuhirom
[BUG FIXES]
- #126 Fix a typo in naming tempfiles (Hugmeir)
[DOCMENT]
- #125 Update document on Text::Xslate->bridge() and Builtin.pod
(Mike Raynham)
3.3.0 2014-08-03 11:54:02+0900
(mis-packaging release)
3.2.5 2014-07-15 08:18:31+0900
[TEST FIXES]
- No CGI.pm, which is no longer a standard module
3.2.4 2014-04-27 17:18:15+0900
[TEST FIXES]
- Fix #122, #120 testing issue on windows (syohex)
[FEATURES]
- Add $array.first() and $array.last() methods (#116, #118 / shyohex)
3.2.3 2014-04-23 07:32:39+0900
- Made a mistake in the release engineering, re-packaged on the correct
status.
3.2.2 2014-04-23 07:29:42+0900
[BUG FIXES]
- Fix #105 SEGV on blead (reported by tokuhirom, fixed by syohex in #117)
3.2.1 2014-04-17 07:55:38+0900
[BUG FIXES]
- Fix #111 (by syohex in #113) inputting "0" made a wrong result
3.2.0 2014-04-04 07:39:59+0900
[BUG FIXES]
- Fix #107, #109 HashWithDefault should use "exists" (yappo, tokuhirom)
3.1.2 2014-02-20 21:09:47+0900
[TEST]
- Add a test for github issue #105, which will fail on Perl 5.19.x
3.1.1 2014-01-24 07:50:52+0900
[DOCUMENTS]
- Fix some typos (#102)
- Add an explanation of `validate()` (#101)
[BUG FIXES]
- Fix a race condition on making cache dirs (#103)
3.1.0 2013-11-16 16:46:35+0900
[BUG FIXES]
- Close #96; $/ affected the parse() method
[FEATURES]
- Add $xslate->validate($file) method to check template syntax
3.0.2 2013-11-15 21:56:53+0900
[BUG FIXES]
- Fix a mojibake issue where utf8::upgrade() was always called when
loading caches (hanabukuro++)
3.0.1 2013-11-04 12:27:51+0900
[TEST FIXES]
- Fix a test that might fail on a slow machine like Raspberry Pi
(Getty++)
3.0.0 2013-10-18 08:59:22+0900
- No code changes from 2.1.0, just re-packaging for package managers
2.1.0 2013-10-17 22:18:21+0900
[BUG FIXES]
- Fix an issue that multi-bytes string literals used for a hash key
was not dealt as a text string (@Niratama++)
WARNING: this change could break your code if you use multi-byte
text string as a hash key.
2.0010 2013-10-07 21:56:12+0900
[BUG FIXES]
- Fix an issue that vpath with text-strings raised errors
on newer perls due to specification changes in PerlIO::scalar (#90)
- Documentation tweaks (#84, #86)
2.0009 2013-07-08 10:49:47-0700
[BUG FIXES]
- Fix a tied hash issue on string concat, thanks to zxchris (#81)
2.0008 2013-07-06 00:09:43-0700
[BUG FIXES]
- Fix a chache issue that UTF8 flags were not turned on
as expected (#82)
- Fix Metakolon doc (#83)
2.0007 2013-06-21 13:16:16-0700
[DOCUMENTS]
- Add doc about chomping newlines (<:- ... -:>)
[NEW FEATURES]
- Add pre_process_handler to pre-process template content (bluescreen)
2.0006 2013-06-02 22:58:27
[BUG FIXES]
- Fix an issue that the state of VM broke on exception
reported by nihen
2.0005 2013-06-02 12:23:15
[BUG FIXES]
- Fix a Multiplexed WRAPPER issue reportedy by @kawamuray (#79)
Those who use WRAPPER, template cascading, or anonymous functions
(lambdas) are strongly recommended to upgrade Xslate.
2.0004 2013-05-29 20:27:07
[TEST FIXES]
- Template string must be bytes (#78)
2.0003 2013-05-10 12:59:11
[BUG FIXES]
- Fix a crash on compiling templates (#77)
2.0002 2013-04-26 12:51:47
[BUG FIXES]
- Support perl-blead (5.17.11)
2.0001 2013-04-24 16:24:22
[FEATURES]
- Support PUREPERL_ONLY build
See the Lancaster Consensu:
https://github.com/sjn/toolchain-site/blob/219db464af9b2f19b04fec05547ac10180a469f3/lancaster-consensus.md#specifying-pure-perl-builds
2.0000 2013-02-20 09:21:08
- No code change from 1.9999_01
1.9999_01 2013-02-16 15:44:31
[CHANGES]
- Migrate from Any::Moose to Mouse because Any::Moose is deprecated
1.6002 2012-12-19 22:54:55
[BUG FIXES]
- Fix a bug where TTerse created no variable scopes (thanks to Yappo)
1.6001 2012-12-05 10:03:13
[BUG FIXES]
- Resolve issue #71: SV leaks in VM frames
1.6000_01 2012-11-04 09:56:45
- The bytecode version is now 1.6. So all the cache will be discarded.
[FEATURES]
- Add opcodes: find_file, suffix, is_code_ref, merge_file in
order to enhance template syntaxes (doy)
1.5025 2012-10-20 21:45:27
[BUG FIXES]
- Fix a bug that constants with unary operators might result in
wrong values (thanks to @doy)
1.5024 2012-10-15 18:02:29
[BUG FIXES]
- Fix false assertion failure
(This change affects only to -DDEBUGGING enabled perl)
1.5023 2012-10-15 08:22:14
[TEST]
- Apply issue #66 again
- 1.5022 was identical to 1.5021 (thanks to @doy)
1.5022 2012-10-15 00:15:18
[TEST]
- Do not depend on extra modules in tests (issue #66, @nihen).
1.5021 2012-10-15 00:07:54
[BUG FIXES]
- Fix an issue that recursive call of render() may cause SEGV
thanks to doy for reporting this issue (isseu #65).
1.5020 2012-10-14 23:06:49
[BUG FIXES]
- Fix deploying issues reported at 1.5017, again.
thanks to @woremacx for reporting it.
- Fix a bug that calling macro which encloses outer variables,
may clobber other variables, thanks to @ktat for reporting it.
1.5019 2012-10-03 12:28:20
[BUG FIXES]
- Revert 1.5016's bugfix which introduced a more serious problem.
The complete bufix will be applied to 1.5020.
1.5018 2012-09-30 13:41:13
[FEATURES]
- "html_builder_module" option to import HTML builders;
functions imported with this option are wrapped by html_builder()
1.5017 2012-08-04 19:31:59
[BUG FIXES]
- Fix a problem on Win32
1.5016 2012-08-04 19:19:15
[BUG FIXES]
- Fix a bug that reloading templates could fail on deploying
- Fix a problem on 5.17
1.5015 2012-07-13 19:31:53
[IMPROVEMENT]
- Enhance extensibility for custom parsers (shmorimo)
1.5014 2012-06-26 19:41:20
[IMPROVEMENT]
- Add scalar::split() to Bridge::Star (tokuhirom)
1.5013 2012-06-12 23:46:44
[IMPROVEMENT]
- Add "macro" option to Text::Xslate->new() (gunyoki)
1.5012 2012-05-21 15:52:59
[IMPROVEMENT]
- imporve error messages when the parser reaches EOF
1.5011 2012-05-21 15:45:00
[BUG FIXES]
- add warning about https://github.com/xslate/p5-Text-Xslate/issues/55
For backword compatibility, we don't change its behavior, but
it is likely to a problem so we warnn about it.
1.5010 2012-05-04 01:04:47
[TEST FIXES]
- Make `HANRESS_OPTIONS=j9 make test` work (@punytan)
1.5009 2012-03-30 09:19:18
[IMPROVEMENT]
- Documentation improvement
1.5008 2012-03-28 09:39:45
[BUG FIXES]
- Fix a typo in an error messages (issues/53, thanks to wchristian)
- Fix an undefined behavior that giving utf8-encoded *bytes* as
params made mojibake in use of caches
1.5007 2011-11-17 19:43:10
[BUG FIXES]
* SWITCH without an END made infinate loops (reorted by ryochin)
* "01" was parsed as 1, not "01" (reported by ryochin)
1.5006 2011-11-12 12:54:39
[META]
- Move the repository from github.com/gfx/* to github.com/xslate/
[FEATURES]
- Add Text::Xslate::Bridge::Star, utilities for templates
1.5005 2011-10-27 13:36:03
[IMPROVEMENT]
- Update documentations
1.5004 2011-10-13 10:24:38
[BUG FIXES]
- Small doc changes regarding escaping of HTML metacharacters (oalders)
- Fix a missing current_vars() method in PP
- Fix an error handling in Bridge.pm
1.5003 2011-10-05 11:23:56
[BUG FIXES]
- Fix typos in docs
- Resolve issue/45: nested macro modifiers caused errors
(thanks to tokuhirom)
1.5002 2011-08-30 21:48:49
[FEATURES]
* Add Text::Xslate->current_vars to get the parameters of render()
(requested by cho45 and others)
1.5001 2011-08-30 19:37:24
[BUG FIXES]
* Calling macros could break lexical vars;
Thanks to tomyhero and tokuhirom.
1.5000 2011-08-29 17:37:10
[BUG FIXES]
* Purge caches when input_layer has chagned. This fix
forces to purge all the caches, so the version is
now 1.5000, not 1.4003.
1.4002 2011-08-29 16:24:13
[FEATURES]
* Support FOR-ELSE syntax in TTerse
* Support file input hook by overriding slurp_template()
(See the cookbook)
1.4001 2011-07-29 09:13:00
[CHANGES]
* Forbid blessed HASH references as template parameters,
which could break encapsulation
1.4000 2011-07-24 19:26:31
* No code changes from 1.3999_04
* Note that all the cache created before 1.4 will be purged
1.3999_04 2011-07-24 13:07:28
[BUG FIXES]
* render() for %vpath did compile template sources at the first time
of the running process, but it was not required
1.3999_03 2011-07-23 17:51:28
[BUG FIXES]
* [% FOR x IN ... %] no longer throws errors
Using reserved words as variables is allowed if it's not ambiguous
[OTHER]
* Files and directories have been cleaned up
1.3999_02 2011-07-23 13:31:09
[DOCUMENT]
* Improve FAQ and Cookbook
* Mention to Text::Xslate::Syntax::HTMLTemplate and
HTML::Template::Parser (thnaks to @shmorimo)
1.3999_01 2011-07-13 23:14:05
The bytecode version is now 1.5.
[NEW FEATURES]
* New keyword: __ROOT__ for the root parameter
(the parameter of render())
* New methods: $array.merge(...) and $hash.merge(...)
which return a merged array / hash respectively
1.3001 2011-07-11 00:41:48
[BUG FIXES]
* Constants (and my pseudo-vars) didn't work in foreach-loops
(thanks to @toritori0318)
1.3000 2011-06-11 18:20:02
[CHANGES]
* html_builder(\&f) passes @_ as-is to &f
[BUG FIXES]
* Comments broke line numers (thanks to ktat)
* <: "10" x 100 :> was broken (thanks to ktat)
1.2004 2011-06-06 08:54:50
[BUG FIXES]
* Overriding builtins (introduced in 1.1005) didn't work
1.2003 2011-06-03 00:41:03
[BUG FIXES]
* Fix a miss-format in docs
* Suppress a compiler warnings
1.2002 2011-05-18 23:53:31
[BUG FIXES]
* Fix the overriding of the default escaping routine (rep. by @shmorimo)
1.2001 2011-05-16 23:39:16
* No code chages
* Just updated Module::Install::XSUtil for PERL_ONLY configuration support
1.2000 2011-05-14 14:32:46
See the changes for 1.1005_01
1.1005_01 2011-05-12 00:13:48
[CHANGES]
* The bytecode version is 1.4
[FEATURES]
* Allow the default escaping function html_escape() overridden
* Allow all the builtin functions overridden
* Add html_escape() and uri_escape() builtin functions,
which are the same as html() and uri() respectively
-------------------------------------------------------------------
Thu Apr 16 19:57:29 UTC 2015 - coolo@suse.com
- updated to 1.5005
see /usr/share/doc/packages/perl-Text-Xslate/Changes
1.5005 2011-10-27 13:36:03
[IMPROVEMENT]
- Update documentations
1.5004 2011-10-13 10:24:38
[BUG FIXES]
- Small doc changes regarding escaping of HTML metacharacters (oalders)
- Fix a missing current_vars() method in PP
- Fix an error handling in Bridge.pm
1.5003 2011-10-05 11:23:56
[BUG FIXES]
- Fix typos in docs
- Resolve issue/45: nested macro modifiers caused errors
(thanks to tokuhirom)
1.5002 2011-08-30 21:48:49
[FEATURES]
* Add Text::Xslate->current_vars to get the parameters of render()
(requested by cho45 and others)
1.5001 2011-08-30 19:37:24
[BUG FIXES]
* Calling macros could break lexical vars;
Thanks to tomyhero and tokuhirom.
1.5000 2011-08-29 17:37:10
[BUG FIXES]
* Purge caches when input_layer has chagned. This fix
forces to purge all the caches, so the version is
now 1.5000, not 1.4003.
1.4002 2011-08-29 16:24:13
[FEATURES]
* Support FOR-ELSE syntax in TTerse
* Support file input hook by overriding slurp_template()
(See the cookbook)
1.4001 2011-07-29 09:13:00
[CHANGES]
* Forbid blessed HASH references as template parameters,
which could break encapsulation
1.4000 2011-07-24 19:26:31
* No code changes from 1.3999_04
* Note that all the cache created before 1.4 will be purged
1.3999_04 2011-07-24 13:07:28
[BUG FIXES]
* render() for %vpath did compile template sources at the first time
of the running process, but it was not required
1.3999_03 2011-07-23 17:51:28
[BUG FIXES]
* [% FOR x IN ... %] no longer throws errors
Using reserved words as variables is allowed if it's not ambiguous
[OTHER]
* Files and directories have been cleaned up
1.3999_02 2011-07-23 13:31:09
[DOCUMENT]
* Improve FAQ and Cookbook
* Mention to Text::Xslate::Syntax::HTMLTemplate and
HTML::Template::Parser (thnaks to @shmorimo)
1.3999_01 2011-07-13 23:14:05
The bytecode version is now 1.5.
[NEW FEATURES]
* New keyword: __ROOT__ for the root parameter
(the parameter of render())
* New methods: $array.merge(...) and $hash.merge(...)
which return a merged array / hash respectively
1.3001 2011-07-11 00:41:48
[BUG FIXES]
* Constants (and my pseudo-vars) didn't work in foreach-loops
(thanks to @toritori0318)
1.3000 2011-06-11 18:20:02
[CHANGES]
* html_builder(\&f) passes @_ as-is to &f
[BUG FIXES]
* Comments broke line numers (thanks to ktat)
* <: "10" x 100 :> was broken (thanks to ktat)
1.2004 2011-06-06 08:54:50
[BUG FIXES]
* Overriding builtins (introduced in 1.1005) didn't work
1.2003 2011-06-03 00:41:03
[BUG FIXES]
* Fix a miss-format in docs
* Suppress a compiler warnings
1.2002 2011-05-18 23:53:31
[BUG FIXES]
* Fix the overriding of the default escaping routine (rep. by @shmorimo)
1.2001 2011-05-16 23:39:16
* No code chages
* Just updated Module::Install::XSUtil for PERL_ONLY configuration support
1.2000 2011-05-14 14:32:46
See the changes for 1.1005_01
1.1005_01 2011-05-12 00:13:48
[CHANGES]
* The bytecode version is 1.4
[FEATURES]
* Allow the default escaping function html_escape() overridden
* Allow all the builtin functions overridden
* Add html_escape() and uri_escape() builtin functions,
which are the same as html() and uri() respectively
-------------------------------------------------------------------
Sun May 1 10:38:44 UTC 2011 - coolo@opensuse.org

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Text-Xslate (Version 1.1005)
# spec file for package perl-Text-Xslate
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,35 +12,37 @@
# 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-Text-Xslate
Version: 1.1005
Release: 1
License: GPL+ or Artistic
%define cpan_name Text-Xslate
Name: perl-Text-Xslate
Version: 3.5.9
Release: 0
Summary: Scalable template engine for Perl5
Url: http://search.cpan.org/dist/Text-Xslate/
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/G/GF/GFUJI/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SK/SKAJI/%{cpan_name}-v%{version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Any::Moose) >= 0.13
BuildRequires: perl(Data::MessagePack) >= 0.30
BuildRequires: perl(Devel::PPPort) >= 3.19
BuildRequires: perl(ExtUtils::ParseXS) >= 2.21
BuildRequires: perl(Mouse) >= 0.61
BuildRequires: perl(parent) >= 0.221
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Data::MessagePack) >= 0.38
BuildRequires: perl(Devel::PPPort) >= 3.33
BuildRequires: perl(Encode) >= 2.26
BuildRequires: perl(File::Copy::Recursive)
BuildRequires: perl(File::Path) >= 2.070000
BuildRequires: perl(Module::Build) >= 0.400500
BuildRequires: perl(Module::Build::XSUtil)
BuildRequires: perl(Mouse) >= v2.5.0
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(Test::Requires)
BuildRequires: perl(XSLoader) >= 0.1
Requires: perl(Any::Moose) >= 0.13
Requires: perl(Data::MessagePack) >= 0.30
Requires: perl(Mouse) >= 0.61
BuildRequires: perl(parent) >= 0.221
BuildRequires: perl(version) >= 0.9913
Requires: perl(Data::MessagePack) >= 0.38
Requires: perl(Encode) >= 2.26
Requires: perl(Mouse) >= v2.5.0
Requires: perl(parent) >= 0.221
Requires: perl(XSLoader) >= 0.1
%{perl_requires}
%description
@@ -48,9 +50,10 @@ Requires: perl(XSLoader) >= 0.1
an HTML generator, and with rich features.
There are a lot of template engines in CPAN, for example Template-Toolkit,
Text::MicroTemplate, HTML::Template, and so on, but all of them have
demerits at some points. This is why Xslate is developed and now it is
well-honed as the standard template engine for web applications.
Text::MicroTemplate, HTML::Template, and so on, but all of them have some
weak points: a full-featured template engine may be slow, while a fast
template engine may be too simple to use. This is why Xslate is developed,
which is the best template engine for web applications.
The concept of Xslate is strongly influenced by Text::MicroTemplate and
Template-Toolkit 2, but the central philosophy of Xslate is different from
@@ -60,26 +63,21 @@ should not have no access outside the template beyond your permission.
Other remarkable features are as follows:
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-v%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
perl Build.PL installdirs=vendor optimize="%{optflags}"
./Build build flags=%{?_smp_mflags}
%check
%{__make} test
./Build test
%install
%perl_make_install
%perl_process_packlist
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes HACKING README
%doc Changes example HACKING minil.toml README.md
%license LICENSE
%changelog