Hello community,

here is the log from the commit of package IPython for openSUSE:Factory checked 
in at 2012-05-08 12:09:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/IPython (Old)
 and      /work/SRC/openSUSE:Factory/.IPython.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "IPython", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/IPython/IPython.changes  2012-02-16 
14:57:14.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.IPython.new/IPython.changes     2012-05-08 
12:10:04.000000000 +0200
@@ -1,0 +2,38 @@
+Thu May  3 11:26:14 UTC 2012 - [email protected]
+
+- license update: BSD-3-Clause
+  See http://ipython.org/ipython-doc/dev/about/license_and_copyright.html
+
+-------------------------------------------------------------------
+Mon Apr 30 13:06:58 UTC 2012 - [email protected]
+
+- Fix building python 3 package on openSUSE 11.4 x86_64
+
+-------------------------------------------------------------------
+Sat Apr 28 07:17:08 UTC 2012 - [email protected]
+
+- added python-tornado Requires for ipython notebook mode 
+
+-------------------------------------------------------------------
+Fri Apr 27 11:13:00 UTC 2012 - [email protected]
+
+- Update to 0.12.1
+  Bugfixes
+- Comment out non-existant wxpython-related python 3 packages
+- Change python 3 binary names so they don't conflict with the 
+  python 2 ones
+- Fix removal of hidden git info in python3 package
+- Small python 2 package spec file cleanups
+
+-------------------------------------------------------------------
+Fri Apr 27 08:38:48 UTC 2012 - [email protected]
+
+- added build dependency python3-2to3 
+       without it files just not converted silently
+
+-------------------------------------------------------------------
+Thu Feb  9 02:26:35 UTC 2012 - [email protected]
+
+- added python3-IPython package
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2012-05-03 01:24:41.895590051 +0200
+++ /work/SRC/openSUSE:Factory/.IPython.new/python3-IPython.changes     
2012-05-08 12:10:04.000000000 +0200
@@ -0,0 +1,36 @@
+-------------------------------------------------------------------
+Mon Apr 30 13:06:58 UTC 2012 - [email protected]
+
+- Fix building python 3 package on openSUSE 11.4 x86_64
+
+-------------------------------------------------------------------
+Sat Apr 28 07:17:45 UTC 2012 - [email protected]
+
+- added python3-tornado Requires for ipython3 notebook mode 
+
+-------------------------------------------------------------------
+Sat Apr 28 03:19:01 UTC 2012 - [email protected]
+
+- fixed runtime Requires python3-xml and python3-distribute 
+
+-------------------------------------------------------------------
+Fri Apr 27 11:13:00 UTC 2012 - [email protected]
+
+- Update to 0.12.1
+  Bugfixes
+- Comment out non-existant wxpython-related python 3 packages
+- Change python 3 binary names so they don't conflict with the 
+  python 2 ones
+- Fix removal of hidden git info in python3 package
+- Small python 2 package spec file cleanups
+
+-------------------------------------------------------------------
+Fri Apr 27 08:38:48 UTC 2012 - [email protected]
+
+- added build dependency python3-2to3 
+       without it files just not converted silently
+
+-------------------------------------------------------------------
+Thu Feb  9 02:26:35 UTC 2012 - [email protected]
+
+- added python3-IPython package

Old:
----
  ipython-0.12.tar.bz2

New:
----
  ipython-0.12.1.tar.gz
  python3-IPython.changes
  python3-IPython.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ IPython.spec ++++++
--- /var/tmp/diff_new_pack.gzY081/_old  2012-05-08 12:10:20.000000000 +0200
+++ /var/tmp/diff_new_pack.gzY081/_new  2012-05-08 12:10:20.000000000 +0200
@@ -15,23 +15,22 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           IPython
 BuildRequires:  python-devel
-Version:        0.12
+Version:        0.12.1
 Release:        0
-Source0:        ipython-%{version}.tar.bz2
+Source0:        ipython-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Url:            http://ipython.scipy.org/
 Summary:        An Enhanced Interactive Python Shell
-License:        LGPL-2.1+
+License:        BSD-3-Clause
 Group:          Development/Languages/Python
 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
@@ -41,9 +40,11 @@
 BuildArch:      noarch
 %endif
 # qtconsole
-Requires:       python-pyzmq > 2.1.4
 Requires:       python-Pygments
+Requires:       python-pyzmq > 2.1.4
 Requires:       python-qt4
+#ipython notebook
+Requires:       python-tornado
 
 %description
 IPython provides a replacement for the interactive python (Python)
