rpms/python-repoze-who-testutil/F-10 python-repoze-who-testutil-setuptools.patch, NONE, 1.1 python-repoze-who-testutil.spec, 1.1, 1.2

Luke Macken lmacken at fedoraproject.org
Mon Aug 10 18:00:52 UTC 2009


Author: lmacken

Update of /cvs/pkgs/rpms/python-repoze-who-testutil/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7745

Modified Files:
	python-repoze-who-testutil.spec 
Added Files:
	python-repoze-who-testutil-setuptools.patch 
Log Message:
Patch the setup.py to use our own setuptools package

python-repoze-who-testutil-setuptools.patch:
 setup.py |    2 --
 1 file changed, 2 deletions(-)

--- NEW FILE python-repoze-who-testutil-setuptools.patch ---
--- setup.py.orig	2009-06-05 07:45:24.000000000 -0400
+++ setup.py	2009-06-05 07:45:28.000000000 -0400
@@ -15,8 +15,6 @@
 
 import os
 
-from ez_setup import use_setuptools
-use_setuptools()
 from setuptools import setup, find_packages
 
 here = os.path.abspath(os.path.dirname(__file__))


Index: python-repoze-who-testutil.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-repoze-who-testutil/F-10/python-repoze-who-testutil.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- python-repoze-who-testutil.spec	27 May 2009 15:39:53 -0000	1.1
+++ python-repoze-who-testutil.spec	10 Aug 2009 18:00:52 -0000	1.2
@@ -3,13 +3,15 @@
 
 Name:		python-repoze-who-testutil
 Version:	1.0
-Release:	0.2.%{rcver}%{?dist}
+Release:	0.3.%{rcver}%{?dist}
 Summary:	Test utilities for repoze.who-powered applications
 Group:		Development/Languages
 License:	BSD
 URL:		http://code.gustavonarea.net/repoze.who-testutil/
 Source0:	http://pypi.python.org/packages/source/r/repoze.who-testutil/repoze.who-testutil-%{version}%{rcver}.tar.gz
 Source1:	http://repoze.org/LICENSE.txt
+Patch0:     %{name}-setuptools.patch
+
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:	noarch
 BuildRequires:	python-devel, python-setuptools-devel
@@ -32,6 +34,7 @@ method changes.
 %prep
 %setup -q -n repoze.who-testutil-%{version}%{rcver}
 cp %{SOURCE1} .
+%patch0 -p0 -b .setuptools
 
 %build
 %{__python} setup.py build
@@ -53,6 +56,9 @@ rm -rf %{buildroot}
 %{python_sitelib}/*
 
 %changelog
+* Mon Aug 10 2009 Luke Macken <lmacken at redhat.com> - 1.0-0.3.rc1
+- Patch the setup.py to use our own setuptools package
+
 * Wed May 27 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 1.0-0.2.rc1
 - include license copy
 




More information about the scm-commits mailing list