commit: bb3e80975e3bf36d01d779f9b53306eeab902321 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Nov 29 01:57:07 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Nov 29 01:57:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb3e8097
sci-electronics/kicad-packages3d: drop keywords for 6.0.0_rc1 While upstream have quite a slow release cadence (which is why I was open to adding the RC), we should probably avoid exposing the RC to people by default. Drop keywords for _rc versions (for now, anyway). Bug: https://bugs.gentoo.org/827816 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-electronics/kicad-packages3d/kicad-packages3d-6.0.0_rc1.ebuild | 6 +++++- sci-electronics/kicad-packages3d/kicad-packages3d-9999.ebuild | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.0_rc1.ebuild b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.0_rc1.ebuild index 3a59efb71e1e..954f8e764824 100644 --- a/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.0_rc1.ebuild +++ b/sci-electronics/kicad-packages3d/kicad-packages3d-6.0.0_rc1.ebuild @@ -15,7 +15,11 @@ else MY_PV="${PV/_rc/-rc}" MY_P="${PN}-${MY_PV}" SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~x86" + + if [[ ${PV} != *_rc ]] ; then + KEYWORDS="~amd64 ~arm64 ~x86" + fi + S="${WORKDIR}/${PN/3d/3D}-${MY_PV}-1080b6e565e56bae9be46db2278a1542092d7a2d" fi diff --git a/sci-electronics/kicad-packages3d/kicad-packages3d-9999.ebuild b/sci-electronics/kicad-packages3d/kicad-packages3d-9999.ebuild index e241c3447f5a..433e27f75773 100644 --- a/sci-electronics/kicad-packages3d/kicad-packages3d-9999.ebuild +++ b/sci-electronics/kicad-packages3d/kicad-packages3d-9999.ebuild @@ -16,7 +16,10 @@ else MY_P="${PN}-${MY_PV}" SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN/3d/3D}-${MY_PV}" # check for directory hash - KEYWORDS="~amd64 ~arm64 ~x86" + + if [[ ${PV} != *_rc ]] ; then + KEYWORDS="~amd64 ~arm64 ~x86" + fi fi IUSE="+occ"