17
0

9 Commits

Author SHA256 Message Date
7f5ee38887 Accepting request 1288872 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1288872
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cheetah3?expand=0&rev=17
2025-06-27 21:02:34 +00:00
a2a1cd5b20 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=39
2025-06-27 15:29:19 +00:00
db1f9a72f0 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
5ce65c57ce - 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
38e78cd830 - 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
2245b5bdeb 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
bbac3b00b0 Accepting request 1230048 from home:mcalabkova:branches:devel:languages:python
- 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/request/show/1230048
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
bbad80db5e 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
afc421566e Accepting request 1196215 from home:frantisek.simorda:branches:openSUSE:Factory
- update to 3.3.3.post1:
  * GHActions: Build and publish wheels on Linux/aarch64.
- version 3.3.3:
  * Protect import cgi in preparation to Python 3.13.
  * Run tests with Python 3.12.
  * GHActions: Ensure pip only if needed
- version 3.3.2:
  * Fixed printing to stdout in CheetahWrapper.
  * CI(GHActions): Install all Python and PyPy versions from conda-forge.
- version 3.3.1:
  * Fixed ImportHooks under PyPy3.
  * Run tests with PyPy3.
  * Use conda to install older Pythons
- version 3.3.0.post1:
  * Run tests with Python 3.11
  * Fix DeprecationWarning: unittest.findTestCases() is deprecated. Use unittest.TestLoader.loadTestsFromModule() instead
  * Publish wheels at Github Releases.
- version 3.3.0:
  * PyPI has wrongfully classified project Cheetah3 as “critical”. This puts a burden to use 2FA to manage the project at PyPI. To avoid the burden the project is renamed to CT3 at PyPI. There will be no updates for Cheetah3. Sorry for the inconvenience!
  * Use relative imports everywhere.
  * Run pure-python NameMapper tests in a separate process.
  * Fixed a bug in tests with pure-python NameMapper.
  * Add Python 3.10 to tox.ini.
  * Migrated to GitHub Actions.
- version 3.2.7b1:
  * Load from JSON file to searchlist (similar to loading from pickle).
  * Fix filetype for Python 2 in Template.
  * Build wheels for aarch64 at Travis; publish them at PyPI.
  * tox.ini: Limit VIRTUALENV_PIP version for Python 3.4.

OBS-URL: https://build.opensuse.org/request/show/1196215
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=32
2024-08-27 10:56:32 +00:00
4 changed files with 81 additions and 16 deletions

View File

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

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,66 @@
-------------------------------------------------------------------
Fri Jun 27 15:08:21 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
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>
- update to 3.3.3.post1:
* GHActions: Build and publish wheels on Linux/aarch64.
- version 3.3.3:
* Protect import cgi in preparation to Python 3.13.
* Run tests with Python 3.12.
* GHActions: Ensure pip only if needed
- version 3.3.2:
* Fixed printing to stdout in CheetahWrapper.
* CI(GHActions): Install all Python and PyPy versions from conda-forge.
- version 3.3.1:
* Fixed ImportHooks under PyPy3.
* Run tests with PyPy3.
* Use conda to install older Pythons
- version 3.3.0.post1:
* Run tests with Python 3.11
* Fix DeprecationWarning: unittest.findTestCases() is deprecated. Use unittest.TestLoader.loadTestsFromModule() instead
* Publish wheels at Github Releases.
- version 3.3.0:
* PyPI has wrongfully classified project Cheetah3 as “critical”. This puts a burden to use 2FA to manage the project at PyPI. To avoid the burden the project is renamed to CT3 at PyPI. There will be no updates for Cheetah3. Sorry for the inconvenience!
* Use relative imports everywhere.
* Run pure-python NameMapper tests in a separate process.
* Fixed a bug in tests with pure-python NameMapper.
* Add Python 3.10 to tox.ini.
* Migrated to GitHub Actions.
- version 3.2.7b1:
* Load from JSON file to searchlist (similar to loading from pickle).
* Fix filetype for Python 2 in Template.
* Build wheels for aarch64 at Travis; publish them at PyPI.
* tox.ini: Limit VIRTUALENV_PIP version for Python 3.4.
-------------------------------------------------------------------
Tue Jan 11 07:29:00 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Cheetah3
#
# Copyright (c) 2022 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
@@ -16,20 +16,23 @@
#
%define modname Cheetah3
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname cheetah3
%bcond_without libalternatives
Name: python-Cheetah3
Version: 3.2.6.post1
Version: 3.4.0
Release: 0
Summary: Template engine and code generation tool
License: MIT
Group: Development/Languages/Python
URL: https://cheetahtemplate.org/
Source: https://files.pythonhosted.org/packages/source/C/Cheetah3/Cheetah3-%{version}.tar.gz
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: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: alts
Recommends: python-Markdown
Suggests: python-Pygments
Conflicts: python-Cheetah
@@ -65,22 +68,20 @@ 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
%python_group_libalternatives cheetah cheetah-analyze cheetah-compile
%{python_expand rm -r %{buildroot}%{$python_sitearch}/Cheetah/Tests
%fdupes %{buildroot}%{$python_sitearch}
}
%post
%python_install_alternative cheetah cheetah-analyze cheetah-compile
%postun
%python_uninstall_alternative cheetah
%pre
%python_libalternatives_reset_alternative cheetah
%check
mkdir ~/bin
@@ -97,6 +98,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