Hello community, here is the log from the commit of package python-blosc for openSUSE:Factory checked in at 2018-05-29 10:43:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-blosc (Old) and /work/SRC/openSUSE:Factory/.python-blosc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-blosc" Tue May 29 10:43:23 2018 rev:9 rq:611912 version:1.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-blosc/python-blosc.changes 2018-01-22 16:20:52.235333052 +0100 +++ /work/SRC/openSUSE:Factory/.python-blosc.new/python-blosc.changes 2018-05-29 10:43:29.235664803 +0200 @@ -1,0 +2,6 @@ +Thu May 24 16:51:14 UTC 2018 - [email protected] + +- Python files were not getting included. +- Enable unit tests + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-blosc.spec ++++++ --- /var/tmp/diff_new_pack.Zs51xf/_old 2018-05-29 10:43:29.719646941 +0200 +++ /var/tmp/diff_new_pack.Zs51xf/_new 2018-05-29 10:43:29.723646793 +0200 @@ -26,16 +26,21 @@ Url: http://www.blosc.org/ Source: https://files.pythonhosted.org/packages/source/b/blosc/blosc-%{version}.tar.gz BuildRequires: blosc-devel -BuildRequires: gcc-c++ +BuildRequires: c++_compiler BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module nose} BuildRequires: %{python_module numpy-devel} +# SECTION test requirements +BuildRequires: %{python_module nose} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module psutil} +# /SECTION Requires: blosc-devel Requires: python-numpy ExclusiveArch: %ix86 x86_64 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages %description @@ -48,14 +53,26 @@ %build export CFLAGS="%{optflags}" %python_exec setup.py build_ext --inplace --blosc=%{_prefix} +%python_exec setup.py build --blosc=%{_prefix} %install %python_exec setup.py install -O1 --skip-build --force --root=%{buildroot} --prefix=%{_prefix} --blosc=%{_prefix} %python_expand %fdupes %{buildroot}%{$python_sitearch} +%check +mkdir empty +pushd empty +%{python_expand export PYTHONDONTWRITEBYTECODE=1 +export PYTHONPATH=%{buildroot}%{$python_sitearch} +$python -c "import blosc; blosc.print_versions()" +nosetests-%{$python_bin_suffix} blosc +} +popd + %files %{python_files} %defattr(-,root,root,-) -%doc ANNOUNCE.rst README.rst LICENSES/*.txt RELEASE_NOTES.rst +%doc ANNOUNCE.rst README.rst RELEASE_NOTES.rst +%license LICENSES/*.txt %{python_sitearch}/blosc-%{version}-py*.egg-info %{python_sitearch}/blosc/
