forked from pool/python-pyshark
Accepting request 1136295 from devel:languages:python
- update to 0.6: * Dropped support for Python 3.5/3.6 * Fix elastic mapping for new Wireshark 4 * Accepting rpcap:// as a valid interface name * Add args and kwargs to RemoteCapture __init__ * Replace py dependency with termcolor. * Unicode support added to correct issue617 * Make packet layer names case-insensitive for backward compatibility with v0.4.6 - update to 0.5.3: * EK Bugfixes version * Fix LiveRingCapture params. - update to 0.5.2: * Add some params for LiveRingCapture. * EK Layer now supports "payload"-type fields by casting to bytes. * EK Layer has new "get_field_as_list" function to assist with getting fields that may appear once or more * Fixed issues with printing boolean fields in EK layer. * Fixed verification of capture interface on LiveCapture. - update to 0.5: * New EK parsing mode, allowing faster and easier use than the regular JSON mode which will likely be eventually deprecated. * Support typing in EK mode. * Checking file permissions in FileCapture * Show tshark error in crash exception * Verify capture settings before starting capture * Fix path when user provides `tshark_path` using `LiveCapture`. * Fix some tshark_path problems. OBS-URL: https://build.opensuse.org/request/show/1136295 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyshark?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,38 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 2 21:36:58 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.6:
|
||||||
|
* Dropped support for Python 3.5/3.6
|
||||||
|
* Fix elastic mapping for new Wireshark 4
|
||||||
|
* Accepting rpcap:// as a valid interface name
|
||||||
|
* Add args and kwargs to RemoteCapture __init__
|
||||||
|
* Replace py dependency with termcolor.
|
||||||
|
* Unicode support added to correct issue617
|
||||||
|
* Make packet layer names case-insensitive for backward
|
||||||
|
compatibility with v0.4.6
|
||||||
|
- update to 0.5.3:
|
||||||
|
* EK Bugfixes version
|
||||||
|
* Fix LiveRingCapture params.
|
||||||
|
- update to 0.5.2:
|
||||||
|
* Add some params for LiveRingCapture.
|
||||||
|
* EK Layer now supports "payload"-type fields by casting to
|
||||||
|
bytes.
|
||||||
|
* EK Layer has new "get_field_as_list" function to assist with
|
||||||
|
getting fields that may appear once or more
|
||||||
|
* Fixed issues with printing boolean fields in EK layer.
|
||||||
|
* Fixed verification of capture interface on LiveCapture.
|
||||||
|
- update to 0.5:
|
||||||
|
* New EK parsing mode, allowing faster and easier use than the
|
||||||
|
regular JSON mode which will likely be eventually deprecated.
|
||||||
|
* Support typing in EK mode.
|
||||||
|
* Checking file permissions in FileCapture
|
||||||
|
* Show tshark error in crash exception
|
||||||
|
* Verify capture settings before starting capture
|
||||||
|
* Fix path when user provides `tshark_path` using
|
||||||
|
`LiveCapture`.
|
||||||
|
* Fix some tshark_path problems.
|
||||||
|
* Fix Windows eventloop-related issues
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 18 17:40:17 UTC 2022 - Martin Hauke <mardnh@gmx.de>
|
Sat Jun 18 17:40:17 UTC 2022 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyshark
|
# spec file for package python-pyshark
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
# Copyright (c) 2019-2022, Martin Hauke <mardnh@gmx.de>
|
# Copyright (c) 2019-2022, Martin Hauke <mardnh@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -17,10 +17,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?sle15_python_module_pythons}
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-pyshark
|
Name: python-pyshark
|
||||||
Version: 0.4.6
|
Version: 0.6
|
||||||
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,15 +27,21 @@ 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 appdirs}
|
||||||
BuildRequires: %{python_module lxml}
|
BuildRequires: %{python_module lxml}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module py}
|
BuildRequires: %{python_module py}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module termcolor}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: wireshark
|
BuildRequires: wireshark
|
||||||
|
Requires: python-appdirs
|
||||||
Requires: python-lxml
|
Requires: python-lxml
|
||||||
Requires: python-py
|
Requires: python-py
|
||||||
|
Requires: python-termcolor
|
||||||
Requires: wireshark
|
Requires: wireshark
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -49,20 +54,21 @@ wireshark dissectors.
|
|||||||
%setup -q -n pyshark-%{version}/src
|
%setup -q -n pyshark-%{version}/src
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%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
|
# test "inmem_capture" needs to be fixed upstream, do not run it for now
|
||||||
rm -f ../tests/capture/test_inmem_capture.py
|
rm -f ../tests/capture/test_inmem_capture.py ../tests/capture/test_live_capture.py
|
||||||
%pytest ../tests
|
%pytest ../tests
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license ../LICENSE.txt
|
%license ../LICENSE.txt
|
||||||
%doc ../README.md
|
%doc ../README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pyshark
|
||||||
|
%{python_sitelib}/pyshark-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1b97219c985d7ff41572f641031d6888a5c5692eed910b1758e8b278a3b4b274
|
|
||||||
size 31100
|
|
3
v0.6.tar.gz
Normal file
3
v0.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:097707f0de33edf6209635cb7b63c6ca62ba3504b1be6a15a65fc984cabb8672
|
||||||
|
size 44227
|
Reference in New Issue
Block a user