Hello community,

here is the log from the commit of package python-raet for openSUSE:Factory 
checked in at 2018-08-27 12:57:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-raet (Old)
 and      /work/SRC/openSUSE:Factory/.python-raet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-raet"

Mon Aug 27 12:57:30 2018 rev:12 rq:628664 version:0.6.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-raet/python-raet.changes  2016-05-23 
16:40:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-raet.new/python-raet.changes     
2018-08-27 12:57:37.912703610 +0200
@@ -1,0 +2,19 @@
+Fri Aug 10 13:10:45 UTC 2018 - [email protected]
+
+- Add patch to fix unittests fix_unittest.patch
+- Run tests
+- Switch to singlespec package
+- Version update to 0.6.8:
+  * Added .veritive flag to RoadStack to enable better control of accepting 
signed packets
+  * Fixed tabs to spaces
+  * Added newRemote wrapper method aroung RemoteEstate() to allow for custom 
validation
+  * Fixed some test race timing conditions on faster computer with python3.6
+  * Fixed typo in stacking.py bug
+  * Support for ipv6
+  * More detail in console log messages associated with stale sessions
+  * Fixed to work with python 3.5 withoug simplejson. Removed encoding 
parameter.
+  * Fixed up unittests
+  * Add local test runners for sub section tests to run part of unit tests
+  * Added requirement of simpljson for python2.6 for object pairs hook
+
+-------------------------------------------------------------------

Old:
----
  raet-0.6.4.tar.gz

New:
----
  fix_unittest.patch
  raet-0.6.8.tar.gz

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

Other differences:
------------------
++++++ python-raet.spec ++++++
--- /var/tmp/diff_new_pack.uIA6nR/_old  2018-08-27 12:57:38.480704231 +0200
+++ /var/tmp/diff_new_pack.uIA6nR/_new  2018-08-27 12:57:38.484704235 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-raet
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -15,38 +15,35 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-raet
-Version:        0.6.4
+Version:        0.6.8
 Release:        0
-License:        Apache-2.0
 Summary:        Reliable Asynchronous Event Transport protocol
-Url:            https://github.com/saltstack/raet
+License:        Apache-2.0
 Group:          Development/Languages/Python
-Source0:        
https://pypi.python.org/packages/source/r/raet/raet-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/raet-%{version}-build
-
-BuildRequires:  python-setuptools
-BuildRequires:  python-devel
-BuildRequires:  python-six
-BuildRequires:  python-ioflo
-BuildRequires:  python-libnacl
+URL:            https://github.com/RaetProtocol/raet
+Source0:        
https://files.pythonhosted.org/packages/source/r/raet/raet-%{version}.tar.gz
+Patch0:         fix_unittest.patch
+BuildRequires:  %{python_module ioflo >= 1.2.4}
+BuildRequires:  %{python_module libnacl >= 1.4.3}
+BuildRequires:  %{python_module msgpack}
+BuildRequires:  %{python_module setuptools-git >= 1.1}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six >= 1.6.1}
 BuildRequires:  fdupes
-BuildRequires:  libsodium-devel
-Requires:       python-libnacl
-Requires:       python-ioflo
-
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-BuildRequires:         python
-BuildRequires:  python-importlib
-BuildRequires:  python-argparse
-Requires:              python-importlib
-Requires:       python-argparse
-Requires:              python
-%else
+BuildRequires:  python-rpm-macros
+BuildRequires:  python2-enum34
+Requires:       python-ioflo >= 1.2.4
+Requires:       python-libnacl >= 1.4.3
+Requires:       python-msgpack
+Requires:       python-six >= 1.6.1
 BuildArch:      noarch
+%ifpython2
+Requires:       python-enum34
 %endif
+%python_subpackages
 
 %description
 Raet is a Python library for raet protocol which stands for
@@ -54,17 +51,22 @@
 
 %prep
 %setup -q -n raet-%{version}
+%patch0 -p1
+# remove systest testing as it contains invalid py3 syntax
+rm -rf systest/
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot} --optimize=1
-%fdupes %{buildroot}%{_prefix}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%check
+%python_exec setup.py test
 
-%files
-%defattr(-,root,root)
+%files %{python_files}
 %{python_sitelib}/*
-%{_bindir}/raetflo
+%python3_only %{_bindir}/raetflo
 
 %changelog

++++++ fix_unittest.patch ++++++
Index: raet-0.6.8/raet/road/test/test_stacking.py
===================================================================
--- raet-0.6.8.orig/raet/road/test/test_stacking.py
+++ raet-0.6.8/raet/road/test/test_stacking.py
@@ -433,7 +433,7 @@ class BasicTestCase(unittest.TestCase):
         self.assertEqual(len(self.other.rxMsgs), 0)
 
         self.assertIn('parsing_outer_error', self.other.stats)
-        self.assertEqual(self.other.stats['parsing_outer_error'], 1)
+        self.assertEqual(self.other.stats['parsing_outer_error'], 2)
 
         remote = self.main.remotes.values()[0]
         remote.transactions = odict()  # clear transactions
++++++ raet-0.6.4.tar.gz -> raet-0.6.8.tar.gz ++++++
++++ 27778 lines of diff (skipped)


Reply via email to