dev-python/pyghidra - 3.2.0 (guru)

Search

Install

Install this version:

emerge -a =dev-python/pyghidra-3.2.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/pyghidra-3.2.0

Or alternatively:

emerge --autounmask-write -a =dev-python/pyghidra-3.2.0

Package Information

Description:
Python interface to Ghidra through JPype
Homepage:
https://github.com/NationalSecurityAgency/ghidra/tree/master/Ghidra/Features/PyGhidra
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
3.2.0 8 ~amd64 0
View Raw Ebuild
# 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() {
	XDG_CONFIG_HOME="${T}" \
		XDG_STATE_HOME="${T}" \
		GHIDRA_INSTALL_DIR="${EPREFIX}/opt/ghidra" epytest
}

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/jpype-1.7.1[]
	dev-python/packaging[]
	>=dev-python/typing-extensions-4.16[]
	>=dev-util/ghidra-12.2