mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 14:21:02 +02:00
pymisp: bump to 2.4.117 (update/add new deps)
This commit is contained in:
parent
21e4aed40b
commit
9026346f43
10 changed files with 133 additions and 60 deletions
|
|
@ -1,2 +1 @@
|
|||
DIST pymisp-2.4.111.tar.gz 1509543 BLAKE2B 6827b66290ccdd8bda38b48452f96bed555c52534c129e596a02606d466d1e193ef79ebd456eb3d33cc3d5cb2fcd52eac37f1691859045f33c3e35898325d970 SHA512 29b40df9224c7689129671a5b5195181b1aa65697b313866bd79073bc2b544149d44a633ecb88b8e487c2ca8cb0115915af33e7b41916c7bcc50c5f31a8c0a0e
|
||||
DIST pymisp-2.4.114.tar.gz 1541986 BLAKE2B c473e6ad4894bcfab99eb7f7aaa34e54e94d16a2d78c99e1b1156cf9db4cdb291015d618957ac80057a602630066c902468b1135b1017cfeb0652474432ab1dd SHA512 74a6df7a8ad1a15184011bda5360df1bc3f4c399e67aa5bc98771735cda7d865c6e9041c3b8bc2b72857cc2059fd5d355781363c65c83d0d61b0a562b1d4307e
|
||||
DIST pymisp-2.4.117.tar.gz 1608710 BLAKE2B 9417d2f21140533cae5459b402409a63728d72233c5e6ed3bff3017f4c26014ccb864df26e39991a5fa7acfe9c3fa6e7d5a883e673f98eebb105758481cc1eec SHA512 5c6ea5606ad027ab196ae1602ad8492ad74afbe76aeafa55f4a0661878c90ed2d22d5d5fea2167aa344756fef39e630e2422473b7c2c983a53306cdab418a4bb
|
||||
|
|
|
|||
|
|
@ -1,29 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_{5,6}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A python library for using the MISP Rest API"
|
||||
HOMEPAGE="https://github.com/MISP/PyMISP"
|
||||
SRC_URI="https://github.com/MISP/PyMISP/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~mips ~x86"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep 'dev-python/functools32[${PYTHON_USEDEP}]' python2_7)
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
|
||||
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}]"
|
||||
|
||||
S="${WORKDIR}"/PyMISP-${PV}
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_{5,6}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A python library for using the MISP Rest API"
|
||||
HOMEPAGE="https://github.com/MISP/PyMISP"
|
||||
SRC_URI="https://github.com/MISP/PyMISP/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~mips ~x86"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep 'dev-python/functools32[${PYTHON_USEDEP}]' python2_7)
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
|
||||
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}]"
|
||||
|
||||
S="${WORKDIR}/PyMISP-${PV}"
|
||||
63
dev-python/pymisp/pymisp-2.4.117.ebuild
Normal file
63
dev-python/pymisp/pymisp-2.4.117.ebuild
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} ) # TODO: add 3.7/3.8 support (python2_7 is deprecated)
|
||||
|
||||
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}
|
||||
$(python_gen_cond_dep 'dev-python/functools32[${PYTHON_USEDEP}]' python2_7)
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
|
||||
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
|
||||
}
|
||||
1
dev-python/sphinx-autodoc-typehints/Manifest
Normal file
1
dev-python/sphinx-autodoc-typehints/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST sphinx-autodoc-typehints-1.8.0.tar.gz 14730 BLAKE2B 8653525770d8df8733919e448df89f665cf8be9317007b5870217c89ad9eb0d6fddf9e339d43d4a79ca57cd4fa9a9b61bf1f81c21b4c2961119bb4cd99300fa9 SHA512 0ae75d68efd8477b48161b72032dcd36ee607fd9a8bec43017bbba9364314c94225137bf3c3bb0be2dba7cf2f11ff85c49fd426e68a3becad4a3537c4d8b1a31
|
||||
8
dev-python/sphinx-autodoc-typehints/metadata.xml
Normal file
8
dev-python/sphinx-autodoc-typehints/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Type hints (PEP 484) support for the Sphinx autodoc extension"
|
||||
HOMEPAGE="https://github.com/agronholm/sphinx-autodoc-typehints"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
1
dev-python/validators/Manifest
Normal file
1
dev-python/validators/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST validators-0.14.0.tar.gz 25442 BLAKE2B e4c159afd24b33bd91ea59ca00254712cf69f9a4d180dd794f9b142a372bfd1695cebe7b49585a6b7eb8ea8290499e0138151a3e7a5693db187d8ad2bb520c9e SHA512 ec9153cb817f25e40221502484cdbdb9cf1566fe8445f7b822d4a80325154aca5a665be452f6251351682d36167c5a6bb02c3259d6067f4f51fa1d01aaa44a4e
|
||||
8
dev-python/validators/metadata.xml
Normal file
8
dev-python/validators/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
32
dev-python/validators/validators-0.14.0.ebuild
Normal file
32
dev-python/validators/validators-0.14.0.ebuild
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python Data Validation for Humans"
|
||||
HOMEPAGE="https://github.com/kvesteri/validators"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/decorator[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
test? ( ${RDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/flake8[${PYTHON_USEDEP}]
|
||||
dev-python/isort[${PYTHON_USEDEP}] )"
|
||||
|
||||
src_test() {
|
||||
pytest -vv || die "tests failed"
|
||||
}
|
||||
Loading…
Reference in a new issue