1
0

38 Commits

Author SHA256 Message Date
67bba84a68 Accepting request 1269071 from devel:languages:python
- Support both lowercased and unnormalized metadata directory names.

- Lowercase metadata directory name.

OBS-URL: https://build.opensuse.org/request/show/1269071
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=16
2025-04-14 10:59:32 +00:00
3d040d8267 - Support both lowercased and unnormalized metadata directory names.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=37
2025-04-14 05:48:52 +00:00
d48e5203c9 - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=36
2025-03-25 00:39:32 +00:00
7947325dc1 Accepting request 1230062 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1230062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=15
2024-12-11 20:04:36 +00:00
b8a39b9863 - Update to 3.4.0
* Fixed ImportHooks: it must raise ModuleNotFoundError instead of ImportError.
  * Use cache_from_source in ImportManager to find out .pyc/.pyo byte-code files.
  * Add compatibility with Python 3.13 (multiple fixes)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=34
2024-12-11 10:34:30 +00:00
c7374912b5 Accepting request 1196253 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1196253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=14
2024-08-27 17:39:30 +00:00
df60b7e640 Accepting request 945513 from devel:languages:python
- Update to 3.2.6.post1:
  * Skip test_import_bootlocale() on Python 3.10

OBS-URL: https://build.opensuse.org/request/show/945513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=13
2022-01-11 20:19:59 +00:00
1bec781fcf - Update to 3.2.6.post1:
* Skip test_import_bootlocale() on Python 3.10

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=31
2022-01-11 07:29:40 +00:00
6828a8a702 Accepting request 865319 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/865319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=12
2021-01-26 13:46:15 +00:00
16aac2b64a Accepting request 865304 from home:jayvdb:branches:devel:languages:python
- Add Suggests for python-Markdown and python-Pygments
- Use python_alternative to fix multi Python 3 builds
- Tidy spec
- Disable tests failing on Python 3.6
- update to 3.2.6
  * Fix use of uninitialized variable in _namemapper.c

OBS-URL: https://build.opensuse.org/request/show/865304
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=29
2021-01-21 09:52:26 +00:00
4ed624a4a9 Accepting request 819499 from devel:languages:python
- update to 3.2.5
 * build fixes

OBS-URL: https://build.opensuse.org/request/show/819499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=11
2020-07-08 17:20:08 +00:00
edf508a74d - update to 3.2.5
* build fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=27
2020-07-08 14:29:44 +00:00
4e4b5d5174 Accepting request 796109 from devel:languages:python
- Cleanup of the SPEC file, remove warnings.

OBS-URL: https://build.opensuse.org/request/show/796109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=10
2020-04-22 18:55:13 +00:00
db464dbb59 Name of the module is actually capitalized
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=25
2020-04-21 17:58:24 +00:00
4437cc08d9 - Cleanup of the SPEC file, remove warnings.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=24
2020-04-21 17:06:15 +00:00
cc16617b2d Accepting request 776239 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/776239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=9
2020-02-19 11:42:00 +00:00
3c02f468fc Accepting request 774386 from home:trenn:branches:devel:languages:python
- python-Markdown is a BuildRequire for python-Cheetah3
  python2-Markdown package is not built anymore since last
  submitrequest:
    - disable python2 build: Markdown is python 3 only now
  Therefore python-Cheetah3 can also only build python3-Cheetah3
  due to: nothing provides python2-Markdown
  unresolvable build service errors otherwise

OBS-URL: https://build.opensuse.org/request/show/774386
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=22
2020-02-19 09:08:57 +00:00
e5ff99f147 Accepting request 735857 from devel:languages:python
- Update to 3.2.4:
  * Import from collections for Python 2, from collections.abc for Python 3.
  * Fixed infinite recursion in ImportManager on importing module _bootlocale inside open().

OBS-URL: https://build.opensuse.org/request/show/735857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=8
2019-10-08 17:58:05 +00:00
Tomáš Chvátal
d4adbdad62 - Update to 3.2.4:
* Import from collections for Python 2, from collections.abc for Python 3.
  * Fixed infinite recursion in ImportManager on importing module _bootlocale inside open().

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=20
2019-10-07 13:25:28 +00:00
8a6783263a Accepting request 704958 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/704958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=7
2019-05-24 09:32:02 +00:00
Tomáš Chvátal
74aa59d372 Accepting request 704934 from home:pgajdos
- version update to 3.2.3
  - Fixed infinite recursion in ``ImportManager`` on importing
    a builtin module.
  - The site https://cheetahtemplate.org/ is now served with HTTPS.
  - Updated docs regarding fixed tests.

OBS-URL: https://build.opensuse.org/request/show/704934
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=18
2019-05-23 09:16:40 +00:00
ac78433ce1 Accepting request 704396 from devel:languages:python
- Do not provide Cheetah3 namespace on python2, if someone wants
  Cheetah3 binary they need the python3 variant anyway

