14
0
forked from pool/python-Mako
Commit Graph

65 Commits

Author SHA256 Message Date
906bb7fc51 Accepting request 721098 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/721098
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=36
2019-08-06 13:09:15 +00:00
Tomáš Chvátal
f171012d61 Accepting request 721022 from home:pgajdos
- version update to 1.1.0
  * Removed the "python setup.py test" feature in favor
  * Replaced usage of ``inspect.getfullargspec()`` with the vendored version
    used by SQLAlchemy, Alembic to avoid future deprecation warnings.

OBS-URL: https://build.opensuse.org/request/show/721022
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=64
2019-08-05 18:06:18 +00:00
Tomáš Chvátal
ea29564d89 Accepting request 719500 from home:pgajdos
- version update to 1.0.14
  * The n filter is now supported in the <%page> tag. This allows a template to omit the default expression filters throughout a whole template, for those cases where a
    template-wide filter needs to have default filtering disabled.
  * Fixed issue where the correct file URI would not be shown in the template-formatted exception traceback if the template filename were not known. Additionally fixes an issue
    where stale filenames would be displayed if a stack trace alternated between different templates.
  * Improved the line-number tracking for source lines inside of Python <% ... %> blocks, such that text- and HTML-formatted exception traces such as that of
    html_error_template() now report the correct source line inside the block, rather than the first line of the block itself. Exceptions in <%! ... %> blocks which get raised
    while loading the module are still not reported correctly, as these are handled before the Mako code is generated.

OBS-URL: https://build.opensuse.org/request/show/719500
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=63
2019-07-29 08:41:32 +00:00
4d8b3761e8 Accepting request 710504 from devel:languages:python
- Update to 1.0.12:
  * Fixed regression where import refactors in Mako 1.0.11 caused broken imports on Python 3.8.
  * Updated for additional project metadata in setup.py. Additionally, the code has been reformatted using Black and zimports.

OBS-URL: https://build.opensuse.org/request/show/710504
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=35
2019-06-24 19:44:52 +00:00
Tomáš Chvátal
5997fdf354 - Update to 1.0.12:
* Fixed regression where import refactors in Mako 1.0.11 caused broken imports on Python 3.8.
  * Updated for additional project metadata in setup.py. Additionally, the code has been reformatted using Black and zimports.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=61
2019-06-18 08:41:48 +00:00
c12db85c01 Accepting request 703501 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/703501
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=34
2019-05-20 08:26:41 +00:00
Tomáš Chvátal
ee44dd0c24 Accepting request 703500 from home:kwususe1:branches:devel:languages:python
- Update to 1.0.10:
  * Added default encoding for Python 3 for traceback.

OBS-URL: https://build.opensuse.org/request/show/703500
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=59
2019-05-16 17:44:21 +00:00
88fbb5cc24 Accepting request 699371 from devel:languages:python
- Update to 1.0.9:
  * Fixed an element in the AST Python generator which changed for Python 3.8

OBS-URL: https://build.opensuse.org/request/show/699371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=33
2019-05-05 19:18:55 +00:00
Tomáš Chvátal
df7e98f40b - Update to 1.0.9:
* Fixed an element in the AST Python generator which changed for Python 3.8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=57
2019-04-29 08:02:31 +00:00
fc30c39ee2 Accepting request 687333 from devel:languages:python
- update to 1.0.8 
 * Added --output-encoding flag to the mako-render script

OBS-URL: https://build.opensuse.org/request/show/687333
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=32
2019-03-29 19:36:31 +00:00
a8bd327273 - update to 1.0.8
* Added --output-encoding flag to the mako-render script

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=55
2019-03-21 13:41:34 +00:00
b8706a345c Accepting request 622361 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/622361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=31
2018-07-14 18:20:04 +00:00
aa5107c238 Clean up SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=53
2018-07-05 21:48:07 +00:00
22184df6e9 Accepting request 583701 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/583701
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=30
2018-03-09 09:34:37 +00:00
Tomáš Chvátal
e63053c032 Accepting request 583642 from home:aplanas:branches:devel:languages:python
Allows Recommends and Suggest in Fedora

OBS-URL: https://build.opensuse.org/request/show/583642
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=51
2018-03-06 20:52:17 +00:00
e13c2233f7 Accepting request 517982 from devel:languages:python
- update to 1.0.7:
  * Changed the "print" in the mako-render command to
    sys.stdout.write(), avoiding the extra newline at the end
    of the template output. (forwarded request 517981 from tbechtold)

