commit:     9cf4ab40d2872f143f717c1be7031df494beaa0b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 14:12:03 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:22:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cf4ab40

games-strategy/freeorion: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 games-strategy/freeorion/freeorion-0.4.7.1-r4.ebuild                | 6 ++++--
 ...n-0.4.8_p20190501.ebuild => freeorion-0.4.8_p20190501-r1.ebuild} | 6 ++++--
 games-strategy/freeorion/freeorion-9999.ebuild                      | 6 ++++--
 3 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/games-strategy/freeorion/freeorion-0.4.7.1-r4.ebuild 
b/games-strategy/freeorion/freeorion-0.4.7.1-r4.ebuild
index e827e00ef9e..3811c4a2574 100644
--- a/games-strategy/freeorion/freeorion-0.4.7.1-r4.ebuild
+++ b/games-strategy/freeorion/freeorion-0.4.7.1-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -26,7 +26,9 @@ IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
-       >=dev-libs/boost-1.56:=[python,threads,${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-libs/boost-1.56:=[python,threads,${PYTHON_MULTI_USEDEP}]
+       ')
        media-libs/freealut
        media-libs/freetype
        media-libs/glew:=

diff --git a/games-strategy/freeorion/freeorion-0.4.8_p20190501.ebuild 
b/games-strategy/freeorion/freeorion-0.4.8_p20190501-r1.ebuild
similarity index 92%
rename from games-strategy/freeorion/freeorion-0.4.8_p20190501.ebuild
rename to games-strategy/freeorion/freeorion-0.4.8_p20190501-r1.ebuild
index 3aea6bd3b5d..5bf1f6f4f99 100644
--- a/games-strategy/freeorion/freeorion-0.4.8_p20190501.ebuild
+++ b/games-strategy/freeorion/freeorion-0.4.8_p20190501-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -34,7 +34,9 @@ BDEPEND="
        virtual/pkgconfig
 "
 RDEPEND="
-       >=dev-libs/boost-1.58:=[python,threads,${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-libs/boost-1.58:=[python,threads,${PYTHON_MULTI_USEDEP}]
+       ')
        !dedicated? (
                media-libs/freealut
                >=media-libs/freetype-2.5.5

diff --git a/games-strategy/freeorion/freeorion-9999.ebuild 
b/games-strategy/freeorion/freeorion-9999.ebuild
index 3aea6bd3b5d..5bf1f6f4f99 100644
--- a/games-strategy/freeorion/freeorion-9999.ebuild
+++ b/games-strategy/freeorion/freeorion-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -34,7 +34,9 @@ BDEPEND="
        virtual/pkgconfig
 "
 RDEPEND="
-       >=dev-libs/boost-1.58:=[python,threads,${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-libs/boost-1.58:=[python,threads,${PYTHON_MULTI_USEDEP}]
+       ')
        !dedicated? (
                media-libs/freealut
                >=media-libs/freetype-2.5.5

Reply via email to