- update to version 2.4.170.2:

- update to version 2.4.170.1:
 - Changes
   - Disable fail fast in GHA.
 - Fix
   - Update lief code to v0.13.
- update to version 2.4.170:
 - Changes
 - Other
   - Add: support breakOnDuplicate option for attributes:add()
   - Update reportlab_generator.py.
- update to version 2.4.169.3:
 - Changes
 - Fix
   - Invalid check if taxo is enabled.
- update to version 2.4.169.2:
 - Changes
   - Include event reports by default in feed.
 - Fix
   - Use proper parameter to trigger the request in search_galaxy_clusters.
    
   - Use POST in search galaxy cluster.
 - Other
   - Rename include_event_reports kwarg to with_event_reports, in-line with
     other kwarg naming.
   - Add kwarg to allow the inclusion of event reports into to_feed(),
     honour with_distribution and valid_distributions kwargs.
- update to version 2.4.169.1:
 - Changes
   - Add greynoise-ip object.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymisp?expand=0&rev=107
This commit is contained in:
2023-08-12 06:30:21 +00:00
committed by Git OBS Bridge
parent f4c1b3afe4
commit 42729f2dbd
6 changed files with 981 additions and 891 deletions

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eee9ab342e46d5824e88ec925df00289debf6931d35ffa0b3359a30ce98c5694
size 219220
oid sha256:a97710e7d50e2beb689f9dc8ac0d7655520a79fea7fbfabc8d197d3b48009e92
size 232676

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6df2859b453b4b73461c7a415d694dbb46ee0a94625a1139ee98c03a063a6db9
size 1837263

View File

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

File diff suppressed because it is too large Load Diff

View File

@@ -16,11 +16,10 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define misp_objects_revision 66a9b8eee70ce3ac7ff5f2225cd7f78fe4630143
%define misp_objects_revision 45bb7539a0067e23b709d082c18dcba56c34bfce
Name: python-pymisp
Version: 2.4.166
Version: 2.4.170.2
Release: 0
Summary: Python API for MISP
License: BSD-2-Clause
@@ -34,37 +33,48 @@ Source1: https://github.com/MISP/misp-objects/archive/%{misp_objects_revi
# packaging tool
Source2: update-misp-objects.sh
Source3: python-pymisp-doc-rpmlintrc
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-jsonschema
Requires: python-oletools
Requires: python-python-dateutil
Requires: python-requests
Requires: python-jsonschema >= 4.18.4
Recommends: python-oletools
Requires: python-Deprecated >= 1.2.14
Requires: python-python-dateutil >= 2.8.2
Requires: python-requests >= 2.31.0
Recommends: %{name}-doc
Recommends: python-extract-msg >= 0.28.0
Recommends: python-magic
Recommends: python-magic >= 0.4.27
Recommends: python-reportlab
Recommends: python3-beautifulsoup4 >= 4.12.2
Recommends: python3-publicsuffixlist
Recommends: python3-urllib3
Recommends: python3-validators >= 0.20.0
Suggests: python-pydeep
# Other optional requirements which are unavailable in Tumbleweed
#extract_msg = {version = "^0.42.1", optional = true}
#RTFDE = {version = "^0.1.0", optional = true}
#pydeep2 = {version = "^0.5.1", optional = true}
#lief = {version = "^0.13.2", optional = true}
#pyfaup = {version = "^1.2", optional = true}
BuildArch: noarch
# SECTION tests
BuildRequires: %{python_module Deprecated}
BuildRequires: %{python_module jsonschema}
BuildRequires: %{python_module Deprecated >= 1.2.14}
BuildRequires: %{python_module jsonschema >= 4.18.4}
BuildRequires: %{python_module oletools}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module python-magic}
BuildRequires: %{python_module python-dateutil >= 2.8.2}
BuildRequires: %{python_module python-magic >= 0.4.27}
BuildRequires: %{python_module reportlab}
BuildRequires: %{python_module requests >= 2.31.0}
BuildRequires: %{python_module requests-mock}
BuildRequires: %{python_module requests}
# /SECTION
# SECTION docs
BuildRequires: python3-CommonMark
BuildRequires: python3-Sphinx
BuildRequires: python3-recommonmark
BuildRequires: python3-recommonmark >= 0.7.1
BuildRequires: python3-sphinx-autodoc-typehints
# /SECTION
Requires: python-Deprecated
%python_subpackages
%package -n %{name}-doc
@@ -107,7 +117,8 @@ rm tests/test_emailobject.py
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pymisp/
%{python_sitelib}/pymisp-%{version}*-info
%files -n %{name}-doc
%doc examples docs/build/html

View File

@@ -2,7 +2,8 @@
version=$(awk '/^Version:/ {print $2}' python-pymisp.spec)
echo "Detected version $version"
revision=$(wget "https://github.com/MISP/PyMISP/tree/v$version/pymisp/data" -O - | awk '/\/MISP\/misp-objects\/tree\//' | egrep -o "[[:alnum:]]{40}")
revision=$(wget "https://github.com/MISP/PyMISP/tree/v$version/pymisp/data" -O - | awk '/\/MISP\/misp-objects\/tree\//' | grep -Eo 'misp-objects/tree/[[:alnum:]]{40}' | egrep -Eo "[[:alnum:]]{40}")
echo "Detected revision $revision"
sed -i "s/^\%define misp_objects_revision.*$/%define misp_objects_revision $revision/" python-pymisp.spec
rm misp-objects.tar.gz
osc service runall download_files