Hello community, here is the log from the commit of package IPython for openSUSE:Factory checked in at Mon Sep 5 16:06:37 CEST 2011.
-------- --- IPython/IPython.changes 2011-07-18 18:06:54.000000000 +0200 +++ /mounts/work_src_done/STABLE/IPython/IPython.changes 2011-07-31 22:10:19.000000000 +0200 @@ -1,0 +2,26 @@ +Sun Jul 31 19:28:17 UTC 2011 - [email protected] + +- updated to 0.11 + IPython 0.11 is a *major* overhaul of IPython, two years in the making. Most + of the code base has been rewritten or at least reorganized, breaking backward + compatibility with several APIs in previous versions. + + Since the internal APIs have changed so much, projects using IPython as a + library (as opposed to end-users of the application) are the most likely to + encounter regressions or changes that break their existing use patterns. + + A quick summary: + * Standalone Qt console. + * High-level parallel computing with ZeroMQ. + * New model for GUI/plotting support in the terminal. + * A two-process architecture. + * Vim integration. + * Integration into Microsoft Visual Studio + * Improved unicode support. + * Python 3 support. + * New profile model. + * SQLite storage for history. + * New configuration system. + * Pasting of code with prompts. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- ipython-0.10.2.tar.bz2 New: ---- ipython-0.11.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ IPython.spec ++++++ --- /var/tmp/diff_new_pack.GKCrIu/_old 2011-09-05 16:05:52.000000000 +0200 +++ /var/tmp/diff_new_pack.GKCrIu/_new 2011-09-05 16:05:52.000000000 +0200 @@ -20,16 +20,21 @@ Name: IPython BuildRequires: python-devel -Version: 0.10.2 +Version: 0.11 Release: 1 -%define tarname ipython -Source0: %{tarname}-%{version}.tar.bz2 +Source0: ipython-%{version}.tar.bz2 License: LGPLv2.1+ Group: Development/Languages/Python BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://ipython.scipy.org/ Summary: An Enhanced Interactive Python Shell -%{py_requires} +BuildRequires: python-qt4 +%if 0%{?suse_version} +%py_requires +%if 0%{?suse_version} > 1010 +BuildRequires: fdupes +%endif +%endif %if 0%{?suse_version} > 1130 Suggests: python-wxWidgets %else @@ -38,6 +43,10 @@ %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch %endif +# qtconsole +Requires: python-pyzmq > 2.1.4 +Requires: python-Pygments +Requires: python-qt4 %description IPython provides a replacement for the interactive python (Python) @@ -76,7 +85,7 @@ %package doc License: LGPLv2.1+ Summary: An Enhanced Interactive Python Shell documentation -Group: Documentation +Group: Documentation/Other Suggests: %{name} = %{version} %description doc @@ -90,24 +99,34 @@ Fernando Perez <[email protected]> %prep -%setup -q -n %{tarname}-%{version} +%setup -q -n ipython-%{version} + +# Get rid of library shebangs +# for file in *.py; do +# sed -i '/\/usr\/bin\/env/d' $file +# done +find . -type f -name "*.py" -exec sed -i '/#!\/usr\/bin\/env/d' {} \; %build -export CFLAGS="$RPM_OPT_FLAGS" +export CFLAGS="%{optflags}" python setup.py build %install -python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES +python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES grep -v 'share/doc/ipython' INSTALLED_FILES > INSTALLED_FILES-nodoc -install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name} -mv -f $RPM_BUILD_ROOT/usr/share/doc/ipython/* $RPM_BUILD_ROOT%{_docdir}/%{name} -rmdir $RPM_BUILD_ROOT/usr/share/doc/ipython -rm $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/ipython.pdf +install -d -m 755 %{buildroot}%{_docdir}/%{name} +mv -f %{buildroot}/usr/share/doc/ipython/* %{buildroot}%{_docdir}/%{name} +rmdir %{buildroot}/usr/share/doc/ipython -%clean -rm -rf $RPM_BUILD_ROOT +rm -f %{buildroot}/%{python_sitelib}/IPython/.git_commit_info.ini +rm -f %{buildroot}/%{_defaultdocdir}/IPython/manual/.buildinfo + +%if 0%{?suse_version} > 1010 +%fdupes %{buildroot} +%endif %files -f INSTALLED_FILES-nodoc +%{python_sitelib}/* %defattr(-,root,root) #%%dir %%{python_sitelib}/IPython/UserConfig ++++++ ipython-0.10.2.tar.bz2 -> ipython-0.11.tar.bz2 ++++++ IPython/ipython-0.10.2.tar.bz2 /mounts/work_src_done/STABLE/IPython/ipython-0.11.tar.bz2 differ: char 11, line 1 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
