From 08c379e53071415dc1965116feb8859df5754d79 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 23 Nov 2021 17:24:21 +0000 Subject: sci-electronics/kicad-footprints: fix LIVE_DEPEND logic Signed-off-by: Sam James --- sci-electronics/kicad-footprints/kicad-footprints-6.0.0_rc1.ebuild | 7 +++++-- sci-electronics/kicad-footprints/kicad-footprints-9999.ebuild | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'sci-electronics') diff --git a/sci-electronics/kicad-footprints/kicad-footprints-6.0.0_rc1.ebuild b/sci-electronics/kicad-footprints/kicad-footprints-6.0.0_rc1.ebuild index ab47f7390bea..fdde3a10a4b4 100644 --- a/sci-electronics/kicad-footprints/kicad-footprints-6.0.0_rc1.ebuild +++ b/sci-electronics/kicad-footprints/kicad-footprints-6.0.0_rc1.ebuild @@ -11,8 +11,6 @@ HOMEPAGE="https://gitlab.com/kicad/libraries/kicad-footprints" if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://gitlab.com/kicad/libraries/kicad-footprints.git" inherit git-r3 - # x11-misc-util/macros only required on live ebuilds - LIVE_DEPEND=">=x11-misc/util-macros-1.18" else MY_PV="${PV/_rc/-rc}" MY_P="${PN}-${MY_PV}" @@ -27,3 +25,8 @@ IUSE="" DEPEND="" RDEPEND=">=sci-electronics/kicad-5.99" + +if [[ ${PV} == 9999 ]] ; then +# x11-misc-util/macros only required on live ebuilds + BDEPEND+=" >=x11-misc/util-macros-1.18" +fi diff --git a/sci-electronics/kicad-footprints/kicad-footprints-9999.ebuild b/sci-electronics/kicad-footprints/kicad-footprints-9999.ebuild index ab47f7390bea..13975a1f3b59 100644 --- a/sci-electronics/kicad-footprints/kicad-footprints-9999.ebuild +++ b/sci-electronics/kicad-footprints/kicad-footprints-9999.ebuild @@ -11,8 +11,6 @@ HOMEPAGE="https://gitlab.com/kicad/libraries/kicad-footprints" if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://gitlab.com/kicad/libraries/kicad-footprints.git" inherit git-r3 - # x11-misc-util/macros only required on live ebuilds - LIVE_DEPEND=">=x11-misc/util-macros-1.18" else MY_PV="${PV/_rc/-rc}" MY_P="${PN}-${MY_PV}" @@ -27,3 +25,8 @@ IUSE="" DEPEND="" RDEPEND=">=sci-electronics/kicad-5.99" + +if [[ ${PV} == 9999 ]] ; then + # x11-misc-util/macros only required on live ebuilds + BDEPEND+=" >=x11-misc/util-macros-1.18" +fi -- cgit v1.2.3-65-gdbad