commit python-gvm-tools for openSUSE:Factory

2020-10-29 Thread root
Hello community,

here is the log from the commit of package python-gvm-tools for 
openSUSE:Factory checked in at 2020-10-29 14:51:50

Comparing /work/SRC/openSUSE:Factory/python-gvm-tools (Old)
 and  /work/SRC/openSUSE:Factory/.python-gvm-tools.new.3463 (New)


Package is "python-gvm-tools"

Thu Oct 29 14:51:50 2020 rev:3 rq:844258 version:20.10.1

Changes:

--- /work/SRC/openSUSE:Factory/python-gvm-tools/python-gvm-tools.changes
2020-10-26 16:22:59.923257763 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-gvm-tools.new.3463/python-gvm-tools.changes  
2020-10-29 14:51:50.725216146 +0100
@@ -1,0 +2,5 @@
+Mon Oct 26 23:17:55 UTC 2020 - Benjamin Greiner 
+
+- Kill dephell dependency 
+
+---



Other differences:
--
++ python-gvm-tools.spec ++
--- /var/tmp/diff_new_pack.lViKOk/_old  2020-10-29 14:51:51.313216729 +0100
+++ /var/tmp/diff_new_pack.lViKOk/_new  2020-10-29 14:51:51.317216733 +0100
@@ -28,9 +28,9 @@
 Source: 
https://github.com/greenbone/gvm-tools/archive/v%{version}.tar.gz#/gvm-tools-%{version}.tar.gz
 #Source98:   
https://github.com/greenbone/gvm-tools/releases/download/v%%{version}/v%%{version}.tar.gz.asc#/gvm-tools-%%{version}.tar.gz.sig
 #Source99:   
https://www.greenbone.net/GBCommunitySigningKey.asc#/gvm-tools.keyring
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module poetry}
 BuildRequires:  fdupes
-BuildRequires:  python-dephell-rpm-macros
 BuildRequires:  python-rpm-macros
 Requires:   python-python-gvm >= 1.4.0
 BuildArch:  noarch
@@ -54,25 +54,22 @@
 
 %prep
 %setup -q -n gvm-tools-%{version}
-%dephell_gensetup
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/gvm-cli
 %python_clone -a %{buildroot}%{_bindir}/gvm-pyshell
 %python_clone -a %{buildroot}%{_bindir}/gvm-script
-# Remove tests from sitelib
-%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %post
 %python_install_alternative gvm-cli gvm-pyshell gvm-script
 
 %postun
-%python_uninstall_alternative gvm-cli gvm-pyshell gvm-script
+%python_uninstall_alternative gvm-cli
 
 %check
 %pytest
@@ -83,6 +80,7 @@
 %python_alternative %{_bindir}/gvm-cli
 %python_alternative %{_bindir}/gvm-pyshell
 %python_alternative %{_bindir}/gvm-script
