forked from pool/python-Cheetah3
fae81cf131a6590d12ddf4569bdd10ff85fe937da07a2464152ddebcbce109ba
- Enable py2 as it supports python2
- Update to 3.2.1:
* Changed LoadTemplate.loadTemplate{Module,Class}: the loaded module’s __name__ set to just the file name.
* Use imp for Python 2, importlib for Python 3.
* Fix a bug in LoadTemplate.loadTemplate{Module,Class}: raise ImportError if the template was not found.
- Update to 3.2.0:
* Dropped support for Python 3.3.
* Implement LoadTemplate.loadTemplate{Module,Class} to load templates from .py[co], .py or .tmpl.
* CheetahDirOwner caches compiled template in the template directory.
* CheetahDirOwner now silently ignores errors on compiled templates writing. To get tracebacks set CheetahDirOwner.debuglevel = 1.
* CheetahDirOwner and DirOwner byte-compile compiled templates to .pyc/.pyo. Errors on writing are silently ignored.
* Implement Compiler.__unicode__ under Python 2 and Compiler.__bytes__ under Python 3.
* Fix a bug in Compiler.__str__: under Python 2 the method now always returns str; it encodes unicode to str using encoding from the compiled source. Under Python 3 the method decodes bytes to str.
- Execute tests
OBS-URL: https://build.opensuse.org/request/show/687395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=4
Description
No description provided
Languages
RPM Spec
100%