Gentoo Archives: gentoo-commits

From: Mike Auty <ikelos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/ikelos:master commit in: dev-util/capstone/
Date: Sat, 03 Sep 2016 11:21:33
Message-Id: 1472901678.4a5cef7d391bcaa04b12dba9166bd3660a873e84.ikelos@gentoo
1 commit: 4a5cef7d391bcaa04b12dba9166bd3660a873e84
2 Author: layman <layman <AT> localhost>
3 AuthorDate: Sat Sep 3 11:21:18 2016 +0000
4 Commit: Mike Auty <ikelos <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 3 11:21:18 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/ikelos.git/commit/?id=4a5cef7d
7
8 Remove capstone now it's in the main tree.
9
10 dev-util/capstone/Manifest | 2 --
11 dev-util/capstone/capstone-3.0.4.ebuild | 64 ---------------------------------
12 2 files changed, 66 deletions(-)
13
14 diff --git a/dev-util/capstone/Manifest b/dev-util/capstone/Manifest
15 deleted file mode 100644
16 index f303fb7..0000000
17 --- a/dev-util/capstone/Manifest
18 +++ /dev/null
19 @@ -1,2 +0,0 @@
20 -DIST capstone-3.0.4.tar.gz 2800818 SHA256 5d6dadf5864c56f8de66c66088fa68e849d0bff6577865a4f81b6f23112b14f2 SHA512 a5c29e7c559b5391d6a4ec9a7f766699ea6d321aa2f1fc57fdcec893107fa3ef2f5f6323629971c1129f1ca087df4f3ad03d0a8234d2eae368c8ccfec04dbf4d WHIRLPOOL 24aa002e215ee2a74c06a9be40218c78258a853028c74e1cdf95a5e2ea484471cf084cc8f5cc9db1aaefc16cf80a0b37480d4af60ca9119730334cbe2a02b906
21 -EBUILD capstone-3.0.4.ebuild 1717 SHA256 c6a0cdc8ccc45b1b1048d8ce0c3d02babd61ae22056b82d67e85ca5359ebc63a SHA512 55bb1011ba9788e157beb6c168f66c0eca48d64e20a6d463811850a66e31e6c190e96b017bf527928a56ba24014e4bfd05e6e042f18d6684f24d225163f1a99e WHIRLPOOL 51a4a938c5df6505e28ae1f395f6bae4eb0e7052783b93d2d82616cb76ef0d45849d2f65ec3af595560af97976fd736a9cd73950f647d4731d5a8be7e8e6fc2e
22
23 diff --git a/dev-util/capstone/capstone-3.0.4.ebuild b/dev-util/capstone/capstone-3.0.4.ebuild
24 deleted file mode 100644
25 index 5085a24..0000000
26 --- a/dev-util/capstone/capstone-3.0.4.ebuild
27 +++ /dev/null
28 @@ -1,64 +0,0 @@
29 -# Copyright 1999-2014 Gentoo Foundation
30 -# Distributed under the terms of the GNU General Public License v2
31 -# $Header: blshkv$
32 -
33 -EAPI=5
34 -PYTHON_COMPAT=( python{2_7,3_4} )
35 -
36 -inherit eutils multilib distutils-r1
37 -
38 -#MY_PV=${PV//_/-}
39 -DESCRIPTION="A lightweight multi-platform, multi-architecture disassembly framework"
40 -HOMEPAGE="http://www.capstone-engine.org/"
41 -SRC_URI="https://github.com/aquynh/capstone/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 -
43 -LICENSE="BSD"
44 -SLOT="0/3"
45 -KEYWORDS="~amd64 ~arm ~x86"
46 -IUSE="python cython"
47 -
48 -#RDEPEND="python? ( >=dev-python/capstone-python-${PV} )"
49 -RDEPEND=""
50 -DEPEND="cython? ( >=dev-python/cython-0.22 )
51 - !dev-python/capstone-python"
52 -#TODO: add java and ocaml bindings
53 -
54 -#S=${WORKDIR}/${PN}-${MY_PV}
55 -
56 -src_prepare() {
57 - if use python; then
58 - cd "${S}/bindings/python"
59 - #our hack to adjust cython setup
60 - if use cython; then
61 - cp setup_cython.py setup.py
62 - #this section is from Makefile
63 - cp capstone/__init__.py pyx/__init__.py
64 - for i in arm{,_const} arm64{,_const} mips{,_const} ppc{,_const} x86{,_const} sparc{,_const} systemz sysz_const xcore{,_const}; do
65 - cp capstone/${i}.py pyx/${i}.pyx
66 - done
67 - fi
68 - distutils-r1_src_prepare
69 - fi
70 - default_src_prepare
71 -}
72 -
73 -src_compile() {
74 - if use python; then
75 - cd "${S}/bindings/python"
76 - distutils-r1_src_compile
77 - cd "${S}"
78 - fi
79 - default_src_compile
80 -}
81 -
82 -src_install() {
83 - cd "${S}/bindings/python"
84 - distutils-r1_src_install
85 - cd "${S}"
86 - emake DESTDIR="${ED}" LIBDIRARCH=$(get_libdir) install
87 -# if use !test; then
88 -# dodir /usr/share/"${PN}"/
89 -# cp -R "${S}"/tests "${D}/usr/share/${PN}/" || die "Install failed!"
90 -# fi
91 - dodoc README CREDITS.TXT RELEASE_NOTES ChangeLog docs/BHUSA2014-capstone.pdf
92 -}