Hello community,

here is the log from the commit of package python-tables for openSUSE:Factory 
checked in at 2017-05-17 17:17:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tables (Old)
 and      /work/SRC/openSUSE:Factory/.python-tables.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tables"

Wed May 17 17:17:35 2017 rev:6 rq:491161 version:3.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tables/python-tables.changes      
2016-09-14 23:34:53.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-tables.new/python-tables.changes 
2017-05-17 17:17:40.042885948 +0200
@@ -1,0 +2,18 @@
+Tue Apr 25 19:08:44 UTC 2017 - [email protected]
+
+- Update to version 3.4.2
+  + Improvements
+    * setup.py detects conda env and uses installed conda
+      (hdf5, bzip2, lzo and/or blosc) packages when building from
+      source.
+  + Bugs fixed
+    * Linux wheels now built against built-in blosc.
+    * Fixed windows absolute paths in ptrepack, ptdump, ptree.
+      :issue:`616`. Thanks to oscar6echo.
+- Update to version 3.4.1
+  + Bugs fixed
+    * Fixed bug in ptrepack
+- Switch to hdf5 1.10 series.
+- Implement single-spec version.
+
+-------------------------------------------------------------------

Old:
----
  tables-3.2.3.1.tar.gz

New:
----
  tables-3.4.2.tar.gz

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

Other differences:
------------------
++++++ python-tables.spec ++++++
--- /var/tmp/diff_new_pack.akS1A5/_old  2017-05-17 17:17:49.953488431 +0200
+++ /var/tmp/diff_new_pack.akS1A5/_new  2017-05-17 17:17:49.957487867 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-tables
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,8 +16,11 @@
 #
 
 
+%bcond_without tests
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-tables
-Version:        3.2.3.1
+Version:        3.4.2
 Release:        0
 Summary:        Hierarchical datasets for Python
 License:        BSD-3-Clause
@@ -26,27 +29,29 @@
 Source0:        
https://files.pythonhosted.org/packages/source/t/tables/tables-%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-BuildRequires:  hdf5-1_8-devel >= 1.8.10
+BuildRequires:  blosc-devel >= 1.4.1
+BuildRequires:  hdf5-devel >= 1.8.4
 BuildRequires:  libbz2-devel
 BuildRequires:  lzo-devel
-BuildRequires:  python-Cython >= 0.13
-BuildRequires:  python-blosc
-BuildRequires:  python-devel >= 2.6
-BuildRequires:  python-numexpr >= 2.4
-BuildRequires:  python-numpy-devel >= 1.7.1
-BuildRequires:  python-py-cpuinfo
-BuildRequires:  python-setuptools
-Requires:       python-blosc
-Requires:       python-numexpr >= 2.4
-Requires:       python-numpy >= 1.7.1
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module Cython >= 0.21}
+BuildRequires:  %{python_module numexpr >= 2.5.2}
+BuildRequires:  %{python_module numpy-devel >= 1.8.1}
+BuildRequires:  %{python_module six >= 1.9.0}
+%if %{with tests}
+# Python 3 version needs mock too for some reason
+BuildRequires:  %{python_module mock}
+%endif
+Requires:       python-numexpr >= 2.5.2
+Requires:       python-numpy >= 1.8.1
+Requires:       python-six >= 1.9.0
 Recommends:     bzip2
 Recommends:     lzo
-Requires(post): update-alternatives
-Requires(preun): 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)")}
-%endif
+%python_subpackages
 
 %description
 PyTables is a package for managing hierarchical datasets and
@@ -57,62 +62,48 @@
 makes of it a fast, yet extremely easy to use tool for
 interactively save and retrieve large amounts of data.
 
-%package doc
+%package -n %{name}-doc
 Summary:        Documentation for %{name}
 Group:          Development/Languages/Python
+Provides:       %{python_module tables-doc = %{version}}
 
-%description doc
+%description -n %{name}-doc
 Documentation and help files for %{name}
 
 %prep
 %setup -q -n tables-%{version}
 
 %build
-CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%fdupes -s %{buildroot}%{python_sitearch}
+%python_install
+%python_expand %fdupes %{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
-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}
-
-%preun
-if [ $1 -eq 0 ] ; then
-   %_sbindir/update-alternatives --remove pt2to3 %{_bindir}/pt2to3-%{py_ver}
-fi
+%if %{with tests}
+%check
+pushd LICENSES
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
+$python -m tables.tests.test_all
+}
+popd
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
 %doc ANNOUNCE.txt LICENSE.txt README.rst RELEASE_NOTES.txt THANKS
-%{_bindir}/pt2to3
-%{_bindir}/ptdump
-%{_bindir}/ptrepack
-%{_bindir}/pttree
-%{_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
+%doc LICENSES/
+%python3_only %{_bindir}/pt2to3
+%python3_only %{_bindir}/ptdump
+%python3_only %{_bindir}/ptrepack
+%python3_only %{_bindir}/pttree
 %{python_sitearch}/tables/
 %{python_sitearch}/tables-%{version}-py*.egg-info
 
-%files doc
+%files -n %{name}-doc
 %defattr(-,root,root)
 %doc doc/html
+%doc examples/
 
 %changelog

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


Reply via email to