diff options
author | John Helmert III <ajak@gentoo.org> | 2022-09-09 11:27:14 -0500 |
---|---|---|
committer | John Helmert III <ajak@gentoo.org> | 2022-09-09 12:22:52 -0500 |
commit | 0aa3628907fb7d42a13e60a98fa75e3bdee9d743 (patch) | |
tree | 5addd3f8f610e0efb50fde40adf30134e26d7b1d /dev-util | |
parent | dev-util/rizin: stabilize 0.4.0-r1 for amd64 (diff) | |
download | gentoo-0aa3628907fb7d42a13e60a98fa75e3bdee9d743.tar.gz gentoo-0aa3628907fb7d42a13e60a98fa75e3bdee9d743.tar.bz2 gentoo-0aa3628907fb7d42a13e60a98fa75e3bdee9d743.zip |
dev-util/rizin: drop 0.4.0
Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/rizin/rizin-0.4.0.ebuild | 94 |
1 files changed, 0 insertions, 94 deletions
diff --git a/dev-util/rizin/rizin-0.4.0.ebuild b/dev-util/rizin/rizin-0.4.0.ebuild deleted file mode 100644 index 5f19fe3d4b47..000000000000 --- a/dev-util/rizin/rizin-0.4.0.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -# This is the commit that the CI for the release commit used -BINS_COMMIT="64a6f26369bf5893ecc20cb8984a5ad506ef8566" - -inherit meson python-any-r1 - -DESCRIPTION="reverse engineering framework for binary analysis" -HOMEPAGE="https://rizin.re/" - -SRC_URI="mirror+https://github.com/rizinorg/rizin/releases/download/v${PV}/rizin-src-v${PV}.tar.xz - test? ( https://github.com/rizinorg/rizin-testbins/archive/${BINS_COMMIT}.tar.gz -> rizin-testbins-${BINS_COMMIT}.tar.gz )" -KEYWORDS="amd64 ~arm64 ~x86" - -LICENSE="Apache-2.0 BSD LGPL-3 MIT" -SLOT="0/${PV}" -IUSE="test" - -# Need to audit licenses of the binaries used for testing -RESTRICT="fetch !test? ( test )" - -RDEPEND=" - sys-apps/file - app-arch/lz4:0= - <dev-libs/capstone-5:0= - dev-libs/libuv:0= - dev-libs/libzip:0= - dev-libs/openssl:0= - >=dev-libs/tree-sitter-0.19.0 - dev-libs/xxhash - sys-libs/zlib:0= -" -DEPEND="${RDEPEND}" -BDEPEND="${PYTHON_DEPS}" - -PATCHES=( - "${FILESDIR}/${PN}-0.4.0-never-rebuild-parser.patch" -) - -S="${WORKDIR}/${PN}-v${PV}" - -src_prepare() { - default - - local py_to_mangle=( - librz/core/cmd_descs/cmd_descs_generate.py - subprojects/lz4-1.9.3/contrib/meson/meson/GetLz4LibraryVersion.py - subprojects/lz4-1.9.3/contrib/meson/meson/InstallSymlink.py - subprojects/lz4-1.9.3/tests/test-lz4-list.py - subprojects/lz4-1.9.3/tests/test-lz4-speed.py - subprojects/lz4-1.9.3/tests/test-lz4-versions.py - sys/clang-format.py - test/fuzz/scripts/fuzz_rz_asm.py - test/scripts/gdbserver.py - ) - - python_fix_shebang "${py_to_mangle[@]}" - - if use test; then - cp -r "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}/test/bins" || die - cp -r "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}" || die - fi -} - -src_configure() { - local emesonargs=( - -Dcli=enabled - -Duse_sys_capstone=enabled - -Duse_sys_magic=enabled - -Duse_sys_libzip=enabled - -Duse_sys_zlib=enabled - -Duse_sys_lz4=enabled - -Duse_sys_xxhash=enabled - -Duse_sys_openssl=enabled - -Duse_sys_tree_sitter=enabled - - $(meson_use test enable_tests) - $(meson_use test enable_rz_test) - ) - meson_src_configure -} - -src_test() { - # We can select running either unit or integration tests, or all of - # them by not passing --suite. According to upstream, integration - # tests are more fragile and unit tests are sufficient for testing - # packaging, so only run those. - meson_src_test --suite unit -} |