games-strategy/wesnoth: Only keyword release versions
authorLars Wendler <polynomial-c@gentoo.org>
Tue, 20 Aug 2019 21:13:40 +0000 (23:13 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 20 Aug 2019 21:14:32 +0000 (23:14 +0200)
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
games-strategy/wesnoth/wesnoth-1.14.7.ebuild
games-strategy/wesnoth/wesnoth-1.15.0.ebuild

index e0b1b37602ec26794a8d3146982b025a44b8a80f..e4bfda3bc80360f989850cb3de65bf9dc2a96673 100644 (file)
@@ -11,7 +11,10 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+# uneven minor versions are development versions
+if [[ $(( $(ver_cut 2) % 2 )) == 0 ]] ; then
+       KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+fi
 IUSE="dbus dedicated doc fribidi libressl nls openmp server"
 
 RDEPEND="
index 6ab67dcc94a9b0a51a244f69282e97c96ceab301..f45abfd28f22f2742841b1a684786366a991e15a 100644 (file)
@@ -11,7 +11,10 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-#KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+# uneven minor versions are development versions
+if [[ $(( $(ver_cut 2) % 2 )) == 0 ]] ; then
+       KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+fi
 IUSE="dbus dedicated doc fribidi libressl nls server"
 
 RDEPEND="