summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-29 01:58:00 +0000
committerSam James <sam@gentoo.org>2021-11-29 01:58:00 +0000
commitec8bf30c0f540de8225851ef94000503158be260 (patch)
tree3fe620f47b29cd83ee19eec72ccde38c84a66742 /sci-electronics
parentsci-electronics/kicad-symbols: drop keywords for 6.0.0_rc1 (diff)
downloadgentoo-ec8bf30c0f540de8225851ef94000503158be260.tar.gz
gentoo-ec8bf30c0f540de8225851ef94000503158be260.tar.bz2
gentoo-ec8bf30c0f540de8225851ef94000503158be260.zip
sci-electronics/kicad-templates: 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-templates/kicad-templates-6.0.0_rc1.ebuild6
-rw-r--r--sci-electronics/kicad-templates/kicad-templates-9999.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/sci-electronics/kicad-templates/kicad-templates-6.0.0_rc1.ebuild b/sci-electronics/kicad-templates/kicad-templates-6.0.0_rc1.ebuild
index 348280a3c4d3..73e469b74c1b 100644
--- a/sci-electronics/kicad-templates/kicad-templates-6.0.0_rc1.ebuild
+++ b/sci-electronics/kicad-templates/kicad-templates-6.0.0_rc1.ebuild
@@ -14,7 +14,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-templates/kicad-templates-9999.ebuild b/sci-electronics/kicad-templates/kicad-templates-9999.ebuild
index 348280a3c4d3..73e469b74c1b 100644
--- a/sci-electronics/kicad-templates/kicad-templates-9999.ebuild
+++ b/sci-electronics/kicad-templates/kicad-templates-9999.ebuild
@@ -14,7 +14,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