Hello community,

here is the log from the commit of package python-dill for openSUSE:Factory 
checked in at 2019-03-12 09:53:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dill (Old)
 and      /work/SRC/openSUSE:Factory/.python-dill.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dill"

Tue Mar 12 09:53:25 2019 rev:3 rq:682837 version:0.2.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dill/python-dill.changes  2018-12-13 
19:42:55.101132128 +0100
+++ /work/SRC/openSUSE:Factory/.python-dill.new.28833/python-dill.changes       
2019-03-12 09:53:27.727537494 +0100
@@ -1,0 +2,6 @@
+Fri Mar  8 12:50:34 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.2.9:
+  * Various test/flake updates
+
+-------------------------------------------------------------------

Old:
----
  dill-0.2.7.1.tar.gz

New:
----
  dill-0.2.9.tar.gz

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

Other differences:
------------------
++++++ python-dill.spec ++++++
--- /var/tmp/diff_new_pack.D7hqMm/_old  2019-03-12 09:53:28.335537373 +0100
+++ /var/tmp/diff_new_pack.D7hqMm/_new  2019-03-12 09:53:28.339537372 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-dill
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -17,26 +17,23 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without test
 Name:           python-dill
-Version:        0.2.7.1
+Version:        0.2.9
 Release:        0
 Summary:        Serialize all of python
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Url:            http://www.cacr.caltech.edu/~mmckerns/dill.htm
+URL:            https://github.com/uqfoundation/dill
 Source:         
https://files.pythonhosted.org/packages/source/d/dill/dill-%{version}.tar.gz
+BuildRequires:  %{python_module objgraph}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with test}
-BuildRequires:  %{python_module objgraph}
-%endif
-Recommends:     python-objgraph 
-BuildArch:      noarch
+BuildRequires:  python3-dbm
 Requires(post):   update-alternatives
 Requires(postun):  update-alternatives
-
+Recommends:     python-objgraph
+BuildArch:      noarch
 %python_subpackages
 
 %description
@@ -70,37 +67,38 @@
 
 %prep
 %setup -q -n dill-%{version}
-find dill -name '*.py' -exec sed -i '1{\@^#!/usr/bin/env python@d}' {} \;
+find dill -name '*.py' -exec sed -i '1{\@^#!%{_bindir}/env python@d}' {} \;
 
 %build
 %python_build
 
 %install
 %python_install
+%python_expand rm -r %{buildroot}%{$python_sitelib}/dill/tests
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-mv %{buildroot}%{_bindir}/dill_unpickle.py %{buildroot}%{_bindir}/dill_unpickle
-mv %{buildroot}%{_bindir}/get_objgraph.py %{buildroot}%{_bindir}/get_objgraph
-
-%python_clone -a %{buildroot}%{_bindir}/dill_unpickle
+%python_clone -a %{buildroot}%{_bindir}/undill
 %python_clone -a %{buildroot}%{_bindir}/get_objgraph
 
-%if %{with test}
 %check
-%python_exec tests/*.py
-%endif
+export PYTHONDONTWRITEBYTECODE=1
+# Creative; copied from .travis.yml
+failed=0
+for test in tests/*.py; do
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python $test || 
failed=1
+done
+exit $failed
 
 %post
-%{python_install_alternative dill_unpickle get_objgraph}
+%{python_install_alternative undill get_objgraph}
 
 %postun
-%python_uninstall_alternative dill_unpickle
+%python_uninstall_alternative undill
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc README README.md
 %license LICENSE
-%python_alternative %{_bindir}/dill_unpickle
+%python_alternative %{_bindir}/undill
 %python_alternative %{_bindir}/get_objgraph
 %{python_sitelib}/*
 

++++++ dill-0.2.7.1.tar.gz -> dill-0.2.9.tar.gz ++++++
++++ 5650 lines of diff (skipped)


Reply via email to