Hello community,

here is the log from the commit of package python-tables for openSUSE:Factory 
checked in at 2016-02-03 10:19:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tables (Old)
 and      /work/SRC/openSUSE:Factory/.python-tables.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tables"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tables/python-tables.changes      
2015-05-18 22:34:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-tables.new/python-tables.changes 
2016-02-03 10:19:46.000000000 +0100
@@ -1,0 +2,18 @@
+Mon Feb  1 11:28:11 UTC 2016 - toddrme2...@gmail.com
+
+- update to version 3.2.2:
+  * Fix AssertionError in Row.__init_loop. See gh-477.
+  * Fix issues with Cython 0.23. See gh-481.
+  * Only run tables.tests.test_basics.UnicodeFilename if the
+    filesystem encoding is utf-8. Closes gh-485.
+  * Fix missing missing PyErr_Clear. See gh-#486.
+  * Fix the C type of some numpy attributes. See gh-494.
+  * Cast selection indices to integer. See gh-496.
+  * Fix indexesextension._keysort_string. Closes gh-497 and gh-498.
+- changes from version 3.2.1.1:
+  * Fix permission on distributed source distribution
+- update to version 3.2.1:
+  * Fix indexesextension._keysort. Fixes gh-455. Thanks to Andrew Lin.
+- Implement update-alternatives
+
+-------------------------------------------------------------------

Old:
----
  tables-3.2.0.tar.gz

New:
----
  tables-3.2.2.tar.gz

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

Other differences:
------------------
++++++ python-tables.spec ++++++
--- /var/tmp/diff_new_pack.PgSG9w/_old  2016-02-03 10:19:47.000000000 +0100
+++ /var/tmp/diff_new_pack.PgSG9w/_new  2016-02-03 10:19:47.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-tables
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,14 @@
 #
 
 
-%define modname tables
-Name:           python-%{modname}
-Version:        3.2.0
+Name:           python-tables
+Version:        3.2.2
 Release:        0
 Summary:        Hierarchical datasets for Python
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Url:            http://www.pytables.org/
-Source0:        
https://pypi.python.org/packages/source/t/tables/%{modname}-%{version}.tar.gz
+Source0:        
https://pypi.python.org/packages/source/t/tables/tables-%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  hdf5-devel >= 1.8.10
@@ -33,15 +32,17 @@
 BuildRequires:  python-Cython >= 0.13
 BuildRequires:  python-blosc
 BuildRequires:  python-devel >= 2.6
-BuildRequires:  python-numexpr >= 2.0
-BuildRequires:  python-numpy-devel >= 1.4.1
+BuildRequires:  python-numexpr >= 2.4
+BuildRequires:  python-numpy-devel >= 1.7.1
 BuildRequires:  python-setuptools
 Requires:       hdf5 >= 1.8.10
 Requires:       python-blosc
-Requires:       python-numexpr >= 2.0
-Requires:       python-numpy >= 1.4.1
+Requires:       python-numexpr >= 2.4
+Requires:       python-numpy >= 1.7.1
 Recommends:     bzip2
 Recommends:     lzo
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
@@ -64,7 +65,7 @@
 Documentation and help files for %{name}
 
 %prep
-%setup -q -n %{modname}-%{version}
+%setup -q -n tables-%{version}
 
 %build
 CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
@@ -73,6 +74,27 @@
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 %fdupes -s %{buildroot}%{python_sitearch}
 
+# Prepare for update-alternatives usage
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+for p in pt2to3 ptdump ptrepack pttree ; do
+    mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py_ver}
+    ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
+    # create a dummy target for /etc/alternatives/$p
+    touch %{buildroot}%{_sysconfdir}/alternatives/$p
+done
+
+%post
+"%_sbindir/update-alternatives" \
+   --install %{_bindir}/pt2to3 pt2to3 %{_bindir}/pt2to3-%{py_ver} 30 \
+   --slave %{_bindir}/ptdump ptdump %{_bindir}/ptdump-%{py_ver} \
+   --slave %{_bindir}/ptrepack ptrepack %{_bindir}/ptrepack-%{py_ver} \
+   --slave %{_bindir}/pttree pttree %{_bindir}/pttree-%{py_ver}
+
+%postun
+if [ $1 -eq 0 ] ; then
+    "%_sbindir/update-alternatives" --remove pt2to3 
%{_bindir}/pt2to3-%{py3_ver}
+fi
+
 %files
 %defattr(-,root,root)
 %doc ANNOUNCE.txt LICENSE.txt README.rst RELEASE_NOTES.txt THANKS
@@ -80,8 +102,16 @@
 %{_bindir}/ptdump
 %{_bindir}/ptrepack
 %{_bindir}/pttree
-%{python_sitearch}/%{modname}/
-%{python_sitearch}/%{modname}-%{version}-py%{py_ver}.egg-info
+%{_bindir}/pt2to3-%{py_ver}
+%{_bindir}/ptdump-%{py_ver}
+%{_bindir}/ptrepack-%{py_ver}
+%{_bindir}/pttree-%{py_ver}
+%ghost %{_sysconfdir}/alternatives/pt2to3
+%ghost %{_sysconfdir}/alternatives/ptdump
+%ghost %{_sysconfdir}/alternatives/ptrepack
+%ghost %{_sysconfdir}/alternatives/pttree
+%{python_sitearch}/tables/
+%{python_sitearch}/tables-%{version}-py*.egg-info
 
 %files doc
 %defattr(-,root,root)

++++++ tables-3.2.0.tar.gz -> tables-3.2.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-tables/tables-3.2.0.tar.gz 
/work/SRC/openSUSE:Factory/.python-tables.new/tables-3.2.2.tar.gz differ: char 
5, line 1


Reply via email to