OBS-URL: https://build.opensuse.org/request/show/704396
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=6
2019-05-22 09:16:07 +00:00
Tomáš Chvátal
8fa7c16109 - Do not provide Cheetah3 namespace on python2, if someone wants
Cheetah3 binary they need the python3 variant anyway

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=16
2019-05-21 09:17:39 +00:00
0da15f1335 Accepting request 700373 from devel:languages:python
- Update to version 3.2.2:
  * Replaced outdated and insecure mktemp with mkstemp.
  * Fixed bugs in TemplateCmdLineIface.py: read binary pickles from
    stdin and files.
  * Use cgi.escape() for Python 2, html.escape() for Python 3.
  * Created tests for TemplateCmdLineIface.
- Update test dependencies

OBS-URL: https://build.opensuse.org/request/show/700373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=5
2019-05-03 20:47:48 +00:00
5e89207bee - Update to version 3.2.2:
* Replaced outdated and insecure mktemp with mkstemp.
  * Fixed bugs in TemplateCmdLineIface.py: read binary pickles from
    stdin and files.
  * Use cgi.escape() for Python 2, html.escape() for Python 3.
  * Created tests for TemplateCmdLineIface.
- Update test dependencies

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=14
2019-05-03 12:07:47 +00:00
fae81cf131 Accepting request 687395 from devel:languages:python
- 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
2019-03-22 14:10:33 +00:00
Tomáš Chvátal
dce1a56a22 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=12
2019-03-21 15:41:47 +00:00
Tomáš Chvátal
b19a0c797b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=11 2019-03-06 19:14:16 +00:00
Tomáš Chvátal
c443f380c4 - 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/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=10
2019-03-05 12:18:35 +00:00
c744547ce1 Accepting request 656827 from devel:languages:python
- Fix fdupes call

OBS-URL: https://build.opensuse.org/request/show/656827
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=3
2019-01-03 17:06:23 +00:00
Tomáš Chvátal
5b7ef74d9e - Fix fdupes call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=8
2018-12-10 12:39:30 +00:00
4fe8886df6 Accepting request 593918 from devel:languages:python
- Update to version 3.1.0:
  * Fix Cheetah to work with PyPy.
  * Code cleanup: fix code style to satisfy flake8 linter.
  * Rename www directory to docs.

OBS-URL: https://build.opensuse.org/request/show/593918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=2
2018-04-19 13:28:27 +00:00
54ee9cd43c - Update to version 3.1.0:
* Fix Cheetah to work with PyPy.
  * Code cleanup: fix code style to satisfy flake8 linter.
  * Rename www directory to docs.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=6
2018-04-06 08:36:27 +00:00
82de33f7c7 Accepting request 561083 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/561083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=1
2018-01-10 22:33:59 +00:00
Tomáš Chvátal
4000e6ff2c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=4 2018-01-02 09:46:32 +00:00
36424821a8 - Conflict with python-cheetah
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=3
2017-12-29 13:07:01 +00:00
4d4de41514 Accepting request 560459 from home:jengelh:branches:devel:languages:python
- Remove some filler wording from descriptions.
  The summary can do without repeating the software name.
- Avoid running fdupes over partition boundaries.

OBS-URL: https://build.opensuse.org/request/show/560459
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=2
2017-12-29 10:03:32 +00:00
Tomáš Chvátal
d581ebb9e0 Accepting request 559738 from home:pluskalm:branches:devel:languages:python
add me as maintainer

OBS-URL: https://build.opensuse.org/request/show/559738
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=1
2017-12-24 15:47:37 +00:00
5 changed files with 28 additions and 12 deletions

View File

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

View File

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

3
cheetah3-3.4.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Mon Apr 14 05:48:43 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Support both lowercased and unnormalized metadata directory names.
-------------------------------------------------------------------
Tue Mar 25 00:39:18 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Lowercase metadata directory name.
-------------------------------------------------------------------
Tue Dec 10 16:53:01 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Update to 3.4.0
* Fixed ImportHooks: it must raise ModuleNotFoundError instead of ImportError.
* Use cache_from_source in ImportManager to find out .pyc/.pyo byte-code files.
* Add compatibility with Python 3.13 (multiple fixes)
-------------------------------------------------------------------
Tue Aug 27 07:25:57 UTC 2024 - Frantisek Simorda <frantisek.simorda@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Cheetah3
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,8 @@
%define modname cheetah3
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Cheetah3
Version: 3.3.3.post1
Version: 3.4.0
Release: 0
Summary: Template engine and code generation tool
License: MIT
@@ -27,6 +26,7 @@ Group: Development/Languages/Python
URL: https://cheetahtemplate.org/
Source: https://github.com/CheetahTemplate3/cheetah3/archive/refs/tags/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -65,10 +65,10 @@ find . -name \*.py -print0 |xargs -0 -t -l sed -i -e '1{\@^#!%{_bindir}/env pyth
sed -Ei 's/(test6)/_\1/' Cheetah/Tests/SyntaxAndOutput.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/cheetah
%python_clone -a %{buildroot}%{_bindir}/cheetah-analyze
%python_clone -a %{buildroot}%{_bindir}/cheetah-compile
@@ -97,6 +97,7 @@ $python Cheetah/Tests/Test.py
%python_alternative %{_bindir}/cheetah
%python_alternative %{_bindir}/cheetah-analyze
%python_alternative %{_bindir}/cheetah-compile
%{python_sitearch}/*
%{python_sitearch}/Cheetah
%{python_sitearch}/[Cc][Tt]3-%{version}.dist-info
%changelog