commit python-jsonrpclib-pelix for openSUSE:Factory

2020-05-01 Thread root
Hello community,

here is the log from the commit of package python-jsonrpclib-pelix for 
openSUSE:Factory checked in at 2020-05-01 11:12:59

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


Package is "python-jsonrpclib-pelix"

Fri May  1 11:12:59 2020 rev:3 rq:799140 version:0.4.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jsonrpclib-pelix/python-jsonrpclib-pelix.changes
  2019-04-02 09:22:00.180694585 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonrpclib-pelix.new.2738/python-jsonrpclib-pelix.changes
2020-05-01 11:13:03.979810014 +0200
@@ -1,0 +2,11 @@
+Thu Apr 30 07:42:48 UTC 2020 - Tomáš Chvátal 
+
+- Fix build without python2
+
+---
+Thu Apr 30 07:34:43 UTC 2020 - Tomáš Chvátal 
+
+- Update to 0.4.1:
+  * Fixed a size computation issue in the request handler (see #42)
+
+---

Old:

  v0.4.0.tar.gz

New:

  v0.4.1.tar.gz



Other differences:
--
++ python-jsonrpclib-pelix.spec ++
--- /var/tmp/diff_new_pack.HWBSXu/_old  2020-05-01 11:13:05.919814233 +0200
+++ /var/tmp/diff_new_pack.HWBSXu/_new  2020-05-01 11:13:05.919814233 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonrpclib-pelix
 #
-# 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
@@ -18,12 +18,11 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-jsonrpclib-pelix
-Version:0.4.0
+Version:0.4.1
 Release:0
 Summary:JSPN-RPC over HTTP Library for Pelix Remote Services
 License:Apache-2.0
-Group:  Development/Libraries/Python
-Url:https://github.com/tcalmant/jsonrpclib/
+URL:https://github.com/tcalmant/jsonrpclib/
 Source: 
https://github.com/tcalmant/jsonrpclib/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -37,6 +36,7 @@
 
 %prep
 %setup -q -n jsonrpclib-%{version}
+sed -i -e 's:python$:python3:' tests/cgi-bin/cgi_server.py
 
 %build
 %python_build

++ v0.4.0.tar.gz -> v0.4.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/README.md 
new/jsonrpclib-0.4.1/README.md
--- old/jsonrpclib-0.4.0/README.md  2019-01-13 19:12:05.0 +0100
+++ new/jsonrpclib-0.4.1/README.md  2020-04-12 16:36:53.0 +0200
@@ -95,6 +95,21 @@
 python setup.py install
 ```
 
+## A note on logging
+
+`jsonrpclib-pelix` uses the `logging` module from the standard Python
+library to trace warnings and errors, but doesn't set it up.
+As a result, you have to configure the Python logging to print out traces.
+
+The easiest way to do it is to add those lines at the beginning of your code:
+```python
+import logging
+logging.basiConfig()
+```
+
+More information can be found in the
+[`logging` documentation page](https://docs.python.org/3/library/logging.html).
+
 ## `SimpleJSONRPCServer`
 
 This is identical in usage (or should be) to the `SimpleXMLRPCServer` in the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/docs/license.rst 
new/jsonrpclib-0.4.1/docs/license.rst
--- old/jsonrpclib-0.4.0/docs/license.rst   2019-01-13 19:12:05.0 
+0100
+++ new/jsonrpclib-0.4.1/docs/license.rst   2020-04-12 16:36:53.0 
+0200
@@ -10,7 +10,7 @@
 
 This snippet is added to the module-level documentation::
 
-Copyright 2019 Thomas Calmant
+Copyright 2020 Thomas Calmant
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonrpclib-0.4.0/docs/server.rst 
new/jsonrpclib-0.4.1/docs/server.rst
--- old/jsonrpclib-0.4.0/docs/server.rst2019-01-13 19:12:05.0 
+0100
+++ new/jsonrpclib-0.4.1/docs/server.rst2020-04-12 16:36:53.0 
+0200
@@ -39,6 +39,24 @@
server.serve_forever()
 
 
+A note on logging
+=
+
+``jsonrpclib-pelix`` uses the ``logging`` module from the standard Python
+library to trace warnings and errors, but doesn't set it up.
+As a result, you have to configure the Python logging to print out traces.
+
+The easiest way to do it is to add those lines at the beginning of your code:
+
+.. 

commit python-jsonrpclib-pelix for openSUSE:Factory

2019-04-02 Thread root
Hello community,

here is the log from the commit of package python-jsonrpclib-pelix for 
openSUSE:Factory checked in at 2019-04-02 09:21:53

Comparing /work/SRC/openSUSE:Factory/python-jsonrpclib-pelix (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonrpclib-pelix.new.25356 (New)


Package is "python-jsonrpclib-pelix"

Tue Apr  2 09:21:53 2019 rev:2 rq:689390 version:0.4.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jsonrpclib-pelix/python-jsonrpclib-pelix.changes
  2018-01-10 23:30:12.961966505 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonrpclib-pelix.new.25356/python-jsonrpclib-pelix.changes
   2019-04-02 09:22:00.180694585 +0200
@@ -1,0 +2,11 @@
+Thu Mar 28 14:42:47 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.4.0:
+  * Added back support of Unix sockets on both server and client side.
+  * Note: HTTPS is not supported on server-side Unix sockets
+  * Fixed the CGI request handler
+  * Fixed the request handler wrapping on server side
+- Switch to github tarball for tests
+- Run tests
+
+---

Old:

  jsonrpclib-pelix-0.3.1.tar.gz

New:

  v0.4.0.tar.gz



Other differences:
--
++ python-jsonrpclib-pelix.spec ++
--- /var/tmp/diff_new_pack.EBqH4X/_old  2019-04-02 09:22:03.656697841 +0200
+++ /var/tmp/diff_new_pack.EBqH4X/_new  2019-04-02 09:22:03.660697845 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonrpclib-pelix
 #
-# Copyright (c) 2017 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
@@ -12,23 +12,23 @@
 # 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-%{**}}
 Name:   python-jsonrpclib-pelix
-Version:0.3.1
+Version:0.4.0
 Release:0
 Summary:JSPN-RPC over HTTP Library for Pelix Remote Services
 License:Apache-2.0
 Group:  Development/Libraries/Python
 Url:https://github.com/tcalmant/jsonrpclib/
-Source: 
https://files.pythonhosted.org/packages/source/j/jsonrpclib-pelix/jsonrpclib-pelix-%{version}.tar.gz
-BuildRequires:  %{python_module base}
+Source: 
https://github.com/tcalmant/jsonrpclib/archive/v%{version}.tar.gz
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  sed
 BuildArch:  noarch
 %python_subpackages
 
@@ -36,11 +36,7 @@
 A Python (2 & 3) JSON-RPC over HTTP that mirrors xmlrpclib syntax.
 
 %prep
-%setup -q -n jsonrpclib-pelix-%{version}
-chmod a-x jsonrpclib/*.py
-sed -i '1d' jsonrpclib/*.py 
-sed -i 's/\r$//' LICENSE.txt
-sed -i 's/\r$//' README.rst
+%setup -q -n jsonrpclib-%{version}
 
 %build
 %python_build
@@ -49,9 +45,12 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+%pytest
+
 %files %{python_files}
 %{python_sitelib}/*
-%license LICENSE.txt
-%doc README.rst
+%license LICENSE
+%doc README.md
 
 %changelog




commit python-jsonrpclib-pelix for openSUSE:Factory

2018-01-10 Thread root
Hello community,

here is the log from the commit of package python-jsonrpclib-pelix for 
openSUSE:Factory checked in at 2018-01-10 23:30:12

Comparing /work/SRC/openSUSE:Factory/python-jsonrpclib-pelix (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonrpclib-pelix.new (New)


Package is "python-jsonrpclib-pelix"

Wed Jan 10 23:30:12 2018 rev:1 rq:545438 version:0.3.1

Changes:

New Changes file:

--- /dev/null   2018-01-05 12:14:39.755488130 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonrpclib-pelix.new/python-jsonrpclib-pelix.changes
 2018-01-10 23:30:12.961966505 +0100
@@ -0,0 +1,10 @@
+---
+Fri Nov 17 16:29:04 UTC 2017 - mimi...@gmail.com
+
+- remove uselees _service
+- fix rpmlint warnings
+
+---
+Thu Nov  2 11:00:57 UTC 2017 - ma...@detebe.org
+
+- initial package build

New:

  jsonrpclib-pelix-0.3.1.tar.gz
  python-jsonrpclib-pelix.changes
  python-jsonrpclib-pelix.spec



Other differences:
--
++ python-jsonrpclib-pelix.spec ++
#
# spec file for package python-jsonrpclib-pelix
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:   python-jsonrpclib-pelix
Version:0.3.1
Release:0
Summary:JSPN-RPC over HTTP Library for Pelix Remote Services
License:Apache-2.0
Group:  Development/Libraries/Python
Url:https://github.com/tcalmant/jsonrpclib/
Source: 
https://files.pythonhosted.org/packages/source/j/jsonrpclib-pelix/jsonrpclib-pelix-%{version}.tar.gz
BuildRequires:  %{python_module base}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
BuildRequires:  sed
BuildArch:  noarch
%python_subpackages

%description
A Python (2 & 3) JSON-RPC over HTTP that mirrors xmlrpclib syntax.

%prep
%setup -q -n jsonrpclib-pelix-%{version}
chmod a-x jsonrpclib/*.py
sed -i '1d' jsonrpclib/*.py 
sed -i 's/\r$//' LICENSE.txt
sed -i 's/\r$//' README.rst

%build
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%files %{python_files}
%{python_sitelib}/*
%license LICENSE.txt
%doc README.rst

%changelog