rpms/pyutil/devel pyutil-fixtests.patch,NONE,1.1 pyutil.spec,1.3,1.4
Orcan Ogetbil
oget at fedoraproject.org
Wed Jul 28 02:27:20 UTC 2010
Author: oget
Update of /cvs/pkgs/rpms/pyutil/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv16361
Modified Files:
pyutil.spec
Added Files:
pyutil-fixtests.patch
Log Message:
* Tue Jul 27 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.7.9-3
- Fix broken tests
pyutil-fixtests.patch:
testutil.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE pyutil-fixtests.patch ---
diff -rupN pyutil-1.7.9.old/pyutil/testutil.py pyutil-1.7.9/pyutil/testutil.py
--- pyutil-1.7.9.old/pyutil/testutil.py 2010-06-02 17:21:34.000000000 -0400
+++ pyutil-1.7.9/pyutil/testutil.py 2010-07-27 22:20:47.000000000 -0400
@@ -11,7 +11,7 @@ class SignalMixin(unittest.TestCase):
# Twisted's twisted.test.test_process
sigchldHandler = None
- def setUpClass(self):
+ def setUp(self):
# make sure SIGCHLD handler is installed, as it should be on
# reactor.run(). problem is reactor may not have been run when this
# test runs.
@@ -19,7 +19,7 @@ class SignalMixin(unittest.TestCase):
self.sigchldHandler = signal.signal(signal.SIGCHLD,
reactor._handleSigchld)
- def tearDownClass(self):
+ def tearDown(self):
if self.sigchldHandler:
signal.signal(signal.SIGCHLD, self.sigchldHandler)
Index: pyutil.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pyutil/devel/pyutil.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- pyutil.spec 22 Jul 2010 06:05:38 -0000 1.3
+++ pyutil.spec 28 Jul 2010 02:27:16 -0000 1.4
@@ -1,6 +1,6 @@
Name: pyutil
Version: 1.7.9
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A collection of mature utilities for Python programmers
Group: Development/Languages
@@ -9,6 +9,7 @@ URL: http://allmydata.org/tra
Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
Patch0: pyutil-remove-darcs-dep.patch
Patch1: pyutil-remove-dependency-on-trial.patch
+Patch2: pyutil-fixtests.patch
BuildArch: noarch
BuildRequires: python-devel
@@ -38,6 +39,8 @@ alone in wanting tools like these.
%patch0 -p1
# remove dependency on setuptools_trial (#523034)
%patch1 -p1
+# replace depracated function calls. Needs upstreamed
+%patch2 -p1
# remove accidentally added test file, reported upstream
rm -v pyutil/test/test_decimalutil.py
@@ -82,6 +85,9 @@ find %{buildroot}%{python_sitelib}/%{nam
%changelog
+* Tue Jul 27 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.7.9-3
+- Fix broken tests
+
* Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 1.7.9-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
More information about the scm-commits
mailing list