1 |
commit: a792e02453330a75de4a0dfd3e4ebb29669d401a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 8 11:00:08 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 8 11:25:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a792e024 |
7 |
|
8 |
dev-libs/keystone: Remove versions requiring LLVM 10 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-libs/keystone/Manifest | 1 - |
13 |
dev-libs/keystone/keystone-0.9.1-r1.ebuild | 91 ------------------------------ |
14 |
2 files changed, 92 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/keystone/Manifest b/dev-libs/keystone/Manifest |
17 |
index 406bb5c6958..e2b37e04da4 100644 |
18 |
--- a/dev-libs/keystone/Manifest |
19 |
+++ b/dev-libs/keystone/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST keystone-0.9.1.tar.gz 4326151 BLAKE2B 2d41388f4beeff3c424386c77cb75eeca613c66f80e807035f709822f241ef74f64085260678772580cb82bcceda83b4b3c31b92393f8d70f24d54f77f7ba224 SHA512 3bd9c3793d5862a0a8628b52da381625e62445f661dbd5ed715723e7d9db01ce3f9586e5ca0a5cc71e8ceb6c912050f5c28e3ccd540e72c8abcfd2f0d1bbae17 |
22 |
DIST keystone-0.9.2.tar.gz 4433222 BLAKE2B 5654ae6a66ccf6832fbdbb8c1083a2318e413bb833a0fadc4e1374f0de601e3dad9f354b1dec92d9a944621923458e432510299c1b55579ac9bb6b6e90a818de SHA512 5d4dd30410410bc7848e75a2e31e8ecef6241ad25e21963aa7a07bbea21d95b75e235c80573129014102684c9647710ace3c0776a8401844d7e4b45cab7bd04b |
23 |
|
24 |
diff --git a/dev-libs/keystone/keystone-0.9.1-r1.ebuild b/dev-libs/keystone/keystone-0.9.1-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index 7a76969465c..00000000000 |
27 |
--- a/dev-libs/keystone/keystone-0.9.1-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,91 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-DISTUTILS_OPTIONAL=1 |
36 |
-PYTHON_COMPAT=( python3_{7,8} ) |
37 |
- |
38 |
-inherit cmake distutils-r1 llvm |
39 |
- |
40 |
-DESCRIPTION="assembly/assembler framework + bindings" |
41 |
-HOMEPAGE="https://www.keystone-engine.org/" |
42 |
- |
43 |
-if [[ ${PV} == 9999* ]]; then |
44 |
- EGIT_REPO_URI="https://github.com/keystone-engine/keystone.git" |
45 |
- inherit git-r3 |
46 |
-else |
47 |
- SRC_URI="https://github.com/keystone-engine/keystone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz" |
48 |
- KEYWORDS="~amd64 ~arm ~ppc64 ~x86" |
49 |
-fi |
50 |
- |
51 |
-LICENSE="GPL-2" |
52 |
-SLOT="0" |
53 |
- |
54 |
-# Keep in sync with llvm/CMakeLists.txt, subset of sys-devel/llvm |
55 |
-ALL_LLVM_TARGETS=( AArch64 ARM Hexagon Mips PowerPC Sparc SystemZ X86 ) |
56 |
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) |
57 |
-LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?} |
58 |
- |
59 |
-IUSE="python ${ALL_LLVM_TARGETS[*]}" |
60 |
- |
61 |
-LLVM_MAX_SLOT=10 |
62 |
- |
63 |
-RDEPEND=" |
64 |
- <sys-devel/llvm-11:= |
65 |
- || ( |
66 |
- sys-devel/llvm:8[${LLVM_TARGET_USEDEPS// /,}] |
67 |
- sys-devel/llvm:9[${LLVM_TARGET_USEDEPS// /,}] |
68 |
- sys-devel/llvm:10[${LLVM_TARGET_USEDEPS// /,}] |
69 |
- ) |
70 |
- python? ( ${PYTHON_DEPS} ) |
71 |
-" |
72 |
- |
73 |
-DEPEND="${RDEPEND}" |
74 |
- |
75 |
-REQUIRED_USE=" |
76 |
- || ( ${ALL_LLVM_TARGETS[*]} ) |
77 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
78 |
-" |
79 |
- |
80 |
-S=${WORKDIR}/${P/_rc/-rc} |
81 |
- |
82 |
-wrap_python() { |
83 |
- if use python; then |
84 |
- pushd bindings/python >/dev/null || die |
85 |
- distutils-r1_${1} "$@" |
86 |
- popd >/dev/null || die |
87 |
- fi |
88 |
-} |
89 |
- |
90 |
-src_prepare() { |
91 |
- default |
92 |
- sed -i '/NOT uppercase_CMAKE_BUILD_TYPE MATCHES/ s/DEBUG/GENTOO|DEBUG/' \ |
93 |
- llvm/CMakeLists.txt || die |
94 |
- cmake_src_prepare |
95 |
- wrap_python ${FUNCNAME} |
96 |
-} |
97 |
- |
98 |
-src_configure() { |
99 |
- local libdir="$(get_libdir)" |
100 |
- local mycmakeargs=( |
101 |
- -DCMAKE_CONFIGURATION_TYPES="Gentoo" |
102 |
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib} |
103 |
- -DBUILD_SHARED_LIBS=ON |
104 |
- -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" |
105 |
- -DLLVM_HOST_TRIPLE="${CHOST}" |
106 |
- ) |
107 |
- |
108 |
- cmake_src_configure |
109 |
- wrap_python ${FUNCNAME} |
110 |
-} |
111 |
- |
112 |
-src_compile() { |
113 |
- cmake_src_compile |
114 |
- wrap_python ${FUNCNAME} |
115 |
-} |
116 |
- |
117 |
-src_install() { |
118 |
- cmake_src_install |
119 |
- wrap_python ${FUNCNAME} |
120 |
-} |