1 |
commit: 0aa3628907fb7d42a13e60a98fa75e3bdee9d743 |
2 |
Author: John Helmert III <ajak <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 9 16:27:14 2022 +0000 |
4 |
Commit: John Helmert III <ajak <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 9 17:22:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa36289 |
7 |
|
8 |
dev-util/rizin: drop 0.4.0 |
9 |
|
10 |
Signed-off-by: John Helmert III <ajak <AT> gentoo.org> |
11 |
|
12 |
dev-util/rizin/rizin-0.4.0.ebuild | 94 --------------------------------------- |
13 |
1 file changed, 94 deletions(-) |
14 |
|
15 |
diff --git a/dev-util/rizin/rizin-0.4.0.ebuild b/dev-util/rizin/rizin-0.4.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 5f19fe3d4b47..000000000000 |
18 |
--- a/dev-util/rizin/rizin-0.4.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,94 +0,0 @@ |
21 |
-# Copyright 1999-2022 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=8 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{9..11} ) |
27 |
- |
28 |
-# This is the commit that the CI for the release commit used |
29 |
-BINS_COMMIT="64a6f26369bf5893ecc20cb8984a5ad506ef8566" |
30 |
- |
31 |
-inherit meson python-any-r1 |
32 |
- |
33 |
-DESCRIPTION="reverse engineering framework for binary analysis" |
34 |
-HOMEPAGE="https://rizin.re/" |
35 |
- |
36 |
-SRC_URI="mirror+https://github.com/rizinorg/rizin/releases/download/v${PV}/rizin-src-v${PV}.tar.xz |
37 |
- test? ( https://github.com/rizinorg/rizin-testbins/archive/${BINS_COMMIT}.tar.gz -> rizin-testbins-${BINS_COMMIT}.tar.gz )" |
38 |
-KEYWORDS="amd64 ~arm64 ~x86" |
39 |
- |
40 |
-LICENSE="Apache-2.0 BSD LGPL-3 MIT" |
41 |
-SLOT="0/${PV}" |
42 |
-IUSE="test" |
43 |
- |
44 |
-# Need to audit licenses of the binaries used for testing |
45 |
-RESTRICT="fetch !test? ( test )" |
46 |
- |
47 |
-RDEPEND=" |
48 |
- sys-apps/file |
49 |
- app-arch/lz4:0= |
50 |
- <dev-libs/capstone-5:0= |
51 |
- dev-libs/libuv:0= |
52 |
- dev-libs/libzip:0= |
53 |
- dev-libs/openssl:0= |
54 |
- >=dev-libs/tree-sitter-0.19.0 |
55 |
- dev-libs/xxhash |
56 |
- sys-libs/zlib:0= |
57 |
-" |
58 |
-DEPEND="${RDEPEND}" |
59 |
-BDEPEND="${PYTHON_DEPS}" |
60 |
- |
61 |
-PATCHES=( |
62 |
- "${FILESDIR}/${PN}-0.4.0-never-rebuild-parser.patch" |
63 |
-) |
64 |
- |
65 |
-S="${WORKDIR}/${PN}-v${PV}" |
66 |
- |
67 |
-src_prepare() { |
68 |
- default |
69 |
- |
70 |
- local py_to_mangle=( |
71 |
- librz/core/cmd_descs/cmd_descs_generate.py |
72 |
- subprojects/lz4-1.9.3/contrib/meson/meson/GetLz4LibraryVersion.py |
73 |
- subprojects/lz4-1.9.3/contrib/meson/meson/InstallSymlink.py |
74 |
- subprojects/lz4-1.9.3/tests/test-lz4-list.py |
75 |
- subprojects/lz4-1.9.3/tests/test-lz4-speed.py |
76 |
- subprojects/lz4-1.9.3/tests/test-lz4-versions.py |
77 |
- sys/clang-format.py |
78 |
- test/fuzz/scripts/fuzz_rz_asm.py |
79 |
- test/scripts/gdbserver.py |
80 |
- ) |
81 |
- |
82 |
- python_fix_shebang "${py_to_mangle[@]}" |
83 |
- |
84 |
- if use test; then |
85 |
- cp -r "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}/test/bins" || die |
86 |
- cp -r "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}" || die |
87 |
- fi |
88 |
-} |
89 |
- |
90 |
-src_configure() { |
91 |
- local emesonargs=( |
92 |
- -Dcli=enabled |
93 |
- -Duse_sys_capstone=enabled |
94 |
- -Duse_sys_magic=enabled |
95 |
- -Duse_sys_libzip=enabled |
96 |
- -Duse_sys_zlib=enabled |
97 |
- -Duse_sys_lz4=enabled |
98 |
- -Duse_sys_xxhash=enabled |
99 |
- -Duse_sys_openssl=enabled |
100 |
- -Duse_sys_tree_sitter=enabled |
101 |
- |
102 |
- $(meson_use test enable_tests) |
103 |
- $(meson_use test enable_rz_test) |
104 |
- ) |
105 |
- meson_src_configure |
106 |
-} |
107 |
- |
108 |
-src_test() { |
109 |
- # We can select running either unit or integration tests, or all of |
110 |
- # them by not passing --suite. According to upstream, integration |
111 |
- # tests are more fragile and unit tests are sufficient for testing |
112 |
- # packaging, so only run those. |
113 |
- meson_src_test --suite unit |
114 |
-} |