upgrage cheetah to 3.3.1
This commit is contained in:
parent
fcbae68db2
commit
8a08446919
BIN
3.2.6.tar.gz
BIN
3.2.6.tar.gz
Binary file not shown.
BIN
3.3.1.tar.gz
Normal file
BIN
3.3.1.tar.gz
Normal file
Binary file not shown.
@ -1,14 +1,13 @@
|
||||
Name: python-cheetah
|
||||
Version: 3.2.6
|
||||
Version: 3.3.1
|
||||
Release: 1
|
||||
Summary: The Python-Powered Template Engine
|
||||
License: MIT
|
||||
URL: http://cheetahtemplate.org/
|
||||
Source0: https://github.com/CheetahTemplate3/cheetah3/archive/refs/tags/3.2.6.tar.gz
|
||||
Source0: https://github.com/CheetahTemplate3/cheetah3/archive/refs/tags/3.3.1.tar.gz
|
||||
BuildRequires: gcc python3-devel python3-setuptools python3-markdown python3-pygments
|
||||
|
||||
Patch0001: _bootlocale-removed.patch
|
||||
Patch0003: import-from-the-new-abc-module.patch
|
||||
Patch0001: resolve-run-test-Wrong-argument.patch
|
||||
|
||||
%description
|
||||
Cheetah3 is a free and open source template engine and code-generation tool written in Python.
|
||||
@ -46,6 +45,9 @@ export PATH="%{buildroot}/%{_bindir}:$PATH" PYTHONPATH="%{buildroot}/%{python3_s
|
||||
%{python3_sitearch}/
|
||||
|
||||
%changelog
|
||||
* Sat Feb 18 2023 huangduirong <huangduirong@huawei.com> - 3.3.1-1
|
||||
- Upgrade to version 3.3.1
|
||||
|
||||
* Wed Jun 15 2022 houyingchao <houyingchao@h-partners.com> - 3.2.6-1
|
||||
- Upgrade to version 3.2.6
|
||||
|
||||
|
||||
25
resolve-run-test-Wrong-argument.patch
Normal file
25
resolve-run-test-Wrong-argument.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From d06581d7ecd75a97221f48aa2d0639772f171c0e Mon Sep 17 00:00:00 2001
|
||||
From: huangduirong <huangduirong@huawei.com>
|
||||
Date: Sat, 18 Feb 2023 04:12:19 -0500
|
||||
Subject: [PATCH] resolve run test Wrong argument
|
||||
|
||||
---
|
||||
Cheetah/Tests/Test.py | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/Cheetah/Tests/Test.py b/Cheetah/Tests/Test.py
|
||||
index a3dfd41..08e79d4 100755
|
||||
--- a/Cheetah/Tests/Test.py
|
||||
+++ b/Cheetah/Tests/Test.py
|
||||
@@ -16,6 +16,8 @@ import sys
|
||||
args_l = len(sys.argv)
|
||||
if args_l == 1:
|
||||
pass
|
||||
+elif args_l == 2 and sys.argv[1] == 'test':
|
||||
+ pass
|
||||
elif args_l == 2 and sys.argv[1] == '--namemapper-pure':
|
||||
try:
|
||||
from Cheetah import _namemapper # noqa
|
||||
--
|
||||
2.35.1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user