dev-python/pymisp: bump to 2.4.124

This commit is contained in:
Yury Martynov 2020-04-01 10:11:38 +03:00
parent c4add12d47
commit 238805b0f2
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
2 changed files with 62 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST pymisp-2.4.117.tar.gz 1608710 BLAKE2B 9417d2f21140533cae5459b402409a63728d72233c5e6ed3bff3017f4c26014ccb864df26e39991a5fa7acfe9c3fa6e7d5a883e673f98eebb105758481cc1eec SHA512 5c6ea5606ad027ab196ae1602ad8492ad74afbe76aeafa55f4a0661878c90ed2d22d5d5fea2167aa344756fef39e630e2422473b7c2c983a53306cdab418a4bb
DIST pymisp-2.4.122.tar.gz 213426 BLAKE2B bd15b586ca866011d724dbf384c9c2751e2d62277e014c106de2655ebb63a486894f86d5cd5e7d6ab0e3dfaef02641390024067ed6f4f675bb735ecee4349e9a SHA512 64b563cedcc0373af25469a05b476f64ae74f2ffe99264e5c392b8be04f0c5d02c7e421d6364cea764e354aa0aa1454c45bf920d1493aac14f4d67eca544b60b
DIST pymisp-2.4.124.tar.gz 243210 BLAKE2B 2c0af2f9d14be90a3d8d5509b81fcb1b7220fdca2ce8ba2e55d95f0c7ecd7dca21d05002d2fc843376034798a9840ea8870044b4fc94632c491c272c53e2026c SHA512 8895941883077fd2490e3a1749e977cb309d8a2e6d9899df5fac05b116e9fdb1003d3648fed3e15efca63626cd42e5aa8530698a2722ce2b85825459331b1946

View file

@ -0,0 +1,61 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="A python library for using the MISP Rest API"
HOMEPAGE="https://github.com/MISP/PyMISP"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~mips ~x86"
LICENSE="BSD"
SLOT="0"
IUSE="doc test"
CDEPEND="${PYTHON_DEPS}"
RDEPEND="${CDEPEND}
dev-python/requests[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/py2neo[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/reportlab[${PYTHON_USEDEP}]
dev-python/deprecated[${PYTHON_USEDEP}]
dev-python/cachetools[${PYTHON_USEDEP}]
dev-python/validators[${PYTHON_USEDEP}]"
DEPEND="${CDEPEND}
doc? (
dev-python/sphinx
dev-python/sphinx-autodoc-typehints
dev-python/recommonmark )
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
}
src_install() {
distutils-r1_src_install
if use doc; then
pushd docs/ >/dev/null || die
emake -j1 man html
doman build/man/pymisp.1
dodoc -r build/html
popd >/dev/null || die
fi
}