mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-07 20:10:18 +02:00
58 lines
1.3 KiB
Bash
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
|
|
#}
|