summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-29 01:56:18 +0000
committerSam James <sam@gentoo.org>2021-11-29 01:56:18 +0000
commit7999ac1003926e8b0315a0ecee469c37b2cea922 (patch)
treecafe83a2aef83019038d0996168f39f5cff4de82 /sci-electronics
parentsci-electronics/kicad: drop keywords for 6.0.0_rc1 (diff)
downloadgentoo-7999ac1003926e8b0315a0ecee469c37b2cea922.tar.gz
gentoo-7999ac1003926e8b0315a0ecee469c37b2cea922.tar.bz2
gentoo-7999ac1003926e8b0315a0ecee469c37b2cea922.zip
sci-electronics/kicad-footprints: 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-footprints/kicad-footprints-6.0.0_rc1.ebuild6
-rw-r--r--sci-electronics/kicad-footprints/kicad-footprints-9999.ebuild6
2 files changed, 10 insertions, 2 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 fdde3a10a4b4..b0b2dbf6fa84 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
@@ -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}-${MY_PV}"
fi
diff --git a/sci-electronics/kicad-footprints/kicad-footprints-9999.ebuild b/sci-electronics/kicad-footprints/kicad-footprints-9999.ebuild
index 13975a1f3b59..b8754e633b56 100644
--- a/sci-electronics/kicad-footprints/kicad-footprints-9999.ebuild
+++ b/sci-electronics/kicad-footprints/kicad-footprints-9999.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}-${MY_PV}"
fi