diff options
author | Sam James <sam@gentoo.org> | 2021-11-29 01:57:39 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-11-29 01:57:39 +0000 |
commit | 710052f8e8ae73f4d5755bafa6b8a869cc1442c6 (patch) | |
tree | 9edf72c6ac92922461d9cdfe3d9e22a984553622 /sci-electronics | |
parent | sci-electronics/kicad-packages3d: drop keywords for 6.0.0_rc1 (diff) | |
download | gentoo-710052f8e8ae73f4d5755bafa6b8a869cc1442c6.tar.gz gentoo-710052f8e8ae73f4d5755bafa6b8a869cc1442c6.tar.bz2 gentoo-710052f8e8ae73f4d5755bafa6b8a869cc1442c6.zip |
sci-electronics/kicad-symbols: 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-symbols/kicad-symbols-6.0.0_rc1.ebuild | 6 | ||||
-rw-r--r-- | sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sci-electronics/kicad-symbols/kicad-symbols-6.0.0_rc1.ebuild b/sci-electronics/kicad-symbols/kicad-symbols-6.0.0_rc1.ebuild index 627567d8a4ff..1d8a215b0c5a 100644 --- a/sci-electronics/kicad-symbols/kicad-symbols-6.0.0_rc1.ebuild +++ b/sci-electronics/kicad-symbols/kicad-symbols-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-symbols/kicad-symbols-9999.ebuild b/sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild index 798f34323515..41069e1a97ab 100644 --- a/sci-electronics/kicad-symbols/kicad-symbols-9999.ebuild +++ b/sci-electronics/kicad-symbols/kicad-symbols-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 |