Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/capstone/
Date: Fri, 29 May 2020 22:13:55
Message-Id: 1590790417.6970031573e4333632c7166280e686aa29ed1fb3.slyfox@gentoo
1 commit: 6970031573e4333632c7166280e686aa29ed1fb3
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 29 22:03:36 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Fri May 29 22:13:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69700315
7
8 dev-libs/capstone: drop old
9
10 Package-Manager: Portage-2.3.100, Repoman-2.3.22
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-libs/capstone/Manifest | 1 -
14 dev-libs/capstone/capstone-4.0.1.ebuild | 92 ---------------------------------
15 dev-libs/capstone/capstone-4.0.2.ebuild | 92 ---------------------------------
16 3 files changed, 185 deletions(-)
17
18 diff --git a/dev-libs/capstone/Manifest b/dev-libs/capstone/Manifest
19 index fcbad2d319e..90b32128acc 100644
20 --- a/dev-libs/capstone/Manifest
21 +++ b/dev-libs/capstone/Manifest
22 @@ -1,2 +1 @@
23 -DIST capstone-4.0.1.tar.gz 3434276 BLAKE2B 585e0ee19b76d96116c67b021bbe19fd01d8db600b565094ff71a01d8a87b1123a8c5e2f944f1551c411565d5a25dfbfbb3138ca220b1281044a31004002399e SHA512 43c52024065b41b45eff9423341db3f3d5163fa7aa01b360faa30437786740c8f2c34c36faa04dced5308e09d8bd78df3bad0ab9c06f98612169edb176f83c36
24 DIST capstone-4.0.2.tar.gz 3439542 BLAKE2B 435729a8fef2dce6495635352101b3befe563c8404efdbb0dccabecbe2bded332221665bacdbcd9043dda72b652b6f29c0e1a548cefb8c64d5b6b9dc174ed3d9 SHA512 7f93534517307b737422a8825b66b2a1f3e1cca2049465d60ab12595940154aaf843ba40ed348fce58de58b990c19a0caef289060eb72898cb008a88c470970e
25
26 diff --git a/dev-libs/capstone/capstone-4.0.1.ebuild b/dev-libs/capstone/capstone-4.0.1.ebuild
27 deleted file mode 100644
28 index 3f7e112a107..00000000000
29 --- a/dev-libs/capstone/capstone-4.0.1.ebuild
30 +++ /dev/null
31 @@ -1,92 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -DISTUTILS_OPTIONAL=1
38 -PYTHON_COMPAT=( python{3_6,3_7} )
39 -
40 -inherit distutils-r1 toolchain-funcs
41 -
42 -DESCRIPTION="disassembly/disassembler framework + bindings"
43 -HOMEPAGE="http://www.capstone-engine.org/"
44 -SRC_URI="https://github.com/aquynh/${PN}/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
45 -
46 -LICENSE="BSD"
47 -SLOT="0/4" # libcapstone.so.4
48 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
49 -
50 -RESTRICT="!test? ( test )"
51 -
52 -IUSE="python test"
53 -RDEPEND="python? ( ${PYTHON_DEPS} )"
54 -DEPEND="${RDEPEND}
55 - python? ( dev-python/setuptools[${PYTHON_USEDEP}] )
56 -"
57 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
58 -
59 -PATCHES=(
60 - "${FILESDIR}"/${PN}-4.0-FLAGS.patch
61 - "${FILESDIR}"/${PN}-4.0-no-fuzz-tests.patch
62 -)
63 -
64 -S=${WORKDIR}/${P/_rc/-rc}
65 -
66 -wrap_python() {
67 - if use python; then
68 - pushd bindings/python >/dev/null || die
69 - distutils-r1_${1} "$@"
70 - popd >/dev/null
71 - fi
72 -}
73 -
74 -src_prepare() {
75 - default
76 -
77 - wrap_python ${FUNCNAME}
78 -}
79 -
80 -src_configure() {
81 - {
82 - cat <<-EOF
83 - # Gentoo overrides:
84 - # verbose build
85 - V = 1
86 - # toolchain
87 - AR = $(tc-getAR)
88 - CC = $(tc-getCC)
89 - RANLIB = $(tc-getRANLIB)
90 - # toolchain flags
91 - CFLAGS = ${CFLAGS}
92 - LDFLAGS = ${LDFLAGS}
93 - # libs
94 - LIBDIRARCH = $(get_libdir)
95 - PREFIX = ${EPREFIX}/usr
96 - EOF
97 - } >> config.mk || die
98 -
99 - if ! use test; then
100 - # Don't build tests if not requested: bug #663006
101 - sed -i tests/Makefile -e 's@all: $(BINARY)@all:@' || die
102 - fi
103 -
104 - wrap_python ${FUNCNAME}
105 -}
106 -
107 -src_compile() {
108 - default
109 -
110 - wrap_python ${FUNCNAME}
111 -}
112 -
113 -src_test() {
114 - default
115 -
116 - wrap_python ${FUNCNAME}
117 -}
118 -
119 -src_install() {
120 - default
121 -
122 - wrap_python ${FUNCNAME}
123 -}
124
125 diff --git a/dev-libs/capstone/capstone-4.0.2.ebuild b/dev-libs/capstone/capstone-4.0.2.ebuild
126 deleted file mode 100644
127 index 3f7e112a107..00000000000
128 --- a/dev-libs/capstone/capstone-4.0.2.ebuild
129 +++ /dev/null
130 @@ -1,92 +0,0 @@
131 -# Copyright 1999-2020 Gentoo Authors
132 -# Distributed under the terms of the GNU General Public License v2
133 -
134 -EAPI=7
135 -
136 -DISTUTILS_OPTIONAL=1
137 -PYTHON_COMPAT=( python{3_6,3_7} )
138 -
139 -inherit distutils-r1 toolchain-funcs
140 -
141 -DESCRIPTION="disassembly/disassembler framework + bindings"
142 -HOMEPAGE="http://www.capstone-engine.org/"
143 -SRC_URI="https://github.com/aquynh/${PN}/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
144 -
145 -LICENSE="BSD"
146 -SLOT="0/4" # libcapstone.so.4
147 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
148 -
149 -RESTRICT="!test? ( test )"
150 -
151 -IUSE="python test"
152 -RDEPEND="python? ( ${PYTHON_DEPS} )"
153 -DEPEND="${RDEPEND}
154 - python? ( dev-python/setuptools[${PYTHON_USEDEP}] )
155 -"
156 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
157 -
158 -PATCHES=(
159 - "${FILESDIR}"/${PN}-4.0-FLAGS.patch
160 - "${FILESDIR}"/${PN}-4.0-no-fuzz-tests.patch
161 -)
162 -
163 -S=${WORKDIR}/${P/_rc/-rc}
164 -
165 -wrap_python() {
166 - if use python; then
167 - pushd bindings/python >/dev/null || die
168 - distutils-r1_${1} "$@"
169 - popd >/dev/null
170 - fi
171 -}
172 -
173 -src_prepare() {
174 - default
175 -
176 - wrap_python ${FUNCNAME}
177 -}
178 -
179 -src_configure() {
180 - {
181 - cat <<-EOF
182 - # Gentoo overrides:
183 - # verbose build
184 - V = 1
185 - # toolchain
186 - AR = $(tc-getAR)
187 - CC = $(tc-getCC)
188 - RANLIB = $(tc-getRANLIB)
189 - # toolchain flags
190 - CFLAGS = ${CFLAGS}
191 - LDFLAGS = ${LDFLAGS}
192 - # libs
193 - LIBDIRARCH = $(get_libdir)
194 - PREFIX = ${EPREFIX}/usr
195 - EOF
196 - } >> config.mk || die
197 -
198 - if ! use test; then
199 - # Don't build tests if not requested: bug #663006
200 - sed -i tests/Makefile -e 's@all: $(BINARY)@all:@' || die
201 - fi
202 -
203 - wrap_python ${FUNCNAME}
204 -}
205 -
206 -src_compile() {
207 - default
208 -
209 - wrap_python ${FUNCNAME}
210 -}
211 -
212 -src_test() {
213 - default
214 -
215 - wrap_python ${FUNCNAME}
216 -}
217 -
218 -src_install() {
219 - default
220 -
221 - wrap_python ${FUNCNAME}
222 -}