rpms/TurboGears/EL-5 TurboGears-1.0.4.4-cherrypyreq.patch, NONE, 1.1 TurboGears-1.0.4.4-setup.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 TurboGears.spec, 1.18, 1.19 sources, 1.7, 1.8 TurboGears-1.0.3.2-paginate.patch, 1.1, NONE TurboGears-1.0.3.2-setuptools.patch, 1.1, NONE

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Thu May 15 15:25:03 UTC 2008


Author: lmacken

Update of /cvs/pkgs/rpms/TurboGears/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24400

Modified Files:
	.cvsignore TurboGears.spec sources 
Added Files:
	TurboGears-1.0.4.4-cherrypyreq.patch 
	TurboGears-1.0.4.4-setup.patch 
Removed Files:
	TurboGears-1.0.3.2-paginate.patch 
	TurboGears-1.0.3.2-setuptools.patch 
Log Message:
* Wed May 14 2008 Luke Macken <lmacken at redhat.com> 1.0.4.4-1
- Update to 1.0.4.4
- Remove now upstream paginate patch
- Add cherrypyreq patch


TurboGears-1.0.4.4-cherrypyreq.patch:

--- NEW FILE TurboGears-1.0.4.4-cherrypyreq.patch ---
--- turbogears/config.py.orig	2008-03-11 11:50:04.000000000 -0400
+++ turbogears/config.py	2008-03-11 11:50:22.000000000 -0400
@@ -1,8 +1,8 @@
 import sys, os, glob, re
-
+import pkg_resources
+pkg_resources.require("CherryPy<3.0")
 from cherrypy import config
 from configobj import ConfigObj
-import pkg_resources
 import logging
 import logging.handlers
 

TurboGears-1.0.4.4-setup.patch:

--- NEW FILE TurboGears-1.0.4.4-setup.patch ---
--- setup.py.setup	2008-03-03 16:30:58.000000000 -0500
+++ setup.py	2008-05-14 22:00:26.000000000 -0400
@@ -14,7 +14,6 @@
 # setup params
 install_requires = [
     "CherryPy >= 2.3.0,<3.0.0alpha",
-    "ConfigObj >= 4.3.2",
     "DecoratorTools >= 1.4",
     "FormEncode >= 0.7.1",
     "PasteScript >= 1.6.2",
@@ -57,10 +56,6 @@
 
 # python 2.5 compatible list
 if sys.version_info < (2, 5):
-    install_requires.extend([
-        "elementtree >= 1.2.6",
-        "cElementTree >= 1.0.5",
-        ])
     tgtesttools.extend([
         "pysqlite"
         ])


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/TurboGears/EL-5/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore	27 Nov 2007 21:19:04 -0000	1.7
+++ .cvsignore	15 May 2008 15:24:19 -0000	1.8
@@ -1 +1 @@
-TurboGears-1.0.3.2.tar.gz
+TurboGears-1.0.4.4.tar.gz


Index: TurboGears.spec
===================================================================
RCS file: /cvs/pkgs/rpms/TurboGears/EL-5/TurboGears.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- TurboGears.spec	18 Dec 2007 15:18:55 -0000	1.18
+++ TurboGears.spec	15 May 2008 15:24:19 -0000	1.19
@@ -2,52 +2,44 @@
 %{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
 
 Name:           TurboGears
-Version:        1.0.3.2
-Release:        7%{?dist}
+Version:        1.0.4.4
+Release:        1%{?dist}
 Summary:        Back-to-front web development in Python
 
 Group:          Development/Languages
 License:        MIT
 URL:            http://www.turbogears.org
-Source0:        http://files.turbogears.org/eggs/%{name}-%{version}.tar.gz
-Patch0:         %{name}-%{version}-setuptools.patch
-Patch1:         %{name}-%{version}-paginate.patch
+Source0:        http://pypi.python.org/packages/source/T/%{name}/%{name}-%{version}.tar.gz
+Patch0:         %{name}-%{version}-cherrypyreq.patch
+Patch1:         %{name}-%{version}-setup.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-BuildRequires: python-devel python-setuptools-devel
-
-# ElementTree is part of python 2.5 on FC7+
-%if 0%{?fedora} <= 6
+BuildRequires:  python-devel python-setuptools-devel
 BuildRequires:  python-elementtree >= 1.2.6
-Requires: python-elementtree >= 1.2.6
-%endif
-
-# The main packages have gone up a version.  Need to require the older versions
-%if 0%{?fedora} >= 8
-Requires:       python-sqlalchemy0.3
-%else
-Requires:       python-sqlalchemy >= 0.3
-%endif
-
-Requires:       python-cherrypy >= 2.2.1
 
+Requires:       python-elementtree >= 1.2.6
+Requires:       python-cherrypy
+Requires:       python-sqlalchemy
 Requires:       python-kid >= 0.8
 Requires:       python-sqlobject >= 0.8
 Requires:       python-formencode >= 0.7.1
 Requires:       python-json >= 3.3
 Requires:       python-setuptools >= 0.6c2
-Requires:       python-turbocheetah >= 0.9.5
-Requires:       python-turbojson >= 0.9.9 
-Requires:       python-turbokid >= 1.0.1
+Requires:       python-turbocheetah >= 1.0
+Requires:       python-turbojson >= 1.1.2
+Requires:       python-turbokid >= 1.0.4
 Requires:       python-tgfastdata
 Requires:       python-simplejson >= 1.3
-Requires:       python-paste-script >= 0.9.7
+Requires:       python-paste-script >= 1.6.2
 Requires:       python-configobj >= 4.3.2
 Requires:       python-ruledispatch
 Requires:       python-nose >= 0.9.1
 Requires:       python-psycopg2
 Requires:       python-decoratortools >= 1.4
+Requires:       python-elixir >= 0.4.0
+Requires:       python-genshi >= 0.4.4
 
 %description
 TurboGears brings together four major pieces to create an
@@ -65,8 +57,8 @@
 
 %prep
 %setup -q
-%patch0 -b .setuptools
-%patch1 -b .paginate
+%patch0 -b .cherrypyreq
+%patch1 -b .setup
 
 
 %build
@@ -74,7 +66,7 @@
 
 %install
 rm -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot}
 
 
 %clean
@@ -88,6 +80,11 @@
 %{python_sitelib}/turbogears/
 
 %changelog
+* Wed May 14 2008 Luke Macken <lmacken at redhat.com> 1.0.4.4-1
+- Update to 1.0.4.4
+- Remove now upstream paginate patch
+- Add cherrypyreq patch
+
 * Sat Dec 15 2007 Luke Macken <lmacken at redhat.com> 1.0.3.2-7
 - Add TurboGears-1.0.3.2-paginate.patch backported from upstream
   http://trac.turbogears.org/ticket/1629


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/TurboGears/EL-5/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources	27 Nov 2007 21:19:04 -0000	1.7
+++ sources	15 May 2008 15:24:19 -0000	1.8
@@ -1 +1 @@
-75471c1767af970479ca2d4788a30323  TurboGears-1.0.3.2.tar.gz
+a03a66fcf7d687fd7bd4205a01fd21dd  TurboGears-1.0.4.4.tar.gz


--- TurboGears-1.0.3.2-paginate.patch DELETED ---


--- TurboGears-1.0.3.2-setuptools.patch DELETED ---




More information about the fedora-extras-commits mailing list