OBS-URL: https://build.opensuse.org/request/show/517982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=29
2017-08-23 09:53:37 +00:00
Thomas Bechtold
90056b67c7 Accepting request 517981 from home:tbechtold:branches:devel:languages:python
- update to 1.0.7:
  * Changed the "print" in the mako-render command to
    sys.stdout.write(), avoiding the extra newline at the end
    of the template output.

OBS-URL: https://build.opensuse.org/request/show/517981
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=49
2017-08-21 17:00:28 +00:00
28003abcc5 Accepting request 493141 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/493141
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=28
2017-05-09 15:59:18 +00:00
Todd R
6e77f1173e Accepting request 493118 from home:TheBlackCat:branches:devel:languages:python
Don't provide python2-mako, singlespec packages should use correct name.

OBS-URL: https://build.opensuse.org/request/show/493118
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=47
2017-05-06 04:27:38 +00:00
ff9bec0419 Accepting request 490796 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/490796
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=27
2017-04-28 08:52:36 +00:00
Todd R
862effb985 Accepting request 487255 from home:jengelh:branches:devel:languages:python
- Trim extreme wording of description

OBS-URL: https://build.opensuse.org/request/show/487255
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=45
2017-04-24 16:27:39 +00:00
50ab83a973 Accepting request 486119 from devel:languages:python
- restore compatibility Provides

- Converted to single-spec
- Switched source URL to pypi.io
- Removed update-alternative

OBS-URL: https://build.opensuse.org/request/show/486119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=26
2017-04-19 16:08:02 +00:00
Jan Matejek
3a1308a8b4 - restore compatibility Provides
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=43
2017-04-06 11:39:18 +00:00
Jan Matejek
870298a4e6 Accepting request 484188 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/484188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=42
2017-03-31 17:01:12 +00:00
e9f4a17439 Accepting request 456104 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/456104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=25
2017-02-15 09:02:03 +00:00
Thomas Bechtold
1241b8ea26 Accepting request 456071 from home:stroeder:branches:devel:languages:python
update to 1.0.6

OBS-URL: https://build.opensuse.org/request/show/456071
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=40
2017-02-10 17:07:10 +00:00
33e2b5f6d2 Accepting request 440550 from devel:languages:python
- python-Beaker is only recommended, not required. (forwarded request 440549 from tbechtold)

OBS-URL: https://build.opensuse.org/request/show/440550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=24
2016-11-17 11:21:06 +00:00
Thomas Bechtold
95fd4819ce Accepting request 440549 from home:tbechtold:branches:devel:languages:python
- python-Beaker is only recommended, not required.

OBS-URL: https://build.opensuse.org/request/show/440549
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=38
2016-11-16 06:59:45 +00:00
95d0c792c9 Accepting request 428040 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/428040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=23
2016-09-20 11:22:24 +00:00
Todd R
2f9ac0bb11 Accepting request 428033 from home:TheBlackCat:branches:devel:languages:python
update to version 1.0.4

OBS-URL: https://build.opensuse.org/request/show/428033
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=36
2016-09-16 04:07:55 +00:00
f763da4e88 Accepting request 318847 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/318847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=22
2015-07-28 09:41:30 +00:00
e1ca06705b Accepting request 318683 from home:seife:OpenStack:Master
fix non-SUSE distro build by conditionalizing Suggests: tag

OBS-URL: https://build.opensuse.org/request/show/318683
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=34
2015-07-27 06:19:56 +00:00
f5f930246e Accepting request 290615 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/290615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=21
2015-03-16 05:53:17 +00:00
Denisart Benjamin
2ced8f2796 Accepting request 290614 from home:posophe:branches:devel:languages:python
Update + disable tests

OBS-URL: https://build.opensuse.org/request/show/290614
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=32
2015-03-13 11:46:20 +00:00
Stephan Kulow
97d06fec2d Accepting request 243225 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/243225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=19
2014-08-01 12:34:17 +00:00
0b7d282708 Accepting request 242919 from Cloud:OpenStack:Master
- fix up build for SLE11