@@ -88,11 +89,9 @@
 IPython provides a replacement for the interactive python (Python)
 interpreter with extra functionality.
 
-This package contains comprehensive documentation for IPython in html format, 
as well as examples of usage.
+This package contains comprehensive documentation for IPython in 
+html format, as well as examples of usage.
 
-Authors:
---------
-    Fernando Perez <[email protected]>
 
 %prep
 %setup -q -n ipython-%{version}
@@ -108,11 +107,9 @@
 python setup.py build
 
 %install
-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 %{buildroot}%{_docdir}/%{name}
-mv -f %{buildroot}/usr/share/doc/ipython/* %{buildroot}%{_docdir}/%{name}
-rmdir %{buildroot}/usr/share/doc/ipython
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+install -d -m 755 %{buildroot}%{_docdir}/
+mv -f %{buildroot}/usr/share/doc/ipython/ %{buildroot}%{_docdir}/%{name}
 
 rm -f %{buildroot}/%{python_sitelib}/IPython/.git_commit_info.ini
 rm -f %{buildroot}/%{_defaultdocdir}/IPython/manual/.buildinfo
@@ -121,13 +118,14 @@
 %fdupes %{buildroot}
 %endif
 
-%files -f INSTALLED_FILES-nodoc
-%{python_sitelib}/*
+%files
 %defattr(-,root,root)
-#%%dir %%{python_sitelib}/IPython/UserConfig
+%{_bindir}/*
+%{_mandir}/man1/*
+%{python_sitelib}/*
 
 %files doc
 %defattr(-,root,root)
-%doc %{_docdir}/IPython
+%doc %{_docdir}/%{name}
 
 %changelog

++++++ python3-IPython.spec ++++++
#
# spec file for package python3-IPython
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define modname IPython
Name:           python3-%{modname}
Version:        0.12.1
Release:        0
Source0:        ipython-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://ipython.scipy.org/
Summary:        An Enhanced Interactive Python Shell
License:        LGPL-2.1+
Group:          Development/Languages/Python
BuildRequires:  python3
BuildRequires:  python3-2to3
BuildRequires:  python3-devel
BuildRequires:  python3-distribute
BuildRequires:  python3-xml
%if 0%{?suse_version} 
BuildRequires:  fdupes
%endif
# not available yet upstream
#%if 0%{?suse_version} > 1130
#Suggests:       python3-wxWidgets
#%else
#Suggests:       python3-wxGTK
#%endif
%if 0%{?suse_version} <= 1140
%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?py3_ver: %global py3_ver %(python3 -c "import sys; 
version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); 
print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
%ifarch x86_64
# to allow ownership of noarch python directories
BuildRequires:  python3-32bit
%endif
%endif
BuildArch:      noarch
Requires:       python3-distribute
Requires:       python3-xml
Requires:       python(abi) = %{py3_ver}
# qtconsole
Requires:       python3-Pygments
Requires:       python3-pyzmq > 2.1.4
Requires:       python3-qt4
#ipython notebook
Requires:       python3-tornado

%description
IPython provides a replacement for the interactive python (Python)
interpreter with extra functionality.

Main features:

* Comprehensive object introspection.

* Input history that is persistent across sessions.

* Caching of output results during a session with automatically
   generated references.

* Readline-based name completion.

* Extensible system of 'magic' commands for controlling the
   environment and performing many tasks related either to IPython
   or the operating system.

* Configuration system with easy switching between different setups
   (simpler than changing $PYTHONSTARTUP environment variables every
   time).

* Session logging and reloading.

* Extensible syntax processing for special purpose situations.

* Access to the system shell with user-extensible alias system.

* Easily embeddable in other Python programs.

* Integrated access to the pdb debugger and the Python profiler.

#docs not built with python3 so no doc subpackage now, suggest using python2 
IPython docs

%prep
%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="%{optflags}"
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
rm -f %{buildroot}%{python3_sitelib}/IPython/.git_commit_info.ini
for i in %{buildroot}%{_bindir}/*; do mv "$i" "${i}-python%{py3_ver}"; done # 
add -python3 suffix to executables

%if 0%{?suse_version}
%fdupes %{buildroot}
%endif

%files
%defattr(-,root,root)
%{_bindir}/*-python%{py3_ver}
%{python3_sitelib}/%{modname}
%{python3_sitelib}/ipython-%{version}-py%{py3_ver}.egg-info

%changelog
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to