1 |
commit: f2a7862b553990e109332722c9451974725c30de |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 24 07:44:56 2021 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 24 07:45:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2a7862b |
7 |
|
8 |
dev-ada/e3-core: add dep & fix LDFLAGS |
9 |
|
10 |
Closes: https://bugs.gentoo.org/827006 |
11 |
Closes: https://bugs.gentoo.org/827026 |
12 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
13 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
14 |
|
15 |
dev-ada/e3-core/e3-core-22.1.0.ebuild | 16 +++++++--------- |
16 |
1 file changed, 7 insertions(+), 9 deletions(-) |
17 |
|
18 |
diff --git a/dev-ada/e3-core/e3-core-22.1.0.ebuild b/dev-ada/e3-core/e3-core-22.1.0.ebuild |
19 |
index cb872478e007..a5c6291d6ee6 100644 |
20 |
--- a/dev-ada/e3-core/e3-core-22.1.0.ebuild |
21 |
+++ b/dev-ada/e3-core/e3-core-22.1.0.ebuild |
22 |
@@ -13,7 +13,8 @@ SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz |
23 |
|
24 |
LICENSE="GPL-3" |
25 |
SLOT="0" |
26 |
-KEYWORDS="~amd64 ~x86" |
27 |
+KEYWORDS="~amd64" |
28 |
+RESTRICT="!test? ( test )" |
29 |
|
30 |
RDEPEND="dev-python/colorama |
31 |
dev-python/stevedore |
32 |
@@ -23,8 +24,11 @@ DEPEND="${RDEPEND} |
33 |
dev-python/requests-toolbelt |
34 |
dev-python/httpretty |
35 |
dev-vcs/subversion |
36 |
+ dev-python/tqdm |
37 |
+ dev-python/tomlkit |
38 |
)" |
39 |
BDEPEND="" |
40 |
+REQUIRED_USE="x86? ( !test )" |
41 |
|
42 |
PATCHES=( |
43 |
"${FILESDIR}"/${P}-distro.patch |
44 |
@@ -38,14 +42,8 @@ src_prepare() { |
45 |
} |
46 |
|
47 |
src_compile() { |
48 |
- local PLATFORM |
49 |
- if use amd64; then |
50 |
- PLATFORM=x86_64-linux |
51 |
- else |
52 |
- PLATFORM=x86-linux |
53 |
- fi |
54 |
- |
55 |
+ local PLATFORM=x86_64-linux |
56 |
rm src/e3/os/data/rlimit* || die |
57 |
- $(tc-getCC) ${CFLAGS} -o src/e3/os/data/rlimit-${PLATFORM} tools/rlimit/rlimit.c |
58 |
+ $(tc-getCC) ${CFLAGS} -o src/e3/os/data/rlimit-${PLATFORM} tools/rlimit/rlimit.c ${LDFLAGS} |
59 |
distutils-r1_src_compile |
60 |
} |