Upstream bugfix release
This commit is contained in:
parent
9a532af53b
commit
291f5b8997
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
nose-0.11.3.tar.gz
|
nose-0.11.3.tar.gz
|
||||||
nose-0.11.4.tar.gz
|
nose-0.11.4.tar.gz
|
||||||
/nose-1.0.0.tar.gz
|
/nose-1.0.0.tar.gz
|
||||||
|
/nose-1.1.1.tar.gz
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
Index: nose-0.11.4/functional_tests/doc_tests/test_coverage_html/coverage_html.rst
|
|
||||||
===================================================================
|
|
||||||
--- nose-0.11.4.orig/functional_tests/doc_tests/test_coverage_html/coverage_html.rst
|
|
||||||
+++ nose-0.11.4/functional_tests/doc_tests/test_coverage_html/coverage_html.rst
|
|
||||||
@@ -32,9 +32,9 @@ The console coverage output is printed,
|
|
||||||
test_covered.test_blah ... hi
|
|
||||||
ok
|
|
||||||
<BLANKLINE>
|
|
||||||
- Name Stmts Exec Cover Missing
|
|
||||||
+ Name Stmts Miss Cover Missing
|
|
||||||
-------------------------------------
|
|
||||||
- blah 4 3 75% 6
|
|
||||||
+ blah 4 1 75% 6
|
|
||||||
----------------------------------------------------------------------
|
|
||||||
Ran 1 test in ...s
|
|
||||||
<BLANKLINE>
|
|
@ -1,26 +0,0 @@
|
|||||||
diff -r 018b43db7c47 -r 211cabb6719b CHANGELOG
|
|
||||||
--- a/CHANGELOG Fri Mar 18 23:36:53 2011 -0500
|
|
||||||
+++ b/CHANGELOG Fri Mar 18 23:38:55 2011 -0500
|
|
||||||
@@ -1,4 +1,8 @@
|
|
||||||
-1.0
|
|
||||||
+1.0.1
|
|
||||||
+
|
|
||||||
+- Fixed problems with SkipTest in Python 3.2 (#389)
|
|
||||||
+
|
|
||||||
+1.0.0
|
|
||||||
|
|
||||||
- Made nose compatible with python 3. **Huge** thanks to Alex "foogod"
|
|
||||||
Stewart!
|
|
||||||
diff -r 018b43db7c47 -r 211cabb6719b nose/proxy.py
|
|
||||||
--- a/nose/proxy.py Fri Mar 18 23:36:53 2011 -0500
|
|
||||||
+++ b/nose/proxy.py Fri Mar 18 23:38:55 2011 -0500
|
|
||||||
@@ -148,6 +148,9 @@
|
|
||||||
from nose.plugins.skip import SkipTest
|
|
||||||
self.assertMyTest(test)
|
|
||||||
plugins = self.plugins
|
|
||||||
+ if not isinstance(reason, Exception):
|
|
||||||
+ # for Python 3.2+
|
|
||||||
+ reason = Exception(reason)
|
|
||||||
plugins.addError(self.test, (SkipTest, reason, None))
|
|
||||||
self.result.addSkip(self.test, reason)
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
%if 0%{?fedora} < 13 && 0%{?rhel} < 5
|
%if 0%{?rhel} < 13 && 0%{?rhel} < 5
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%{!?python_version: %global python_version %(%{__python} -c "import sys ; print sys.version[:3]")}
|
%{!?python_version: %global python_version %(%{__python} -c "import sys ; print sys.version[:3]")}
|
||||||
%endif
|
%endif
|
||||||
@ -16,18 +16,14 @@
|
|||||||
%global with_docs 1
|
%global with_docs 1
|
||||||
|
|
||||||
Name: python-nose
|
Name: python-nose
|
||||||
Version: 1.0.0
|
Version: 1.1.1
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Discovery-based unittest extension for Python
|
Summary: Discovery-based unittest extension for Python
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: LGPLv2+ and Public Domain
|
License: LGPLv2+ and Public Domain
|
||||||
URL: http://somethingaboutorange.com/mrl/projects/nose/
|
URL: http://somethingaboutorange.com/mrl/projects/nose/
|
||||||
Source0: http://somethingaboutorange.com/mrl/projects/nose/nose-%{version}.tar.gz
|
Source0: http://somethingaboutorange.com/mrl/projects/nose/nose-%{version}.tar.gz
|
||||||
# Python-3.2 build fix for
|
|
||||||
# http://code.google.com/p/python-nose/issues/detail?id=389
|
|
||||||
# partial hg changeset 211cabb6719b
|
|
||||||
Patch0: nose-py32.patch
|
|
||||||
# Submitted upstream: http://code.google.com/p/python-nose/issues/detail?id=421
|
# Submitted upstream: http://code.google.com/p/python-nose/issues/detail?id=421
|
||||||
Patch1: nose-manpage.patch
|
Patch1: nose-manpage.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -96,7 +92,6 @@ python3 unittests.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{upstream_name}-%{version}
|
%setup -q -n %{upstream_name}-%{version}
|
||||||
%patch0 -p1 -b .py32
|
|
||||||
%patch1 -p1 -b .manp
|
%patch1 -p1 -b .manp
|
||||||
|
|
||||||
dos2unix examples/attrib_plugin.py
|
dos2unix examples/attrib_plugin.py
|
||||||
@ -184,9 +179,8 @@ rm -rf %{buildroot}
|
|||||||
%endif # with_docs
|
%endif # with_docs
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu May 19 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.0-3
|
* Wed Jul 27 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1.1-1
|
||||||
- Backport fix for problems with python3.2
|
- Upstream bugfix release
|
||||||
- Patch to fix man page
|
|
||||||
|
|
||||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user