14
0

Accepting request 733765 from home:mnhauke

- Update to version 0.4.2.11
  * Added option to use ujson in tshark 2.6+
  * Bugfix when parsing multiple InMemCapture packets
  * Removed logbook, using builtin logging instead
  * Enabled setting debug in Capture init
  * Added lazy feature in JSON object to convert showname field
    keys to normal keys
  * Bugfix for InMem json capture
  * Fixed tests
- Test "inmem_capture" is broken and needs to be addressed upstream.
  -> disable this test for now

OBS-URL: https://build.opensuse.org/request/show/733765
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyshark?expand=0&rev=4
This commit is contained in:
Tomáš Chvátal
2019-09-28 05:51:13 +00:00
committed by Git OBS Bridge
parent 3ea77f076e
commit 2c66b2ea7c
4 changed files with 22 additions and 6 deletions

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Sep 27 22:08:09 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.4.2.11
* Added option to use ujson in tshark 2.6+
* Bugfix when parsing multiple InMemCapture packets
* Removed logbook, using builtin logging instead
* Enabled setting debug in Capture init
* Added lazy feature in JSON object to convert showname field
keys to normal keys
* Bugfix for InMem json capture
* Fixed tests
- Test "inmem_capture" is broken and needs to be addressed upstream.
-> disable this test for now
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 27 00:49:53 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Tue Aug 27 00:49:53 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-pyshark Name: python-pyshark
Version: 0.4.2.3 Version: 0.4.2.11
Release: 0 Release: 0
Summary: A Python wrapper for tshark output parsing Summary: A Python wrapper for tshark output parsing
License: MIT License: MIT
@@ -28,7 +28,6 @@ Group: Development/Languages/Python
URL: https://github.com/KimiNewt/pyshark URL: https://github.com/KimiNewt/pyshark
#Git-Clone: https://github.com/KimiNewt/pyshark.git #Git-Clone: https://github.com/KimiNewt/pyshark.git
Source: https://github.com/KimiNewt/pyshark/archive/v%{version}.tar.gz Source: https://github.com/KimiNewt/pyshark/archive/v%{version}.tar.gz
BuildRequires: %{python_module Logbook}
BuildRequires: %{python_module lxml} BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module py} BuildRequires: %{python_module py}
@@ -36,7 +35,6 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: wireshark BuildRequires: wireshark
Requires: python-Logbook
Requires: python-lxml Requires: python-lxml
Requires: python-py Requires: python-py
Requires: wireshark Requires: wireshark
@@ -58,6 +56,8 @@ wireshark dissectors.
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
# test "inmem_capture" needs to be fixed upstream, do not run it for now
rm -f ../tests/capture/test_inmem_capture.py
%pytest ../tests %pytest ../tests
%files %{python_files} %files %{python_files}

3
v0.4.2.11.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4359fddaeca04e1b36b2ec1b5c4a61240852b608c57c815cc891f6c4c15c974a
size 29876

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60707ba7a7216a56c5048cfcc0812ce9242f8e685492143a708fec977d25aa48
size 29363