OBS-URL: https://build.opensuse.org/request/show/242919
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=30
2014-07-31 15:32:42 +00:00
Stephan Kulow
92d176bdef Accepting request 241523 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/241523
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=18
2014-07-21 08:34:54 +00:00
Todd R
89254936e2 Accepting request 241522 from home:TheBlackCat:branches:devel:languages:python
Update to version 1.0.0

OBS-URL: https://build.opensuse.org/request/show/241522
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=28
2014-07-18 14:51:13 +00:00
Stephan Kulow
8da1660f74 Accepting request 224886 from devel:languages:python
- Only suggest Beaker, it's an extra requirement and not really needed

OBS-URL: https://build.opensuse.org/request/show/224886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=17
2014-03-07 06:06:09 +00:00
Sascha Peilicke
d92400249b - Only suggest Beaker, it's an extra requirement and not really needed
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=26
2014-03-06 14:28:59 +00:00
Stephan Kulow
89d519c48b Accepting request 213771 from devel:languages:python
- update to 0.9.1:
  - [bug] Fixed bug in Babel plugin where translator comments
    would be lost if intervening text nodes were encountered.
    Fix courtesy Ned Batchelder.  [ticket:225]
  
  - [bug] Fixed TGPlugin.render method to support unicode template
    names in Py2K - courtesy Vladimir Magamedov.
  
  - [bug] Fixed an AST issue that was preventing correct operation
    under alpha versions of Python 3.4.  Pullreq courtesy Zer0-.
  
  - [bug] Changed the format of the "source encoding" header output
    by the code generator to use the format ``# -*- coding:%s -*-``
    instead of ``# -*- encoding:%s -*-``; the former is more common
    and compatible with emacs.  Courtesy Martin Geisler.
  
  - [bug] Fixed issue where an old lexer rule prevented a template line
    which looked like "#*" from being correctly parsed.  [ticket:224] (forwarded request 213703 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/213771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=16
2014-01-16 14:12:26 +00:00
Denisart Benjamin
a60621e763 Accepting request 213703 from Cloud:OpenStack:Master
- update to 0.9.1:
  - [bug] Fixed bug in Babel plugin where translator comments
    would be lost if intervening text nodes were encountered.
    Fix courtesy Ned Batchelder.  [ticket:225]
  
  - [bug] Fixed TGPlugin.render method to support unicode template
    names in Py2K - courtesy Vladimir Magamedov.
  
  - [bug] Fixed an AST issue that was preventing correct operation
    under alpha versions of Python 3.4.  Pullreq courtesy Zer0-.
  
  - [bug] Changed the format of the "source encoding" header output
    by the code generator to use the format ``# -*- coding:%s -*-``
    instead of ``# -*- encoding:%s -*-``; the former is more common
    and compatible with emacs.  Courtesy Martin Geisler.
  
  - [bug] Fixed issue where an old lexer rule prevented a template line
    which looked like "#*" from being correctly parsed.  [ticket:224]

OBS-URL: https://build.opensuse.org/request/show/213703
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=24
2014-01-13 17:21:04 +00:00
Stephan Kulow
affec0c251 Accepting request 197231 from devel:languages:python
- update to 0.9.0:
  - [bug] The Context.locals_() method becomes a private underscored
    method, as this method has a specific internal use. The purpose
    of Context.kwargs has been clarified, in that it only delivers
    top level keyword arguments originally passed to template.render().
    [ticket:219]
  
  - [bug] Fixed the babel plugin to properly interpret ${} sections
    inside of a "call" tag, i.e. <%self:some_tag attr="${_('foo')}"/>.
    Code that's subject to babel escapes in here needs to be
    specified as a Python expression, not a literal.  This change
    is backwards incompatible vs. code that is relying upon a _('')
    translation to be working within a call tag.
  
  - [bug] The Babel plugin has been repaired to work on Python 3.
    [ticket:187]
  
  - [bug] Using <%namespace import="*" module="somemodule"/> now
    skips over module elements that are not explcitly callable,
    avoiding TypeError when trying to produce partials.
    [ticket:207]
  
  - [bug] Fixed Py3K bug where a "lambda" expression was not
    interpreted correctly within a template tag; also
    fixed in Py2.4.  [ticket:190] (forwarded request 197228 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/197231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=14
2013-09-03 20:03:30 +00:00
Sascha Peilicke
80e03fb436 Accepting request 197228 from home:dirkmueller:branches:devel:languages:python
- update to 0.9.0:
  - [bug] The Context.locals_() method becomes a private underscored
    method, as this method has a specific internal use. The purpose
    of Context.kwargs has been clarified, in that it only delivers
    top level keyword arguments originally passed to template.render().
    [ticket:219]
  
  - [bug] Fixed the babel plugin to properly interpret ${} sections
    inside of a "call" tag, i.e. <%self:some_tag attr="${_('foo')}"/>.
    Code that's subject to babel escapes in here needs to be
    specified as a Python expression, not a literal.  This change
    is backwards incompatible vs. code that is relying upon a _('')
    translation to be working within a call tag.
  
  - [bug] The Babel plugin has been repaired to work on Python 3.
    [ticket:187]
  
  - [bug] Using <%namespace import="*" module="somemodule"/> now
    skips over module elements that are not explcitly callable,
    avoiding TypeError when trying to produce partials.
    [ticket:207]
  
  - [bug] Fixed Py3K bug where a "lambda" expression was not
    interpreted correctly within a template tag; also
    fixed in Py2.4.  [ticket:190]

OBS-URL: https://build.opensuse.org/request/show/197228
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=22
2013-09-03 08:34:06 +00:00
Stephan Kulow
9eac445d06 Accepting request 180878 from devel:languages:python
- update to 0.8.1:
 - [bug] Changed setup.py to skip installing markupsafe
   if Python version is < 2.6 or is between 3.0 and
   less than 3.3, as Markupsafe now only supports 2.6->2.X,
   3.3->3.X. [ticket:216]
 
 - [bug] Fixed regression where "entity" filter wasn't
   converted for py3k properly (added tests.)
   [ticket:214]
 
 - [bug] Fixed bug where mako-render script wasn't
   compatible with Py3k.  [ticket:212]
 
 - [bug] Cleaned up all the various deprecation/
   file warnings when running the tests under
   various Pythons with warnings turned on.
   [ticket:213]
 
 - [feature] Performance improvement to the
   "legacy" HTML escape feature, used for XML
   escaping and when markupsafe isn't present,
   courtesy George Xie.
 
 - [bug] Fixed bug whereby an exception in Python 3
   against a module compiled to the filesystem would
   fail trying to produce a RichTraceback due to the
   content being in bytes. [ticket:209]
 
 - [bug] Change default for compile()->reserved_names
   from tuple to frozenset, as this is expected to be (forwarded request 180867 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/180878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=13
2013-06-29 12:33:13 +00:00
Sascha Peilicke
75d7ea8c25 Accepting request 180867 from home:dirkmueller:branches:devel:languages:python
- update to 0.8.1:
 - [bug] Changed setup.py to skip installing markupsafe
   if Python version is < 2.6 or is between 3.0 and
   less than 3.3, as Markupsafe now only supports 2.6->2.X,
   3.3->3.X. [ticket:216]
 
 - [bug] Fixed regression where "entity" filter wasn't
   converted for py3k properly (added tests.)
   [ticket:214]
 
 - [bug] Fixed bug where mako-render script wasn't
   compatible with Py3k.  [ticket:212]
 
 - [bug] Cleaned up all the various deprecation/
   file warnings when running the tests under
   various Pythons with warnings turned on.
   [ticket:213]
 
 - [feature] Performance improvement to the
   "legacy" HTML escape feature, used for XML
   escaping and when markupsafe isn't present,
   courtesy George Xie.
 
 - [bug] Fixed bug whereby an exception in Python 3
   against a module compiled to the filesystem would
   fail trying to produce a RichTraceback due to the
   content being in bytes. [ticket:209]
 
 - [bug] Change default for compile()->reserved_names
   from tuple to frozenset, as this is expected to be

OBS-URL: https://build.opensuse.org/request/show/180867
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=20
2013-06-25 12:20:38 +00:00
Stephan Kulow
564cbd000f Accepting request 179690 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=12
2013-06-19 14:21:54 +00:00
Sascha Peilicke
3c6efbb916 Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=18
2013-06-17 12:51:54 +00:00
Stephan Kulow
1a829b1001 Accepting request 143683 from devel:languages:python
Fix building on openSUSE 12.1 and 12.2

OBS-URL: https://build.opensuse.org/request/show/143683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=10
2012-12-03 10:27:02 +00:00
Todd R
284e4cb260 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=16 2012-11-30 14:10:56 +00:00