dev-util/qiling - 9999 (hamari)

Search

Install

Install this version:

emerge -a =dev-util/qiling-9999

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

autounmask =dev-util/qiling-9999

Or alternatively:

emerge --autounmask-write -a =dev-util/qiling-9999

Package Information

Description:
Advanced binary emulation framework
Homepage:
https://qiling.io/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1

DESCRIPTION="Advanced binary emulation framework"
HOMEPAGE="https://qiling.io/"

if [[ ${PV} == "9999" ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/qilingframework/${PN}.git"
else
	SRC_URI="https://github.com/qilingframework/qiling/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
	KEYWORDS="~amd64"
fi

LICENSE="GPL-2"
SLOT="0"
IUSE="examples"

RESTRICT="test"

RDEPEND="
	>=dev-libs/capstone-4.0.1[python,${PYTHON_USEDEP}]
	>=dev-libs/keystone-0.9.2[python,${PYTHON_USEDEP}]
	>=dev-util/unicorn-2.1.2[python,${PYTHON_USEDEP}]
	>=dev-python/gevent-20.9.0[${PYTHON_USEDEP}]
	>=dev-python/multiprocess-0.70.12.2[${PYTHON_USEDEP}]
	>=dev-python/pefile-2022.5.30[${PYTHON_USEDEP}]
	>=dev-python/pyelftools-0.28[${PYTHON_USEDEP}]
	>=dev-python/python-registry-1.3.1[${PYTHON_USEDEP}]
	>=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
"

python_install_all() {
	distutils-r1_python_install_all

	if use examples; then
		insinto "/usr/share/${PN}"
		doins -r "${S}/examples"
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-util/qiling | euse -E <flag> -p dev-util/qiling | euse -D <flag> -p dev-util/qiling

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-libs/capstone-4.0.1[python,]
	>=dev-libs/keystone-0.9.2[python,]
	>=dev-util/unicorn-2.1.2[python,]
	>=dev-python/gevent-20.9.0[]
	>=dev-python/multiprocess-0.70.12.2[]
	>=dev-python/pefile-2022.5.30[]
	>=dev-python/pyelftools-0.28[]
	>=dev-python/python-registry-1.3.1[]
	>=dev-python/pyyaml-6.0.1[]