commit python-moksha-hub for openSUSE:Factory

2020-05-26 Thread root
Hello community,

here is the log from the commit of package python-moksha-hub for 
openSUSE:Factory checked in at 2020-05-26 17:22:57

Comparing /work/SRC/openSUSE:Factory/python-moksha-hub (Old)
 and  /work/SRC/openSUSE:Factory/.python-moksha-hub.new.2738 (New)


Package is "python-moksha-hub"

Tue May 26 17:22:57 2020 rev:4 rq:808674 version:1.5.17

Changes:

--- /work/SRC/openSUSE:Factory/python-moksha-hub/python-moksha-hub.changes  
2019-05-22 15:42:04.978427044 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-moksha-hub.new.2738/python-moksha-hub.changes
2020-05-26 17:23:12.172475614 +0200
@@ -1,0 +2,5 @@
+Mon May 25 06:50:51 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-moksha-hub.spec ++
--- /var/tmp/diff_new_pack.zDNjIn/_old  2020-05-26 17:23:13.184477789 +0200
+++ /var/tmp/diff_new_pack.zDNjIn/_new  2020-05-26 17:23:13.184477789 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-moksha-hub
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -41,6 +41,8 @@
 Requires:   python-pyzmq
 Requires:   python-txWS
 Requires:   python-txZMQ
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
 %python_subpackages
 
@@ -55,15 +57,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/moksha-hub
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec setup.py test
 
+%post
+%python_install_alternative moksha-hub
+
+%postun
+%python_uninstall_alternative moksha-hub
+
 %files %{python_files}
 %license COPYING
 %doc AUTHORS README
