dev-python/pyghidra: new package, add 3.2.0

Signed-off-by: Michal Andrzejczak <mit.mis@gmail.com>
This commit is contained in:
Michal Andrzejczak committed 2026-10-23 19:59:21 +02:00
1 parent d3697b91eb
commit 9e97577a5e
4 files changed
+54

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST pyghidra-3.2.0.tar.gz 54823 BLAKE2B 00a7da24dd69818b2cd475bbda2454b72dae21676fb47334b723d780cae9012ccfc9a65c0a60bc6e33d2ec8bd44740b03c272efed16127cd3791fe213b2a9de2 SHA512 858970452314e77e37e8670b68b6a2087f22f45c579be937f358c5349d869da2d53fd83b2e2931a1202f4e232bda8f4c0f09a7fd13d7217449a8d2a30ce9f2dd
@@ -0,0 +1,9 @@
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -194,4 +194,4 @@
- # Test to ensure _PyGhidraImportLoader is last loader
- assert isinstance(sys.meta_path[-1], pyghidra.launcher._PyGhidraImportLoader)
+ assert isinstance(sys.meta_path[-2], pyghidra.launcher._PyGhidraImportLoader)
+ assert isinstance(sys.meta_path[-1], pyghidra.launcher._GhidraBundleFinder)
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mit.mis@gmail.com</email>
<name>Michal Andrzejczak</name>
</maintainer>
<upstream>
<remote-id type="github">NationalSecurityAgency/ghidra</remote-id>
<remote-id type="pypi">pyghidra</remote-id>
</upstream>
</pkgmetadata>
+32
View File
@@ -0,0 +1,32 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..15} )
EPYTEST_PLUGINS=( pytest-datadir )
inherit distutils-r1 pypi
DESCRIPTION="Python interface to Ghidra through JPype"
HOMEPAGE="https://github.com/NationalSecurityAgency/ghidra/tree/master/Ghidra/Features/PyGhidra"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
PATCHES=( "${FILESDIR}/${P}-import-hook-test.patch" )
RDEPEND="
>=dev-python/jpype-1.7.1[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.16[${PYTHON_USEDEP}]
>=dev-util/ghidra-12.2
"
distutils_enable_tests pytest
python_test() {
GHIDRA_INSTALL_DIR="${EPREFIX}/opt/ghidra" epytest
}