[ipython] Update to 0.13.2
tomspur
tomspur at fedoraproject.org
Sat Apr 6 12:55:49 UTC 2013
commit 375c18d65384032ac02a31854d3332f112879aa9
Author: Thomas Spura <thomas.spura at gmail.com>
Date: Sat Apr 6 14:55:05 2013 +0200
Update to 0.13.2
- update to 0.13.2 fixes #927169, #947633
- run tests in xvfb
- reword description of ipython-tests a bit
.gitignore | 1 +
ipython.spec | 33 ++++++++++++++++++++++++++-------
sources | 2 +-
3 files changed, 28 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 45e6377..c2de046 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ ipython-0.10.tar.gz
/ipython-0.12.tar.gz
/ipython-0.13.tar.gz
/ipython-0.13.1.tar.gz
+/ipython-0.13.2.tar.gz
diff --git a/ipython.spec b/ipython.spec
index 090e9f3..715f20d 100644
--- a/ipython.spec
+++ b/ipython.spec
@@ -15,8 +15,8 @@
%endif
Name: ipython
-Version: 0.13.1
-Release: 4%{?dist}
+Version: 0.13.2
+Release: 1%{?dist}
Summary: An enhanced interactive Python shell
Group: Development/Libraries
@@ -50,6 +50,8 @@ BuildRequires: pymongo
BuildRequires: PyQt4
# for frontend
BuildRequires: python-pygments
+# for running qt/matplotlib tests
+BuildRequires: xorg-x11-server-Xvfb
%endif
# Require $current_python_interpreter-ipython
@@ -147,7 +149,7 @@ Provides: ipython-tests = %{version}-%{release}
Obsoletes: ipython-tests < 0.13-1
%description -n python-ipython-tests
This package contains the tests of %{name}.
-You can check this way, you can test, if ipython works on your platform.
+You can check this way, if ipython works on your platform.
%package -n python-ipython-doc
Summary: Documentation for %{name}
@@ -216,7 +218,7 @@ Requires: python3-zmq-tests
Requires: python3-ipython-console = %{version}-%{release}
%description -n python3-ipython-tests
This package contains the tests of %{name}.
-You can check this way, you can test, if ipython works on your platform.
+You can check this way, if ipython works on your platform.
%package -n python3-ipython-doc
Summary: Documentation for %{name}
@@ -313,14 +315,25 @@ rm -rf %{buildroot}
%check
# Ensure that the user's .pythonrc.py is not invoked during any tests.
export PYTHONSTARTUP=""
-%global EXCLUDE_TESTS "test_irunner_pylab_magic|test_console_widget|test_kill_ring|test_px_pylab|test_magic_pylab"
+#####################################################################
+# Reasons for ignoring tests below:
+# * Currently there aren't any.
+#####################################################################
+# No *EXCLUDE_TESTS may be empty. Write NONE in such a case.
+%global COMMON_EXCLUDE_TESTS NONE
+%global PYTHON3EXCLUDE_TESTS NONE
+%global PYTHON2EXCLUDE_TESTS NONE
+
+%global EXCLUDE_TESTS_3 "%{COMMON_EXCLUDE_TESTS}|%{PYTHON3EXCLUDE_TESTS}"
+%global EXCLUDE_TESTS_2 "%{COMMON_EXCLUDE_TESTS}|%{PYTHON2EXCLUDE_TESTS}"
%if 0%{?with_python3}
pushd %{py3dir}
PYTHONPATH=%{buildroot}%{python3_sitelib} \
PATH="%{buildroot}%{_bindir}:$PATH" \
LC_ALL=en_US.UTF-8 \
- %{buildroot}%{_bindir}/iptest3 -e %{EXCLUDE_TESTS}
+ xvfb-run \
+ %{buildroot}%{_bindir}/iptest3 -v -e %{EXCLUDE_TESTS_3}
popd
%endif
@@ -328,7 +341,8 @@ popd
PYTHONPATH=%{buildroot}%{python_sitelib} \
PATH="%{buildroot}%{_bindir}:$PATH" \
LC_ALL=en_US.UTF-8 \
- %{buildroot}%{_bindir}/iptest -e %{EXCLUDE_TESTS}
+ xvfb-run \
+ %{buildroot}%{_bindir}/iptest -v -e %{EXCLUDE_TESTS_2}
%endif
%files -n python-ipython
@@ -483,6 +497,11 @@ PYTHONPATH=%{buildroot}%{python_sitelib} \
%endif # with_python3
%changelog
+* Sat Apr 6 2013 Thomas Spura <tomspur at fedoraproject.org> - 0.13.2-1
+- update to 0.13.2 fixes #927169, #947633
+- run tests in xvfb
+- reword description of ipython-tests a bit
+
* Thu Feb 21 2013 Thomas Spura <tomspur at fedoraproject.org> - 0.13.1-4
- More changes to build for Python 3 (mostly by Andrew McNabb, #784947)
- Update package structure of python3-ipython subpackage to match python2-ipython one's
diff --git a/sources b/sources
index e204040..58ae12e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ca7e75f7c802afc6aaa0a1ea59846420 ipython-0.13.1.tar.gz
+ead3b7eb70c653b537fb9d96d71b8b2a ipython-0.13.2.tar.gz
More information about the scm-commits
mailing list