diff options
author | Sam James <sam@gentoo.org> | 2021-11-23 17:24:21 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-11-23 17:27:21 +0000 |
commit | 08c379e53071415dc1965116feb8859df5754d79 (patch) | |
tree | bdfc4157200ff7df78859be472861e0d9136f7a1 /sci-electronics/kicad-footprints | |
parent | sci-electronics/kicad: fix LIVE_DEPEND logic (diff) | |
download | gentoo-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/kicad-footprints')
-rw-r--r-- | sci-electronics/kicad-footprints/kicad-footprints-6.0.0_rc1.ebuild | 7 | ||||
-rw-r--r-- | sci-electronics/kicad-footprints/kicad-footprints-9999.ebuild | 7 |
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 |