-%python3_only %{_bindir}/moksha-hub
+%python_alternative %{_bindir}/moksha-hub
 %{python_sitelib}/*
 
 %changelog




commit python-moksha-hub for openSUSE:Factory

2019-05-22 Thread root
Hello community,

here is the log from the commit of package python-moksha-hub for 
openSUSE:Factory checked in at 2019-05-22 15:41:16

Comparing /work/SRC/openSUSE:Factory/python-moksha-hub (Old)
 and  /work/SRC/openSUSE:Factory/.python-moksha-hub.new.5148 (New)


Package is "python-moksha-hub"

Wed May 22 15:41:16 2019 rev:3 rq:704706 version:1.5.17

Changes:

--- /work/SRC/openSUSE:Factory/python-moksha-hub/python-moksha-hub.changes  
2018-12-24 11:39:52.801532605 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-moksha-hub.new.5148/python-moksha-hub.changes
2019-05-22 15:42:04.978427044 +0200
@@ -1,0 +2,7 @@
+Wed May 22 05:37:00 UTC 2019 - pgaj...@suse.com
+
+- version update to 1.5.17
+  * no upstream changelog
+- run tests
+
+---

Old:

  moksha.hub-1.5.3.tar.gz

New:

  moksha.hub-1.5.17.tar.gz



Other differences:
--
++ python-moksha-hub.spec ++
--- /var/tmp/diff_new_pack.RVlACr/_old  2019-05-22 15:42:06.646427036 +0200
+++ /var/tmp/diff_new_pack.RVlACr/_new  2019-05-22 15:42:06.650427036 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-moksha-hub
 #
-# 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,16 +17,23 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_with test
 Name:   python-moksha-hub
-Version:1.5.3
+Version:1.5.17
 Release:0
 Summary:Hub components for Moksha
 License:Apache-2.0
 Group:  Development/Languages/Python
 URL:https://mokshaproject.net
 Source: 
https://files.pythonhosted.org/packages/source/m/moksha.hub/moksha.hub-%{version}.tar.gz
+BuildRequires:  %{python_module Twisted}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module moksha-common >= 1.0.6}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pyzmq}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module txWS}
+BuildRequires:  %{python_module txZMQ}
+BuildRequires:  %{python_module websocket-client}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-Twisted
@@ -35,16 +42,6 @@
 Requires:   python-txWS
 Requires:   python-txZMQ
 BuildArch:  noarch
-%if %{with test}
-BuildRequires:  %{python_module Twisted}
-BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module moksha-common >= 1.0.6}
-BuildRequires:  %{python_module nose}
-BuildRequires:  %{python_module pyzmq}
-BuildRequires:  %{python_module txWS}
-BuildRequires:  %{python_module txZMQ}
-BuildRequires:  %{python_module websocket-client}
-%endif
 %python_subpackages
 
 %description
@@ -59,10 +56,9 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
-%if %{with test}
+
 %check
 %python_exec setup.py test
-%endif
 
 %files %{python_files}
 %license COPYING

++ moksha.hub-1.5.3.tar.gz -> moksha.hub-1.5.17.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/moksha.hub-1.5.3/PKG-INFO 
new/moksha.hub-1.5.17/PKG-INFO
--- old/moksha.hub-1.5.3/PKG-INFO   2017-07-11 17:08:34.0 +0200
+++ new/moksha.hub-1.5.17/PKG-INFO  2019-02-12 06:20:18.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: moksha.hub
-Version: 1.5.3
+Version: 1.5.17
 Summary: Hub components for Moksha.
 Home-page: https://mokshaproject.net
 Author: Luke Macken, John (J5) Palmieri, Mairin Duffy, and Ralph Bean
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/moksha.hub-1.5.3/moksha/hub/api/consumer.py 
new/moksha.hub-1.5.17/moksha/hub/api/consumer.py
--- old/moksha.hub-1.5.3/moksha/hub/api/consumer.py 2017-07-11 
17:08:16.0 +0200
+++ new/moksha.hub-1.5.17/moksha/hub/api/consumer.py2018-09-24 
18:14:16.0 +0200
@@ -33,6 +33,7 @@
 log = logging.getLogger('moksha.hub')
 
 import six.moves.queue as queue
+from collections import deque
 
 from kitchen.iterutils import iterate
 from moksha.common.lib.helpers import create_app_engine
@@ -60,7 +61,7 @@
 # the queue to do "consume" work.
 self.incoming = queue.Queue()
 self.headcount_in = self.headcount_out = 0
-self._times = []
+self._times = deque(maxlen=1024)
 
 callback = self._consume
 if self.jsonify:
@@ -99,7 +100,7 @@
 backlog = self.incoming.qsize()
 headcount_out = self.headcount_out
 headcount_in = 

commit python-moksha-hub for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-moksha-hub for 
openSUSE:Factory checked in at 2018-12-24 11:39:50

Comparing /work/SRC/openSUSE:Factory/python-moksha-hub (Old)
 and  /work/SRC/openSUSE:Factory/.python-moksha-hub.new.28833 (New)


Package is "python-moksha-hub"

Mon Dec 24 11:39:50 2018 rev:2 rq:659499 version:1.5.3

Changes:

--- /work/SRC/openSUSE:Factory/python-moksha-hub/python-moksha-hub.changes  
2018-02-14 14:18:41.384990501 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-moksha-hub.new.28833/python-moksha-hub.changes
   2018-12-24 11:39:52.801532605 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:50:29 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-moksha-hub.spec ++
--- /var/tmp/diff_new_pack.6UB19A/_old  2018-12-24 11:39:53.281532179 +0100
+++ /var/tmp/diff_new_pack.6UB19A/_new  2018-12-24 11:39:53.281532179 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-moksha-hub
 #
-# Copyright (c) 2017 SUSE LINUX 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
@@ -12,7 +12,8 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -25,7 +26,6 @@
 Group:  Development/Languages/Python
 URL:https://mokshaproject.net
 Source: 
https://files.pythonhosted.org/packages/source/m/moksha.hub/moksha.hub-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -65,7 +65,8 @@
 %endif
 
 %files %{python_files}
-%doc AUTHORS COPYING README
+%license COPYING
+%doc AUTHORS README
 %python3_only %{_bindir}/moksha-hub
 %{python_sitelib}/*