commit: f2a7862b553990e109332722c9451974725c30de Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Wed Nov 24 07:44:56 2021 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Wed Nov 24 07:45:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2a7862b
dev-ada/e3-core: add dep & fix LDFLAGS Closes: https://bugs.gentoo.org/827006 Closes: https://bugs.gentoo.org/827026 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-ada/e3-core/e3-core-22.1.0.ebuild | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/dev-ada/e3-core/e3-core-22.1.0.ebuild b/dev-ada/e3-core/e3-core-22.1.0.ebuild index cb872478e007..a5c6291d6ee6 100644 --- a/dev-ada/e3-core/e3-core-22.1.0.ebuild +++ b/dev-ada/e3-core/e3-core-22.1.0.ebuild @@ -13,7 +13,8 @@ SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" +RESTRICT="!test? ( test )" RDEPEND="dev-python/colorama dev-python/stevedore @@ -23,8 +24,11 @@ DEPEND="${RDEPEND} dev-python/requests-toolbelt dev-python/httpretty dev-vcs/subversion + dev-python/tqdm + dev-python/tomlkit )" BDEPEND="" +REQUIRED_USE="x86? ( !test )" PATCHES=( "${FILESDIR}"/${P}-distro.patch @@ -38,14 +42,8 @@ src_prepare() { } src_compile() { - local PLATFORM - if use amd64; then - PLATFORM=x86_64-linux - else - PLATFORM=x86-linux - fi - + local PLATFORM=x86_64-linux rm src/e3/os/data/rlimit* || die - $(tc-getCC) ${CFLAGS} -o src/e3/os/data/rlimit-${PLATFORM} tools/rlimit/rlimit.c + $(tc-getCC) ${CFLAGS} -o src/e3/os/data/rlimit-${PLATFORM} tools/rlimit/rlimit.c ${LDFLAGS} distutils-r1_src_compile }