|
|
@ -16,16 +16,14 @@
|
|
|
|
%global with_docs 1
|
|
|
|
%global with_docs 1
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-nose
|
|
|
|
Name: python-nose
|
|
|
|
Version: 1.2.1
|
|
|
|
Version: 1.3.0
|
|
|
|
Release: 2%{?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://pypi.python.org/packages/source/n/nose/nose-%{version}.tar.gz
|
|
|
|
Source0: http://pypi.python.org/packages/source/n/nose/nose-%{version}.tar.gz
|
|
|
|
# Submitted upstream: http://code.google.com/p/python-nose/issues/detail?id=421
|
|
|
|
|
|
|
|
Patch1: nose-manpage.patch
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -93,7 +91,6 @@ python3 unittests.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{upstream_name}-%{version}
|
|
|
|
%setup -q -n %{upstream_name}-%{version}
|
|
|
|
%patch1 -p1 -b .manp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dos2unix examples/attrib_plugin.py
|
|
|
|
dos2unix examples/attrib_plugin.py
|
|
|
|
|
|
|
|
|
|
|
@ -102,6 +99,8 @@ rm -rf %{py3dir}
|
|
|
|
cp -a . %{py3dir}
|
|
|
|
cp -a . %{py3dir}
|
|
|
|
%endif # with_python3
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rm doc/*.pyc
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
|
|
|
@ -150,10 +149,6 @@ export PYTHONPATH=`pwd`/build/lib
|
|
|
|
# Various selftests fail with Python 3.3b1; skip them for now using "-e"
|
|
|
|
# Various selftests fail with Python 3.3b1; skip them for now using "-e"
|
|
|
|
# (reported upstream as https://github.com/nose-devs/nose/issues/538 )
|
|
|
|
# (reported upstream as https://github.com/nose-devs/nose/issues/538 )
|
|
|
|
%{__python3} selftest.py \
|
|
|
|
%{__python3} selftest.py \
|
|
|
|
-e nose.plugins.errorclass \
|
|
|
|
|
|
|
|
-e nose.plugins.plugintest \
|
|
|
|
|
|
|
|
-e test_withid_failures.rst \
|
|
|
|
|
|
|
|
-e test_traverse_namespace \
|
|
|
|
|
|
|
|
-v
|
|
|
|
-v
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
%endif # with_python3
|
|
|
|
%endif # with_python3
|
|
|
@ -187,6 +182,9 @@ rm -rf %{buildroot}
|
|
|
|
%endif # with_docs
|
|
|
|
%endif # with_docs
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Apr 9 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 1.3.0-1
|
|
|
|
|
|
|
|
- Update to 1.3.0 upstream with python-3.3 fixes
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|