pentoo-overlay/dev-python/pymisp/pymisp-2.5.17.1.ebuild
2026-05-06 02:34:33 +02:00

58 lines
1.3 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="A python library for using the MISP Rest API"
HOMEPAGE="https://github.com/MISP/PyMISP"
KEYWORDS="amd64 ~arm64 x86"
LICENSE="BSD"
SLOT="0"
distutils_enable_sphinx "docs/source" dev-python/sphinx-autodoc-typehints dev-python/myst-parser
#RESTRICT="test"
#RDEPEND="
# >=dev-python/deprecated-1.2.13[${PYTHON_USEDEP}]
# >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
# >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
# >=dev-python/requests-2.26.0[${PYTHON_USEDEP}]
#"
#
#DEPEND="
# test? (
# dev-python/python-magic
# dev-python/requests-mock )"
#src_test() {
# FIXME (20191022-2.4.117): maybe it wrong i dont know
# test_object_level_tag (tests.test_mispevent.TestMISPEvent) ...
# skipped 'Not supported on MISP: https://github.com/MISP/MISP/issues/2638 - https://github.com/MISP/PyMISP/issues/168'
# esetup.py test || die
#}
#distutils_enable_tests pytest
#src_install() {
# distutils-r1_src_install
#
# if use doc; then
# pushd docs/ >/dev/null || die
#
##unable to reproduce
## emake -j1 man html
#
# doman build/man/pymisp.1
# dodoc -r build/html
#
# popd >/dev/null || die
# fi
#}