summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-23 17:21:33 +0000
committerSam James <sam@gentoo.org>2021-11-23 17:27:19 +0000
commitde9d9386a3f19ebfef0f546f6caa5507e196abab (patch)
treecde8e832bd647f75ff1ae138f7e6180e29cd99f4 /sci-electronics
parentsci-electronics/kicad-packages3d: tidy up _rc1 (diff)
downloadgentoo-de9d9386a3f19ebfef0f546f6caa5507e196abab.tar.gz
gentoo-de9d9386a3f19ebfef0f546f6caa5507e196abab.tar.bz2
gentoo-de9d9386a3f19ebfef0f546f6caa5507e196abab.zip
sci-electronics/kicad-symbols: fix LIVE_DEPEND logic
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/kicad-symbols/kicad-symbols-6.0.0_rc1.ebuild7
-rw-r--r--sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild8
2 files changed, 10 insertions, 5 deletions
diff --git a/sci-electronics/kicad-symbols/kicad-symbols-6.0.0_rc1.ebuild b/sci-electronics/kicad-symbols/kicad-symbols-6.0.0_rc1.ebuild
index 35b4c0a47f9d..627567d8a4ff 100644
--- a/sci-electronics/kicad-symbols/kicad-symbols-6.0.0_rc1.ebuild
+++ b/sci-electronics/kicad-symbols/kicad-symbols-6.0.0_rc1.ebuild
@@ -11,8 +11,6 @@ HOMEPAGE="https://gitlab.com/kicad/libraries/kicad-symbols"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://gitlab.com/kicad/libraries/kicad-symbols.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-symbols/kicad-symbols-9999.ebuild b/sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild
index 35b4c0a47f9d..798f34323515 100644
--- a/sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild
+++ b/sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild
@@ -11,8 +11,6 @@ HOMEPAGE="https://gitlab.com/kicad/libraries/kicad-symbols"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://gitlab.com/kicad/libraries/kicad-symbols.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}"
@@ -25,5 +23,9 @@ LICENSE="CC-BY-SA-4.0"
SLOT="0"
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