summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-23 17:24:21 +0000
committerSam James <sam@gentoo.org>2021-11-23 17:27:21 +0000
commit08c379e53071415dc1965116feb8859df5754d79 (patch)
treebdfc4157200ff7df78859be472861e0d9136f7a1 /sci-electronics
parentsci-electronics/kicad: fix LIVE_DEPEND logic (diff)
downloadgentoo-08c379e53071415dc1965116feb8859df5754d79.tar.gz
gentoo-08c379e53071415dc1965116feb8859df5754d79.tar.bz2
gentoo-08c379e53071415dc1965116feb8859df5754d79.zip
sci-electronics/kicad-footprints: fix LIVE_DEPEND logic
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/kicad-footprints/kicad-footprints-6.0.0_rc1.ebuild7
-rw-r--r--sci-electronics/kicad-footprints/kicad-footprints-9999.ebuild7
2 files changed, 10 insertions, 4 deletions
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