rpms/python-cheetah/F-11 python-cheetah.spec, 1.18, 1.19 sources, 1.7, 1.8 python-cheetah-import.patch, 1.1, NONE

Mike Bonnet mikeb at fedoraproject.org
Wed May 20 21:35:05 UTC 2009


Author: mikeb

Update of /cvs/pkgs/rpms/python-cheetah/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30389

Modified Files:
	python-cheetah.spec sources 
Removed Files:
	python-cheetah-import.patch 
Log Message:
update to the 2.2.0 release


Index: python-cheetah.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-cheetah/F-11/python-cheetah.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- python-cheetah.spec	26 Feb 2009 20:53:52 -0000	1.18
+++ python-cheetah.spec	20 May 2009 21:34:35 -0000	1.19
@@ -1,20 +1,20 @@
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{!?python_sitearch: %global python_sitearch %([ -x %{__python} ] && %{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" || :)}
 
 Name:           python-cheetah
-Version:        2.0.1
-Release:        5%{?dist}
+Version:        2.2.0
+Release:        1%{?dist}
 Summary:        Template engine and code-generator
 
 Group:          Development/Libraries
 License:        MIT
 URL:            http://cheetahtemplate.org/
 Source:         http://download.sourceforge.net/cheetahtemplate/Cheetah-%{version}.tar.gz
-Patch0: python-cheetah-import.patch
 
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools-devel
+BuildRequires: python
+BuildRequires: python-devel
+BuildRequires: python-setuptools
 
 %description
 Cheetah is an open source template engine and code generation tool,
@@ -25,7 +25,6 @@ code, Java, sql, form emails and even Py
 
 %prep
 %setup -q -n Cheetah-%{version}
-%patch0 -p1
 
 %build
 export CHEETAH_USE_SETUPTOOLS=1
@@ -34,7 +33,7 @@ export CHEETAH_USE_SETUPTOOLS=1
 %install
 rm -rf %{buildroot}
 export CHEETAH_USE_SETUPTOOLS=1
-%{__python} setup.py install --skip-build --root %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
 %check
 export PATH="%{buildroot}/%{_bindir}:$PATH"
@@ -52,48 +51,41 @@ rm -rf %{buildroot}
 %{_bindir}/cheetah-compile
 
 %dir %{python_sitearch}/Cheetah
-%{python_sitearch}/Cheetah/*.py
-%{python_sitearch}/Cheetah/*.pyc
+%{python_sitearch}/Cheetah/*.py*
 %{python_sitearch}/Cheetah/_namemapper.so
-%{python_sitearch}/Cheetah/*.pyo
 
 %dir %{python_sitearch}/Cheetah/Macros
-%{python_sitearch}/Cheetah/Macros/*.py
-%{python_sitearch}/Cheetah/Macros/*.pyc
-%{python_sitearch}/Cheetah/Macros/*.pyo
+%{python_sitearch}/Cheetah/Macros/*.py*
 
 %dir %{python_sitearch}/Cheetah/Templates
-%{python_sitearch}/Cheetah/Templates/*.py
-%{python_sitearch}/Cheetah/Templates/*.pyc
+%{python_sitearch}/Cheetah/Templates/*.py*
 %{python_sitearch}/Cheetah/Templates/*.tmpl
-%{python_sitearch}/Cheetah/Templates/*.pyo
 
 %dir %{python_sitearch}/Cheetah/Tests
-%{python_sitearch}/Cheetah/Tests/*.py
-%{python_sitearch}/Cheetah/Tests/*.pyc
-%{python_sitearch}/Cheetah/Tests/*.pyo
+%{python_sitearch}/Cheetah/Tests/*.py*
 
 %dir %{python_sitearch}/Cheetah/Tools
-%{python_sitearch}/Cheetah/Tools/*.py
-%{python_sitearch}/Cheetah/Tools/*.pyc
+%{python_sitearch}/Cheetah/Tools/*.py*
 %{python_sitearch}/Cheetah/Tools/*.txt
-%{python_sitearch}/Cheetah/Tools/*.pyo
 
 %dir %{python_sitearch}/Cheetah/Utils
-%{python_sitearch}/Cheetah/Utils/*.py
-%{python_sitearch}/Cheetah/Utils/*.pyc
-%{python_sitearch}/Cheetah/Utils/*.pyo
-
-%dir %{python_sitearch}/Cheetah/Utils/optik
-%{python_sitearch}/Cheetah/Utils/optik/*.py
-%{python_sitearch}/Cheetah/Utils/optik/*.pyc
-%{python_sitearch}/Cheetah/Utils/optik/*.pyo
+%{python_sitearch}/Cheetah/Utils/*.py*
+
+%dir %{python_sitearch}/Cheetah/contrib
+%{python_sitearch}/Cheetah/contrib/*.py*
+
+%dir %{python_sitearch}/Cheetah/contrib/markdown
+%{python_sitearch}/Cheetah/contrib/markdown/*.py*
 
 %dir %{python_sitearch}/Cheetah-%{version}-*.egg-info
 %{python_sitearch}/Cheetah-%{version}-*.egg-info/PKG-INFO
 %{python_sitearch}/Cheetah-%{version}-*.egg-info/*.txt
 
 %changelog
+* Mon May 18 2009 Mike Bonnet <mikeb at redhat.com> - 2.2.0-1
+- update to the 2.2.0 release
+- remove unneeded importHook() patch, it has been included upstream
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-cheetah/F-11/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- sources	4 Dec 2007 21:05:39 -0000	1.7
+++ sources	20 May 2009 21:34:35 -0000	1.8
@@ -1 +1 @@
-7845a2950ea850a13c488a26b61ac50a  Cheetah-2.0.1.tar.gz
+f3a912df34d1b04ad80ba7444f55f0c4  Cheetah-2.2.0.tar.gz


--- python-cheetah-import.patch DELETED ---




More information about the fedora-extras-commits mailing list