pentoo-overlay/dev-python/frida-python/frida-python-16.0.4-r1.ebuild
2023-03-20 10:25:04 +08:00

32 lines
778 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
MY_PN="frida"
DESCRIPTION="Dynamic instrumentation toolkit for reverse-engineers and security researchers"
HOMEPAGE="https://github.com/frida/frida"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
LICENSE="wxWinLL-3.1"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
RDEPEND="~dev-libs/frida-core-${PV}"
DEPEND="${PYTHON_DEPS}"
# The QA_WX error is due to frida-core pre-build lib
QA_PREBUILT="usr/lib/python*/site-packages/_frida.abi3.so"
S="${WORKDIR}/${MY_PN}-${PV}"
python_compile() {
export FRIDA_CORE_DEVKIT="/usr/lib64/"
distutils-r1_python_compile
}