-%{python_sitelib}/*
+%{python_sitelib}/gvmtools
+%{python_sitelib}/gvm_tools-%{version}*-info
 
 %changelog




commit python-gvm-tools for openSUSE:Factory

2020-10-26 Thread root
Hello community,

here is the log from the commit of package python-gvm-tools for 
openSUSE:Factory checked in at 2020-10-26 16:22:21

Comparing /work/SRC/openSUSE:Factory/python-gvm-tools (Old)
 and  /work/SRC/openSUSE:Factory/.python-gvm-tools.new.3463 (New)


Package is "python-gvm-tools"

Mon Oct 26 16:22:21 2020 rev:2 rq:844041 version:20.10.1

Changes:

--- /work/SRC/openSUSE:Factory/python-gvm-tools/python-gvm-tools.changes
2020-08-17 14:40:43.502590831 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-gvm-tools.new.3463/python-gvm-tools.changes  
2020-10-26 16:22:59.923257763 +0100
@@ -1,0 +2,28 @@
+Sun Oct 25 16:20:59 UTC 2020 - Martin Hauke 
+
+- Update to version 20.10.1
+  Changed
+  * Fixed send-schedule.gmp.py script, because 
+has been removed from Schedules, using instead.
+  * Fixed send-targets.gmp.py script, because alive_test needs to
+be from AliveTest enum in create_target function.
+  * Added gmpv20.08 support to the scan-new-system.gmp.py script,
+as create_target requires an argument port_range or
+port_list_id now.
+  * Using the --log argument is not casesensitive anymore. Use the
+lower-case or upper-case loglevel as the argument now.
+  Fixed
+  * Fixed the check-gmp.gmp.py script, as it was not compatible to
+Python 3.5 anymore.
+  * Fixed the check-gmp.gmp.py script: results have not been
+loaded with -F host -T task --status and probably some other
+cases. Added details=True to the command that requests the
+report.
+  * Fixed the pdf-report.gmp.py script. Joining the Content of the
+tag was not the correct way here ... we needed the tail of the
+ tag ...
+  Removed
+  * Removed gvm.version module in favor of using pontos.version
+- Temporary disable source verification (upstream messed it up)
+
+---

Old:

  gvm-tools-2.1.0.tar.gz
  gvm-tools-2.1.0.tar.gz.sig
  gvm-tools.keyring

New:

  gvm-tools-20.10.1.tar.gz



Other differences:
--
++ python-gvm-tools.spec ++
--- /var/tmp/diff_new_pack.XmwBGY/_old  2020-10-26 16:23:00.563258278 +0100
+++ /var/tmp/diff_new_pack.XmwBGY/_new  2020-10-26 16:23:00.567258281 +0100
@@ -20,14 +20,14 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-gvm-tools
-Version:2.1.0
+Version:20.10.1
 Release:0
 Summary:Tools to control a GSM/GVM over GMP or OSP
 License:GPL-3.0-or-later
 URL:https://github.com/greenbone/gvm-tools/
-Source: 
https://github.com/greenbone/gvm-tools/archive/v2.1.0.tar.gz#/gvm-tools-%{version}.tar.gz
-Source98:   
https://github.com/greenbone/gvm-tools/releases/download/v%{version}/gvm-tools-%{version}.tar.gz.sig
-Source99:   
https://www.greenbone.net/GBCommunitySigningKey.asc#/gvm-tools.keyring
+Source: 
https://github.com/greenbone/gvm-tools/archive/v%{version}.tar.gz#/gvm-tools-%{version}.tar.gz
+#Source98:   
https://github.com/greenbone/gvm-tools/releases/download/v%%{version}/v%%{version}.tar.gz.asc#/gvm-tools-%%{version}.tar.gz.sig
+#Source99:   
https://www.greenbone.net/GBCommunitySigningKey.asc#/gvm-tools.keyring
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-dephell-rpm-macros

++ gvm-tools-2.1.0.tar.gz -> gvm-tools-20.10.1.tar.gz ++
 1947 lines of diff (skipped)




commit python-gvm-tools for openSUSE:Factory

2020-08-17 Thread root
Hello community,

here is the log from the commit of package python-gvm-tools for 
openSUSE:Factory checked in at 2020-08-17 14:40:41

Comparing /work/SRC/openSUSE:Factory/python-gvm-tools (Old)
 and  /work/SRC/openSUSE:Factory/.python-gvm-tools.new.3399 (New)


Package is "python-gvm-tools"

Mon Aug 17 14:40:41 2020 rev:1 rq:827248 version:2.1.0

Changes:

New Changes file:

--- /dev/null   2020-08-06 00:20:10.149648038 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-gvm-tools.new.3399/python-gvm-tools.changes  
2020-08-17 14:40:43.502590831 +0200
@@ -0,0 +1,9 @@
+---
+Mon Aug 17 07:03:44 UTC 2020 - Tomáš Chvátal 
+
+- Fix signature verification by using github archive
+
+---
+Tue Aug 11 08:12:59 UTC 2020 - Martin Hauke 
+
+- Initial package, version 2.1.0

New:

  gvm-tools-2.1.0.tar.gz
  gvm-tools-2.1.0.tar.gz.sig
  gvm-tools.keyring
  python-gvm-tools.changes
  python-gvm-tools.spec



Other differences:
--
++ python-gvm-tools.spec ++
#
# spec file for package python-gvm-tools
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020, Martin Hauke 
#
# 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 https://bugs.opensuse.org/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name:   python-gvm-tools
Version:2.1.0
Release:0
Summary:Tools to control a GSM/GVM over GMP or OSP
License:GPL-3.0-or-later
URL:https://github.com/greenbone/gvm-tools/
Source: 
https://github.com/greenbone/gvm-tools/archive/v2.1.0.tar.gz#/gvm-tools-%{version}.tar.gz
Source98:   
https://github.com/greenbone/gvm-tools/releases/download/v%{version}/gvm-tools-%{version}.tar.gz.sig
Source99:   
https://www.greenbone.net/GBCommunitySigningKey.asc#/gvm-tools.keyring
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  python-dephell-rpm-macros
BuildRequires:  python-rpm-macros
Requires:   python-python-gvm >= 1.4.0
BuildArch:  noarch
# SECTION test requirements
BuildRequires:  %{python_module pytest}
BuildRequires:  %{python_module python-gvm >= 1.4.0}
# /SECTION
%python_subpackages

%description
The Greenbone Vulnerability Management Tools gvm-tools are a collection
of tools that help with remote controlling a Greenbone Security Manager
(GSM) appliance and its underlying Greenbone Vulnerability Manager (GVM).
The tools aid in accessing the communication protocols GMP (Greenbone
Management Protocol) and OSP (Open Scanner Protocol).

This module is comprised of interactive and non-interactive clients.
The programming language Python is supported directly for interactive
scripting. But it is also possible to issue remote GMP/OSP commands
without programming in Python.

%prep
%setup -q -n gvm-tools-%{version}
%dephell_gensetup

%build
%python_build

%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/gvm-cli
%python_clone -a %{buildroot}%{_bindir}/gvm-pyshell
%python_clone -a %{buildroot}%{_bindir}/gvm-script
# Remove tests from sitelib
%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%post
%python_install_alternative gvm-cli gvm-pyshell gvm-script

%postun
%python_uninstall_alternative gvm-cli gvm-pyshell gvm-script

%check
%pytest

%files %{python_files}
%license LICENSE
%doc README.md
%python_alternative %{_bindir}/gvm-cli
%python_alternative %{_bindir}/gvm-pyshell
%python_alternative %{_bindir}/gvm-script
%{python_sitelib}/*

%changelog