commit python-pan-python for openSUSE:Factory

2020-05-26 Thread root
Hello community,

here is the log from the commit of package python-pan-python for 
openSUSE:Factory checked in at 2020-05-26 17:16:33

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


Package is "python-pan-python"

Tue May 26 17:16:33 2020 rev:3 rq:807645 version:0.16.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pan-python/python-pan-python.changes  
2020-01-13 22:21:28.962517070 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pan-python.new.2738/python-pan-python.changes
2020-05-26 17:17:37.199755239 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:03 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-pan-python.spec ++
--- /var/tmp/diff_new_pack.4tLauI/_old  2020-05-26 17:17:38.111757216 +0200
+++ /var/tmp/diff_new_pack.4tLauI/_new  2020-05-26 17:17:38.115757225 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pan-python
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2017-2019, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -29,6 +29,8 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
 # SECTION test requirements
 #BuildRequires:  %%{python_module pytest}
@@ -55,6 +57,11 @@
 cd %{buildroot}/%{_bindir}
 for f in panxapi panconf panlicapi panwfapi panafapi; do mv "$f.py" "$f"; done
 #
+%python_clone -a %{buildroot}%{_bindir}/panxapi
+%python_clone -a %{buildroot}%{_bindir}/panwfapi
+%python_clone -a %{buildroot}%{_bindir}/panlicapi
+%python_clone -a %{buildroot}%{_bindir}/panconf
+%python_clone -a %{buildroot}%{_bindir}/panafapi
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 # remove unneeded files
 rm -f %{buildroot}%{_bindir}/_current_flavor
@@ -63,14 +70,28 @@
 # Upstream does not have any tests yet
 #%%pytest
 
+%post
+%python_install_alternative panxapi
+%python_install_alternative panwfapi
+%python_install_alternative panlicapi
+%python_install_alternative panconf
+%python_install_alternative panafapi
+
+%postun
+%python_uninstall_alternative panxapi
+%python_uninstall_alternative panwfapi
+%python_uninstall_alternative panlicapi
+%python_uninstall_alternative panconf
+%python_uninstall_alternative panafapi
+
 %files %{python_files}
 %license LICENSE.txt
 %doc AUTHORS.rst HISTORY.rst README.rst
-%python3_only %{_bindir}/panafapi
-%python3_only %{_bindir}/panconf
-%python3_only %{_bindir}/panlicapi
-%python3_only %{_bindir}/panwfapi
-%python3_only %{_bindir}/panxapi
+%python_alternative %{_bindir}/panafapi
+%python_alternative %{_bindir}/panconf
+%python_alternative %{_bindir}/panlicapi
+%python_alternative %{_bindir}/panwfapi
+%python_alternative %{_bindir}/panxapi
 %{python_sitelib}/*
 
 %changelog




commit python-pan-python for openSUSE:Factory

2020-01-13 Thread root
Hello community,

here is the log from the commit of package python-pan-python for 
openSUSE:Factory checked in at 2020-01-13 22:21:19

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


Package is "python-pan-python"

Mon Jan 13 22:21:19 2020 rev:2 rq:763814 version:0.16.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pan-python/python-pan-python.changes  
2019-10-28 16:59:07.457668306 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pan-python.new.6675/python-pan-python.changes
2020-01-13 22:21:28.962517070 +0100
@@ -1,0 +2,14 @@
+Sat Jan 11 18:27:39 UTC 2020 - Martin Hauke 
+
+- Update to version 0.16.0
+  * pan.config: Support 9.1.0 config for set format.
+  * pan.licapi: 'version' field in request header should use
+version attribute and not int(). This was not noticed because
+version:256 would previously use the current API version of 1.
+  * pan.licapi.rst: Document pan.licapi._ApiVersion int() layout
+correctly.
+panwfapi.py: Fix 'SyntaxWarning: "is" with a literal. Did you
+mean "=="?' warning from Python 3.8.
+  * setup.py: Add Python 3.8.
+
+---

Old:

  pan-python-0.15.0.tar.gz

New:

  pan-python-0.16.0.tar.gz



Other differences:
--
++ python-pan-python.spec ++
--- /var/tmp/diff_new_pack.NQYVeE/_old  2020-01-13 22:21:29.702517413 +0100
+++ /var/tmp/diff_new_pack.NQYVeE/_new  2020-01-13 22:21:29.706517415 +0100
@@ -1,6 +1,7 @@
 #
 # spec file for package python-pan-python
 #
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2017-2019, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,11 +19,11 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pan-python
-Version:0.15.0
+Version:0.16.0
 Release:0
 Summary:Multi-tool set for Palo Alto Networks PAN-OS, Panorama, 
WildFire and AutoFocus
-Group:  Development/Languages/Python
 License:ISC
+Group:  Development/Languages/Python
 URL:https://github.com/kevinsteves/pan-python
 Source: 
https://files.pythonhosted.org/packages/source/p/pan-python/pan-python-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}

++ pan-python-0.15.0.tar.gz -> pan-python-0.16.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pan-python-0.15.0/HISTORY.rst 
new/pan-python-0.16.0/HISTORY.rst
--- old/pan-python-0.15.0/HISTORY.rst   2019-07-18 17:20:06.0 +0200
+++ new/pan-python-0.16.0/HISTORY.rst   2020-01-11 19:00:10.0 +0100
@@ -1,6 +1,26 @@
 Release History
 ===
 
+0.16.0 (2020-01-11)
+---
+
+- pan.config: Support 9.1.0 config for set format.
+
+- pan.licapi: 'version' field in request header should use version
+  attribute and not int().  This was not noticed because version:256
+  would previously use the current API version of 1.  Bug found by
+  Stacey Sheldon.
+
+- pan.licapi.rst: Document pan.licapi._ApiVersion int() layout
+  correctly.
+
+- Use 9.1 documentation links.
+
+- panwfapi.py: Fix 'SyntaxWarning: "is" with a literal. Did you mean
+  "=="?' warning from Python 3.8.
+
+- setup.py: Add Python 3.8.
+
 0.15.0 (2019-07-18)
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pan-python-0.15.0/PKG-INFO 
new/pan-python-0.16.0/PKG-INFO
--- old/pan-python-0.15.0/PKG-INFO  2019-07-18 17:21:41.0 +0200
+++ new/pan-python-0.16.0/PKG-INFO  2020-01-11 19:01:23.0 +0100
@@ -1,12 +1,11 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: pan-python
-Version: 0.15.0
+Version: 0.16.0
 Summary: Multi-tool set for Palo Alto Networks PAN-OS, Panorama, WildFire and 
AutoFocus
 Home-page: https://github.com/kevinsteves/pan-python
 Author: Kevin Steves
 Author-email: kevin.ste...@pobox.com
 License: UNKNOWN
-Description-Content-Type: text/x-rst
 Description: pan-python
 ==
 
@@ -57,3 +56,5 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Description-Content-Type: text/x-rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pan-python-0.15.0/bin/panwfapi.py 
new/pan-python-0.16.0/bin/panwfapi.py
--- old/pan-python-0.15.0/bin/panwfapi.py   2019-07-18 17:20:06.0 
+0200
+++ new/pan-python-0.16.0/bin/panwfapi.py