forked from pool/python-Cheetah3
Compare commits
40 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| be548e1253 | |||
| b112395cae | |||
| 67bba84a68 | |||
| 3d040d8267 | |||
| d48e5203c9 | |||
| 7947325dc1 | |||
| b8a39b9863 | |||
| c7374912b5 | |||
| df60b7e640 | |||
| 1bec781fcf | |||
| 6828a8a702 | |||
| 16aac2b64a | |||
| 4ed624a4a9 | |||
| edf508a74d | |||
| 4e4b5d5174 | |||
| db464dbb59 | |||
| 4437cc08d9 | |||
| cc16617b2d | |||
| 3c02f468fc | |||
| e5ff99f147 | |||
|
|
d4adbdad62 | ||
| 8a6783263a | |||
|
|
74aa59d372 | ||
| ac78433ce1 | |||
|
|
8fa7c16109 | ||
| 0da15f1335 | |||
| 5e89207bee | |||
| fae81cf131 | |||
|
|
dce1a56a22 | ||
|
|
b19a0c797b | ||
|
|
c443f380c4 | ||
| c744547ce1 | |||
|
|
5b7ef74d9e | ||
| 4fe8886df6 | |||
| 54ee9cd43c | |||
| 82de33f7c7 | |||
|
|
4000e6ff2c | ||
| 36424821a8 | |||
| 4d4de41514 | |||
|
|
d581ebb9e0 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:58b5d84e5fbff6cf8e117414b3ea49ef51654c02ee887d155113c5b91d761967
|
|
||||||
size 295992
|
|
||||||
@@ -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
3
cheetah3-3.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0f1fb60c0df8acec48561ba561d023b55498bd04e7b3763d4ca14adaf3d62405
|
||||||
|
size 318357
|
||||||
@@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Tue Aug 27 07:25:57 UTC 2024 - Frantisek Simorda <frantisek.simorda@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Cheetah3
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,9 +17,9 @@
|
|||||||
|
|
||||||
|
|
||||||
%define modname cheetah3
|
%define modname cheetah3
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%bcond_without libalternatives
|
||||||
Name: python-Cheetah3
|
Name: python-Cheetah3
|
||||||
Version: 3.3.3.post1
|
Version: 3.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Template engine and code generation tool
|
Summary: Template engine and code generation tool
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -27,9 +27,12 @@ Group: Development/Languages/Python
|
|||||||
URL: https://cheetahtemplate.org/
|
URL: https://cheetahtemplate.org/
|
||||||
Source: https://github.com/CheetahTemplate3/cheetah3/archive/refs/tags/%{version}.tar.gz#/%{modname}-%{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 devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: alts
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: alts
|
||||||
Recommends: python-Markdown
|
Recommends: python-Markdown
|
||||||
Suggests: python-Pygments
|
Suggests: python-Pygments
|
||||||
Conflicts: python-Cheetah
|
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
|
sed -Ei 's/(test6)/_\1/' Cheetah/Tests/SyntaxAndOutput.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/cheetah
|
%python_clone -a %{buildroot}%{_bindir}/cheetah
|
||||||
%python_clone -a %{buildroot}%{_bindir}/cheetah-analyze
|
%python_clone -a %{buildroot}%{_bindir}/cheetah-analyze
|
||||||
%python_clone -a %{buildroot}%{_bindir}/cheetah-compile
|
%python_clone -a %{buildroot}%{_bindir}/cheetah-compile
|
||||||
|
%python_group_libalternatives cheetah cheetah-analyze cheetah-compile
|
||||||
%{python_expand rm -r %{buildroot}%{$python_sitearch}/Cheetah/Tests
|
%{python_expand rm -r %{buildroot}%{$python_sitearch}/Cheetah/Tests
|
||||||
%fdupes %{buildroot}%{$python_sitearch}
|
%fdupes %{buildroot}%{$python_sitearch}
|
||||||
}
|
}
|
||||||
|
|
||||||
%post
|
%pre
|
||||||
%python_install_alternative cheetah cheetah-analyze cheetah-compile
|
%python_libalternatives_reset_alternative cheetah
|
||||||
|
|
||||||
%postun
|
|
||||||
%python_uninstall_alternative cheetah
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
mkdir ~/bin
|
mkdir ~/bin
|
||||||
@@ -97,6 +98,7 @@ $python Cheetah/Tests/Test.py
|
|||||||
%python_alternative %{_bindir}/cheetah
|
%python_alternative %{_bindir}/cheetah
|
||||||
%python_alternative %{_bindir}/cheetah-analyze
|
%python_alternative %{_bindir}/cheetah-analyze
|
||||||
%python_alternative %{_bindir}/cheetah-compile
|
%python_alternative %{_bindir}/cheetah-compile
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/Cheetah
|
||||||
|
%{python_sitearch}/[Cc][Tt]3-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user