Gentoo Archives: gentoo-commits

From: John Helmert III <ajak@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rizin/
Date: Mon, 04 Jul 2022 20:01:41
Message-Id: 1656964882.fd3f25f53be1a5dc7d81cdf498a0128b52eaf2c2.ajak@gentoo
1 commit: fd3f25f53be1a5dc7d81cdf498a0128b52eaf2c2
2 Author: John Helmert III <ajak <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 4 20:00:06 2022 +0000
4 Commit: John Helmert III <ajak <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 4 20:01:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd3f25f5
7
8 dev-util/rizin: drop 0.3.4, 0.3.4-r1
9
10 Bug: https://bugs.gentoo.org/836002
11 Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
12
13 dev-util/rizin/Manifest | 2 -
14 dev-util/rizin/rizin-0.3.4-r1.ebuild | 103 -----------------------------------
15 dev-util/rizin/rizin-0.3.4.ebuild | 103 -----------------------------------
16 3 files changed, 208 deletions(-)
17
18 diff --git a/dev-util/rizin/Manifest b/dev-util/rizin/Manifest
19 index 39d5687e41c8..4904a831c03e 100644
20 --- a/dev-util/rizin/Manifest
21 +++ b/dev-util/rizin/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST rizin-src-v0.3.4.tar.xz 10411432 BLAKE2B 99745f069e6bd72aec6a6f335f3aa0ccc46ebf186b1dc0aaf32b4f95d2be4bb49e8d3d976a72978c22fce82d896e70bf8403568e100b73898731045ef06a2ad5 SHA512 cda35afe8c031f3207c055ed31d7f76a46b7addd04cead0f5aadf0733b66f4dd953ca16f054b47da7921d4726d6ea1250436012954a9755c1cd524a8fd0d670c
24 DIST rizin-src-v0.4.0.tar.xz 11432232 BLAKE2B 095ca9d317296afca9514a70f208e9aa87fc426e6b7e41163f64d5a1192a4d9ccd8ece9c4f13a24fc973668dece625fa13ad75542695a66c542fe2f0d9e66733 SHA512 9d576bee48e5ceae46b4e309c53e01b82edf89a95046f576e1c38fefa73353d6d1f04e6d444332324387d4e115bc87659a358629f7277a41dfef44c82364547b
25 DIST rizin-testbins-64a6f26369bf5893ecc20cb8984a5ad506ef8566.tar.gz 172591261 BLAKE2B e78843fd95ac0406f66490b7253206e77787fc65780bc7c6a67d26aa9618a6f85803a88724ad424a7bdeeb20d95ebf9314e582029ac778d7d4de4f207ff54aad SHA512 ada4a3faad94553f0f2802419ba604177bb66d332b1a351effd485d65bd8365abb36d736486bbd0bcbc0da584ad4a2edaa7aa3cb62fa12811282c2e0afecb950
26 -DIST rizin-testbins-aa6a88dcdfaad54335e3935c16ce21a124ff861d.tar.gz 127254454 BLAKE2B e7a4536be7169abd197c2128e103b8d669fbb7532ce265b27da3ce347b1aa58c8a96c95d85cf7700f66a44c041a0575175de3a0e176a0d31c490f7ccfb2f6d6b SHA512 20cf299e5324793f07f8a2fdcfa3d66c3a418f09bfc6a272e35ab31d4a64408bf91532ae431098dede1a2d0ad0b1c02433304c514816d98dc068f6c0528a4099
27
28 diff --git a/dev-util/rizin/rizin-0.3.4-r1.ebuild b/dev-util/rizin/rizin-0.3.4-r1.ebuild
29 deleted file mode 100644
30 index cc3e0fb5efbd..000000000000
31 --- a/dev-util/rizin/rizin-0.3.4-r1.ebuild
32 +++ /dev/null
33 @@ -1,103 +0,0 @@
34 -# Copyright 1999-2022 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=8
38 -
39 -PYTHON_COMPAT=( python3_{8..10} )
40 -
41 -# This is the commit that the CI for the release commit used
42 -BINS_COMMIT="aa6a88dcdfaad54335e3935c16ce21a124ff861d"
43 -
44 -inherit meson python-any-r1
45 -
46 -DESCRIPTION="reverse engineering framework for binary analysis"
47 -HOMEPAGE="https://rizin.re/"
48 -
49 -SRC_URI="mirror+https://github.com/rizinorg/rizin/releases/download/v${PV}/rizin-src-v${PV}.tar.xz
50 - test? ( https://github.com/rizinorg/rizin-testbins/archive/${BINS_COMMIT}.tar.gz -> rizin-testbins-${BINS_COMMIT}.tar.gz )"
51 -KEYWORDS="~amd64 ~arm64 ~x86"
52 -
53 -LICENSE="Apache-2.0 BSD LGPL-3 MIT"
54 -SLOT="0/${PV}"
55 -IUSE="test"
56 -
57 -# Need to audit licenses of the binaries used for testing
58 -RESTRICT="fetch !test? ( test )"
59 -
60 -RDEPEND="
61 - sys-apps/file
62 - app-arch/lz4:0=
63 - <dev-libs/capstone-5:0=
64 - dev-libs/libuv:0=
65 - dev-libs/libzip:0=
66 - dev-libs/openssl:0=
67 - >=dev-libs/tree-sitter-0.19.0
68 - dev-libs/xxhash
69 - sys-libs/zlib:0=
70 -"
71 -DEPEND="${RDEPEND}"
72 -BDEPEND="${PYTHON_DEPS}"
73 -
74 -PATCHES=(
75 - "${FILESDIR}/${PN}-0.3.0-typedb-prefix.patch"
76 - "${FILESDIR}/${PN}-0.3.2-never-rebuild-parser.patch"
77 -)
78 -
79 -S="${WORKDIR}/${PN}-v${PV}"
80 -
81 -src_prepare() {
82 - default
83 -
84 - local py_to_mangle=(
85 - librz/core/cmd_descs/cmd_descs_generate.py
86 - subprojects/lz4-1.9.3/contrib/meson/meson/GetLz4LibraryVersion.py
87 - subprojects/lz4-1.9.3/contrib/meson/meson/InstallSymlink.py
88 - subprojects/lz4-1.9.3/tests/test-lz4-list.py
89 - subprojects/lz4-1.9.3/tests/test-lz4-speed.py
90 - subprojects/lz4-1.9.3/tests/test-lz4-versions.py
91 - sys/clang-format.py
92 - test/fuzz/scripts/fuzz_rz_asm.py
93 - test/scripts/gdbserver.py
94 - )
95 -
96 - python_fix_shebang "${py_to_mangle[@]}"
97 -
98 - if use test; then
99 - cp -r "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}/test/bins" || die
100 - cp -r "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}" || die
101 - fi
102 -}
103 -
104 -src_configure() {
105 - local emesonargs=(
106 - -Dcli=enabled
107 - -Duse_sys_capstone=enabled
108 - -Duse_sys_magic=enabled
109 - -Duse_sys_libzip=enabled
110 - -Duse_sys_zlib=enabled
111 - -Duse_sys_lz4=enabled
112 - -Duse_sys_xxhash=enabled
113 - -Duse_sys_openssl=enabled
114 - -Duse_sys_tree_sitter=enabled
115 -
116 - $(meson_use test enable_tests)
117 - $(meson_use test enable_rz_test)
118 - )
119 - meson_src_configure
120 -}
121 -
122 -src_test() {
123 - # Rizin uses data files that it expects to be installed on the
124 - # system. To hack around this, we create a tree of what it expects
125 - # in ${T}, and patch the tests to support a prefix from the
126 - # environment. https://github.com/rizinorg/rizin/issues/1789
127 - mkdir -p "${T}/usr/share/${PN}/${PV}" || die
128 - ln -sf "${BUILD_DIR}/librz/analysis/d" "${T}/usr/share/${PN}/${PV}/types" || die
129 - ln -sf "${BUILD_DIR}/librz/syscall/d" "${T}/usr/share/${PN}/${PV}/syscall" || die
130 - ln -sf "${BUILD_DIR}/librz/asm/d" "${T}/usr/share/${PN}/${PV}/opcodes" || die
131 - # https://github.com/rizinorg/rizin/issues/1797
132 - ln -sf "${BUILD_DIR}/librz/flag/d" "${T}/usr/share/${PN}/${PV}/flag" || die
133 - export RZ_PREFIX="${T}/usr"
134 -
135 - meson_src_test
136 -}
137
138 diff --git a/dev-util/rizin/rizin-0.3.4.ebuild b/dev-util/rizin/rizin-0.3.4.ebuild
139 deleted file mode 100644
140 index 27d41f85b946..000000000000
141 --- a/dev-util/rizin/rizin-0.3.4.ebuild
142 +++ /dev/null
143 @@ -1,103 +0,0 @@
144 -# Copyright 1999-2022 Gentoo Authors
145 -# Distributed under the terms of the GNU General Public License v2
146 -
147 -EAPI=8
148 -
149 -PYTHON_COMPAT=( python3_{8..10} )
150 -
151 -# This is the commit that the CI for the release commit used
152 -BINS_COMMIT="aa6a88dcdfaad54335e3935c16ce21a124ff861d"
153 -
154 -inherit meson python-any-r1
155 -
156 -DESCRIPTION="reverse engineering framework for binary analysis"
157 -HOMEPAGE="https://rizin.re/"
158 -
159 -SRC_URI="mirror+https://github.com/rizinorg/rizin/releases/download/v${PV}/rizin-src-v${PV}.tar.xz
160 - test? ( https://github.com/rizinorg/rizin-testbins/archive/${BINS_COMMIT}.tar.gz -> rizin-testbins-${BINS_COMMIT}.tar.gz )"
161 -KEYWORDS="amd64 ~arm64 ~x86"
162 -
163 -LICENSE="Apache-2.0 BSD LGPL-3 MIT"
164 -SLOT="0/${PV}"
165 -IUSE="test"
166 -
167 -# Need to audit licenses of the binaries used for testing
168 -RESTRICT="fetch !test? ( test )"
169 -
170 -RDEPEND="
171 - sys-apps/file
172 - app-arch/lz4:0=
173 - dev-libs/capstone:0=
174 - dev-libs/libuv:0=
175 - dev-libs/libzip:0=
176 - dev-libs/openssl:0=
177 - >=dev-libs/tree-sitter-0.19.0
178 - dev-libs/xxhash
179 - sys-libs/zlib:0=
180 -"
181 -DEPEND="${RDEPEND}"
182 -BDEPEND="${PYTHON_DEPS}"
183 -
184 -PATCHES=(
185 - "${FILESDIR}/${PN}-0.3.0-typedb-prefix.patch"
186 - "${FILESDIR}/${PN}-0.3.2-never-rebuild-parser.patch"
187 -)
188 -
189 -S="${WORKDIR}/${PN}-v${PV}"
190 -
191 -src_prepare() {
192 - default
193 -
194 - local py_to_mangle=(
195 - librz/core/cmd_descs/cmd_descs_generate.py
196 - subprojects/lz4-1.9.3/contrib/meson/meson/GetLz4LibraryVersion.py
197 - subprojects/lz4-1.9.3/contrib/meson/meson/InstallSymlink.py
198 - subprojects/lz4-1.9.3/tests/test-lz4-list.py
199 - subprojects/lz4-1.9.3/tests/test-lz4-speed.py
200 - subprojects/lz4-1.9.3/tests/test-lz4-versions.py
201 - sys/clang-format.py
202 - test/fuzz/scripts/fuzz_rz_asm.py
203 - test/scripts/gdbserver.py
204 - )
205 -
206 - python_fix_shebang "${py_to_mangle[@]}"
207 -
208 - if use test; then
209 - cp -r "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}/test/bins" || die
210 - cp -r "${WORKDIR}/rizin-testbins-${BINS_COMMIT}" "${S}" || die
211 - fi
212 -}
213 -
214 -src_configure() {
215 - local emesonargs=(
216 - -Dcli=enabled
217 - -Duse_sys_capstone=enabled
218 - -Duse_sys_magic=enabled
219 - -Duse_sys_libzip=enabled
220 - -Duse_sys_zlib=enabled
221 - -Duse_sys_lz4=enabled
222 - -Duse_sys_xxhash=enabled
223 - -Duse_sys_openssl=enabled
224 - -Duse_sys_tree_sitter=enabled
225 -
226 - $(meson_use test enable_tests)
227 - $(meson_use test enable_rz_test)
228 - )
229 - meson_src_configure
230 -}
231 -
232 -src_test() {
233 - # Rizin uses data files that it expects to be installed on the
234 - # system. To hack around this, we create a tree of what it expects
235 - # in ${T}, and patch the tests to support a prefix from the
236 - # environment. https://github.com/rizinorg/rizin/issues/1789
237 - mkdir -p "${T}/usr/share/${PN}/${PV}" || die
238 - ln -sf "${BUILD_DIR}/librz/analysis/d" "${T}/usr/share/${PN}/${PV}/types" || die
239 - ln -sf "${BUILD_DIR}/librz/syscall/d" "${T}/usr/share/${PN}/${PV}/syscall" || die
240 - ln -sf "${BUILD_DIR}/librz/asm/d" "${T}/usr/share/${PN}/${PV}/opcodes" || die
241 - # https://github.com/rizinorg/rizin/issues/1797
242 - ln -sf "${BUILD_DIR}/librz/flag/d" "${T}/usr/share/${PN}/${PV}/flag" || die
243 - export RZ_PREFIX="${T}/usr"
244 -
245 - meson_src_test
246 -}