commit:     8d53db0b2e75d40b4e5dee316647cd3d531051fd
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 20 21:13:40 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Aug 20 21:14:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d53db0b

games-strategy/wesnoth: Only keyword release versions

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 games-strategy/wesnoth/wesnoth-1.14.7.ebuild | 5 ++++-
 games-strategy/wesnoth/wesnoth-1.15.0.ebuild | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/games-strategy/wesnoth/wesnoth-1.14.7.ebuild 
b/games-strategy/wesnoth/wesnoth-1.14.7.ebuild
index e0b1b37602e..e4bfda3bc80 100644
--- a/games-strategy/wesnoth/wesnoth-1.14.7.ebuild
+++ b/games-strategy/wesnoth/wesnoth-1.14.7.ebuild
@@ -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="

diff --git a/games-strategy/wesnoth/wesnoth-1.15.0.ebuild 
b/games-strategy/wesnoth/wesnoth-1.15.0.ebuild
index 6ab67dcc94a..f45abfd28f2 100644
--- a/games-strategy/wesnoth/wesnoth-1.15.0.ebuild
+++ b/games-strategy/wesnoth/wesnoth-1.15.0.ebuild
@@ -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="

Reply via email to