[python-tg-devtools] Fix the broken dep on repoze.who in the quickstart, and get the tests passing.
Luke Macken
lmacken at fedoraproject.org
Fri Jan 11 18:05:01 UTC 2013
commit 86cbdee0ae8614613df2270bd027f10dedd9f3b4
Author: Luke Macken <lmacken at redhat.com>
Date: Fri Jan 11 12:50:09 2013 -0500
Fix the broken dep on repoze.who in the quickstart, and get the tests passing.
python-tg-devtools-repoze-who-dep.patch | 11 +++++++++++
python-tg-devtools.spec | 10 +++++++++-
2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/python-tg-devtools-repoze-who-dep.patch b/python-tg-devtools-repoze-who-dep.patch
new file mode 100644
index 0000000..f66f3ac
--- /dev/null
+++ b/python-tg-devtools-repoze-who-dep.patch
@@ -0,0 +1,11 @@
+--- tg.devtools-2.1.1/devtools/templates/turbogears/setup.py_tmpl.orig 2013-01-11 12:44:02.804821211 -0500
++++ tg.devtools-2.1.1/devtools/templates/turbogears/setup.py_tmpl 2013-01-11 12:44:09.932883701 -0500
+@@ -54,7 +54,7 @@
+ "repoze.who-friendlyform >= 1.0.4",
+ "repoze.what-pylons >= 1.0",
+ "repoze.what.plugins.sql",
+- "repoze.who==1.0.19",
++ "repoze.who",
+ "tgext.admin >= 0.3.9",
+ "tw.forms",
+ {{endif}}
diff --git a/python-tg-devtools.spec b/python-tg-devtools.spec
index e5ff10a..dd1ab8a 100644
--- a/python-tg-devtools.spec
+++ b/python-tg-devtools.spec
@@ -2,13 +2,15 @@
Name: python-tg-devtools
Version: 2.1.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Development tools and templates for TurboGears2
Group: Development/Languages
License: MIT
URL: http://www.turbogears.org
Source0: http://www.turbogears.org/2.1/downloads/current/tg.devtools-%{version}.tar.gz
+Patch0: %{name}-repoze-who-dep.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -29,6 +31,7 @@ Requires: python-repoze-who >= 1.0.10
Requires: python-repoze-who-testutil
Requires: python-catwalk
Requires: python-babel
+Requires: python-coverage
%if 0%{?rhel} && 0%{?rhel} <= 5
Requires: python-sqlite2
@@ -56,6 +59,7 @@ TurboGears2 development.
%prep
%setup -q -n tg.devtools-%{version}
+%patch0 -p1 -b .who
%build
@@ -86,6 +90,10 @@ rm -rf %{buildroot}
%changelog
+* Fri Jan 11 2013 Luke Macken <lmacken at redhat.com> - 2.1.1-5
+- Patch out the hard requirement on repoze.who==1.0.19
+- Require python-coverage to get the quickstart tests passing
+
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list