summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-29 01:57:07 +0000
committerSam James <sam@gentoo.org>2021-11-29 01:57:21 +0000
commitbb3e80975e3bf36d01d779f9b53306eeab902321 (patch)
tree53222f2fc343c1dc139f056d6cb9362f93e53a2e /sci-electronics
parentsci-electronics/kicad-meta: drop keywords for 6.0.0_rc1 (diff)
downloadgentoo-bb3e80975e3bf36d01d779f9b53306eeab902321.tar.gz
gentoo-bb3e80975e3bf36d01d779f9b53306eeab902321.tar.bz2
gentoo-bb3e80975e3bf36d01d779f9b53306eeab902321.zip
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@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/kicad-packages3d/kicad-packages3d-6.0.0_rc1.ebuild6
-rw-r--r--sci-electronics/kicad-packages3d/kicad-packages3d-9999.ebuild5
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"