mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
Merge pull request #2759 from rick-gnous/pymisp
Update neo4j and pymisp, drop py2neo
This commit is contained in:
commit
33c89adc5c
12 changed files with 82 additions and 220 deletions
|
|
@ -1,3 +1,4 @@
|
|||
DIST neo4j-4.2.1.tar.gz 69516 BLAKE2B a3143706ccc0007ed0827940f1cbc80a3ca0ce97e9b61b792d6ba3d56ea4a3279ec8fce0a1597ad14dcbc7004f52516799b83a7d205cc46ee8bec87ba76ecb6e SHA512 57ab046dd3d00b3c3a515955ca24bbcb5b6723799e3e81a3be6875164e3ccb23286170c2ad2f823d4ffef3ca9c71d3bbbe2d69b8136f0507ef9224fcf9bb8015
|
||||
DIST neo4j-5.22.0.tar.gz 214987 BLAKE2B 4ec8f0cc4ded95ff038a626f1358362fc2dc8021f4fdc1e2ad656bb318f08fe5e9de771ca2c89133ef37d9afdc79363ed1874ece9e1f2d6662a4e0873f2c1750 SHA512 a7aa6dc759acae0e0e303c2014643ec811e7795acb80d15422eb09782e4fa69513b0cb6002f1eee1b493dc51796b01498913ba035b1bc0cbf088713d462b8ef0
|
||||
DIST neo4j-5.28.1.tar.gz 231094 BLAKE2B 2febaa70b7929a047ff577a6ce87ea22d46f238273ad83a0fecaebde7f4d8119dba456832348f52e3127d65909d1667fb4aaacfb335926736d9401a1e748af00 SHA512 c4023b1e1f3c86e774807767b79a0472ccabd9a8f88b63b9874c0cfde881ae930245d3886def1cb330bc5e70e9b7b0fbd1a4e2e2c7d2c70e5db824cd6f08fba3
|
||||
DIST neo4j-6.2.0.tar.gz 241459 BLAKE2B 42f739c70bff6ff652f6607ead0b00464b4c72d9e1e7893582a64cb8f4e2369455270f323cfa7241d81ff161e4e27feb65125e93f91fa1a050fbcbabdfe46890 SHA512 038f894f713f970a21fa27513e8908c04180b8837a87443aa52ad89a00bfcf3da14a2dda945266ba935cc9fb9b9f429098f2f79d74f1abf7611880ff4513c720
|
||||
|
|
|
|||
26
dev-python/neo4j/neo4j-6.2.0.ebuild
Normal file
26
dev-python/neo4j/neo4j-6.2.0.ebuild
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Neo4j Bolt driver for Python"
|
||||
HOMEPAGE="https://github.com/neo4j/neo4j-python-driver"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.21.2[${PYTHON_USEDEP}]
|
||||
<dev-python/numpy-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pandas-1.1.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pandas-4.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyarrow-6.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pyarrow-25.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
DIST py2neo-3.1.2.tar.gz 100101 BLAKE2B e3339049ce112ce2d952af130aa612ea8c810dafd77f58178bc5bacc743dd384113a56a34f99c1c6ca6f6af07311a608104bb2ce787285ce4d97ca57834ad7e1 SHA512 1f61e1129effe5e77b72955b34726cde668eeb3f3627a1164b40593ad863ae4f19d534f7174742eccae58d770f5e54d907346bef698d98c33e3f3837e70659d4
|
||||
DIST py2neo-4.3.0.tar.gz 71674 BLAKE2B 147f32fdbd18945b63d32583874dce3cf8a804fbdb464fc7613fa18759d64c153a5ba40dea310f53ac705f3489c82a350c06e5d8365c027414dda11870612775 SHA512 7e23e20be04dcccfc5b1d9fd3bfacb81f0bc48536b123ca6b5b3e293054ee0542cce57ef5666476933cbd97c8bebbe765cf0d9fce2ea9cdeb1028912af1ac2c5
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
diff -ur a/setup.py b/setup.py
|
||||
--- a/setup.py 2019-05-09 18:53:05.000000000 +0300
|
||||
+++ b/setup.py 2020-04-12 17:26:36.746264784 +0300
|
||||
@@ -49,17 +49,6 @@
|
||||
},
|
||||
"packages": packages,
|
||||
"py_modules": [],
|
||||
- "install_requires": [
|
||||
- "certifi",
|
||||
- "click==7.0",
|
||||
- "colorama",
|
||||
- "neobolt~=1.7.12",
|
||||
- "neotime~=1.7.4",
|
||||
- "prompt_toolkit~=2.0.7",
|
||||
- "pygments~=2.3.1",
|
||||
- "pytz",
|
||||
- "urllib3<1.25,>=1.23",
|
||||
- ],
|
||||
"extras_require": {
|
||||
},
|
||||
"license": __license__,
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
<?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>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">py2neo</remote-id>
|
||||
<remote-id type="github">nigelsmall/py2neo</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A simple and pragmatic library which accesses the Neo4j graph database"
|
||||
HOMEPAGE="https://py2neo.org/v3/"
|
||||
SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A simple and pragmatic library which accesses the Neo4j graph database"
|
||||
HOMEPAGE="https://py2neo.org/v4/"
|
||||
SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/neobolt[${PYTHON_USEDEP}]
|
||||
dev-python/neotime[${PYTHON_USEDEP}]
|
||||
dev-python/prompt-toolkit[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/flask[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}_update_setup_py.patch" )
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
|
@ -1,2 +1 @@
|
|||
DIST pymisp-2.4.124.tar.gz 243210 BLAKE2B 2c0af2f9d14be90a3d8d5509b81fcb1b7220fdca2ce8ba2e55d95f0c7ecd7dca21d05002d2fc843376034798a9840ea8870044b4fc94632c491c272c53e2026c SHA512 8895941883077fd2490e3a1749e977cb309d8a2e6d9899df5fac05b116e9fdb1003d3648fed3e15efca63626cd42e5aa8530698a2722ce2b85825459331b1946
|
||||
DIST pymisp-2.4.152.tar.gz 338832 BLAKE2B f6effc007bbb08060a0b166fa92a087c781adba647e99b014b38d46727ebec4043b9a2b212017ac5f6bb2cfbb03b99935e2f926861a2c21759fa1bb0d1c91752 SHA512 415ca45e3c5c9470c0bb45511243a8ba4226933b2b245296e2b94dd94af646f7a44111393d917dac1babd94dd596b5eb0d23af0f7f94c0a6752cf298144450e9
|
||||
DIST pymisp-2.5.34.1.tar.gz 2071382 BLAKE2B b884a49419daeb189f822b21eea1dbf94d766a3827ef8f9f810187c81b59ec9c8f1d6fb25252bfefc98120626f99120c6977ced2807e509512df877195d5551c SHA512 c455a160f3c961c6ae7a6125a65f062024c1fd6e2119ceaf9dcc02088436d3e66e0091a144c7d57d579a370698158339bd0bc5c00069c8c409c96d24dafb3222
|
||||
|
|
|
|||
|
|
@ -5,4 +5,8 @@
|
|||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">MISP/PyMISP</remote-id>
|
||||
<remote-id type="pypi">pymisp</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
|||
|
|
@ -1,63 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
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/beautifulsoup4[${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
|
||||
|
||||
#unable to reproduce
|
||||
# emake -j1 man html
|
||||
|
||||
doman build/man/pymisp.1
|
||||
dodoc -r build/html
|
||||
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
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 ~arm64 x86"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
RESTRICT="test"
|
||||
|
||||
CDEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=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="${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
|
||||
#}
|
||||
|
||||
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
|
||||
}
|
||||
50
dev-python/pymisp/pymisp-2.5.34.1.ebuild
Normal file
50
dev-python/pymisp/pymisp-2.5.34.1.ebuild
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Copyright 1999-2026 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"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=app-forensics/oletools-0.60.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/deprecated-1.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/neo4j-6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/reportlab-4.4.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.33.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-2.6.3[brotli,${PYTHON_USEDEP}]
|
||||
>=dev-python/validators-0.35.0[${PYTHON_USEDEP}]
|
||||
>=dev-util/lief-0.17.6[python]
|
||||
"
|
||||
|
||||
# missing packages to have more functionnalities.
|
||||
# pure-magic-rs
|
||||
# pydeep2
|
||||
# beautifulsoup4
|
||||
# pyfaup-rs
|
||||
# extract_msg
|
||||
# RTFDE
|
||||
|
||||
distutils_enable_sphinx "docs/source" dev-python/sphinx-autodoc-typehints dev-python/myst-parser
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
tests/test_emailobject.py
|
||||
tests/test_fileobject.py
|
||||
)
|
||||
|
||||
# try to pull font from github
|
||||
EPYTEST_DESELECT=(
|
||||
tests/test_reportlab.py::TestPDFExport::test_utf
|
||||
tests/test_reportlab.py::TestPDFExport::test_utf_heavy
|
||||
)
|
||||
Loading…
Reference in a new issue