1 |
commit: 5037e262cd264367b0afc0dc927f990dab6caf3b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 1 00:51:32 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 1 00:51:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5037e262 |
7 |
|
8 |
dev-libs/keystone: Remove old (py3.6) |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-libs/keystone/keystone-0.9.1.ebuild | 84 --------------------------------- |
13 |
1 file changed, 84 deletions(-) |
14 |
|
15 |
diff --git a/dev-libs/keystone/keystone-0.9.1.ebuild b/dev-libs/keystone/keystone-0.9.1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 862e1fa1556..00000000000 |
18 |
--- a/dev-libs/keystone/keystone-0.9.1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,84 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
- |
26 |
-DISTUTILS_OPTIONAL=1 |
27 |
-CMAKE_MIN_VERSION=3.8.7 |
28 |
-PYTHON_COMPAT=( python3_6 ) |
29 |
- |
30 |
-inherit cmake-utils distutils-r1 llvm |
31 |
- |
32 |
-DESCRIPTION="assembly/assembler framework + bindings" |
33 |
-HOMEPAGE="https://www.keystone-engine.org/" |
34 |
- |
35 |
-if [[ ${PV} == 9999* ]]; then |
36 |
- EGIT_REPO_URI="https://github.com/keystone-engine/keystone.git" |
37 |
- inherit git-r3 |
38 |
- KEYWORDS="" |
39 |
-else |
40 |
- SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P/-rc/_rc}.tar.gz" |
41 |
- KEYWORDS="~amd64 ~arm ~x86" |
42 |
-fi |
43 |
- |
44 |
-LICENSE="GPL-2" |
45 |
-SLOT="0" |
46 |
- |
47 |
-# Keep in sync with llvm/CMakeLists.txt, subset of sys-devel/llvm |
48 |
-ALL_LLVM_TARGETS=( AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86 ) |
49 |
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) |
50 |
-LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?} |
51 |
- |
52 |
-IUSE="python ${ALL_LLVM_TARGETS[*]}" |
53 |
-RDEPEND="${PYTHON_DEPS} |
54 |
-" |
55 |
-DEPEND="${RDEPEND}" |
56 |
-REQUIRED_USE=" |
57 |
- ${PYTHON_REQUIRED_USE} |
58 |
- || ( ${ALL_LLVM_TARGETS[*]} ) |
59 |
-" |
60 |
- |
61 |
-S=${WORKDIR}/${P/_rc/-rc} |
62 |
- |
63 |
-CMAKE_BUILD_TYPE=RelWithDebInfo |
64 |
- |
65 |
-llvm_check_deps() { |
66 |
- has_version "sys-devel/llvm:${LLVM_SLOT}[${LLVM_TARGET_USEDEPS// /,}]" |
67 |
-} |
68 |
- |
69 |
-wrap_python() { |
70 |
- if use python; then |
71 |
- pushd bindings/python >/dev/null || die |
72 |
- distutils-r1_${EBUILD_PHASE_FUNC} "$@" |
73 |
- popd >/dev/null || die |
74 |
- fi |
75 |
-} |
76 |
- |
77 |
-src_prepare() { |
78 |
- default |
79 |
- cmake-utils_src_prepare |
80 |
- wrap_python |
81 |
-} |
82 |
- |
83 |
-src_configure() { |
84 |
- local mycmakeargs=( |
85 |
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib} |
86 |
- |
87 |
- -DBUILD_SHARED_LIBS=ON |
88 |
- -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" |
89 |
- -DLLVM_HOST_TRIPLE="${CHOST}" |
90 |
- ) |
91 |
- |
92 |
- cmake-utils_src_configure |
93 |
- wrap_python |
94 |
-} |
95 |
- |
96 |
-src_compile() { |
97 |
- cmake-utils_src_compile |
98 |
- wrap_python |
99 |
-} |
100 |
- |
101 |
-src_install() { |
102 |
- cmake-utils_src_install |
103 |
- wrap_python |
104 |
-} |