aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-pymisp_2.4.119.1.bb
blob: 995540d7c669cad9ca4728bccf4ead570be7d613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SUMMARY = "Python API for MISP"
DESCRIPTION = "PyMISP is a Python library to access MISP platforms via their \
REST API. \
\
PyMISP allows you to fetch events, add or update events/attributes, add or \
update samples or search for attributes."
HOMEPAGE = "https://github.com/MISP/PyMISP"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20"

SRC_URI[md5sum] = "57184785340e25469e4a80ff9ddce09e"
SRC_URI[sha256sum] = "594ea0a9e150052232425009eac6dd104a80f494d0e273cc48dd114d7ea8482b"

inherit pypi setuptools

RDEPENDS_${PN}_append_class-target = " \
    ${PYTHON_PN}-dateutil \
    ${PYTHON_PN}-json \
    ${PYTHON_PN}-jsonschema \
"

RDEPENDS_${PN} += "\
    ${PYTHON_PN}-cachetools \
    ${PYTHON_PN}-deprecated \
    ${PYTHON_PN}-requests \
    ${PYTHON_PN}-six \
"

PNBLACKLIST[python-pymisp] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"