From cce412fbb9ea276136026b38efea24a2e0135413 Mon Sep 17 00:00:00 2001 From: Tupone Alfredo Date: Sat, 21 Sep 2019 13:48:18 +0200 Subject: [PATCH] dev-ada/libadalang: pkg_setup called both for python and Ada Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Alfredo Tupone --- dev-ada/libadalang/libadalang-2017-r2.ebuild | 5 +++++ dev-ada/libadalang/libadalang-2018-r2.ebuild | 5 +++++ dev-ada/libadalang/libadalang-2019-r1.ebuild | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/dev-ada/libadalang/libadalang-2017-r2.ebuild b/dev-ada/libadalang/libadalang-2017-r2.ebuild index 79dcaa89a6d9..b210eddac8f4 100644 --- a/dev-ada/libadalang/libadalang-2017-r2.ebuild +++ b/dev-ada/libadalang/libadalang-2017-r2.ebuild @@ -31,6 +31,11 @@ S="${WORKDIR}"/${PN}-gps-src PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) +pkg_setup() { + python-single-r1_pkg_setup + ada_pkg_setup +} + src_prepare() { default rm -r ada/testsuite/tests/acats_parse || die diff --git a/dev-ada/libadalang/libadalang-2018-r2.ebuild b/dev-ada/libadalang/libadalang-2018-r2.ebuild index 86894120316e..15d30be1ccac 100644 --- a/dev-ada/libadalang/libadalang-2018-r2.ebuild +++ b/dev-ada/libadalang/libadalang-2018-r2.ebuild @@ -31,6 +31,11 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} S="${WORKDIR}"/${MYP} +pkg_setup() { + python-single-r1_pkg_setup + ada_pkg_setup +} + PATCHES=( "${FILESDIR}"/${P}-gentoo.patch "${FILESDIR}"/${PN}-2017-gentoo.patch diff --git a/dev-ada/libadalang/libadalang-2019-r1.ebuild b/dev-ada/libadalang/libadalang-2019-r1.ebuild index 23ddcc1668b7..45c76b0563d7 100644 --- a/dev-ada/libadalang/libadalang-2019-r1.ebuild +++ b/dev-ada/libadalang/libadalang-2019-r1.ebuild @@ -32,6 +32,11 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} S="${WORKDIR}"/${MYP} +pkg_setup() { + python-single-r1_pkg_setup + ada_pkg_setup +} + PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) src_configure() { -- 2.26.2