commit:     fa061778caa5581ae0fd8fb2a4e90aa24667254d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 25 21:08:27 2014 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 25 21:08:27 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=fa061778

dev-libs/libpeas: enforce at most one Python 3.* version

Force only one Python 3.* version being enabled for the library
design allows for only one Python 3 plugin loader. The remaining
implementations were silently discarded and could have caused
issues for reverse dependencies.

Package-Manager: portage-2.2.14
Manifest-Sign-Key: EFB4464E!

---
 dev-libs/libpeas/libpeas-1.12.1.ebuild | 2 +-
 dev-libs/libpeas/libpeas-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libpeas/libpeas-1.12.1.ebuild 
b/dev-libs/libpeas/libpeas-1.12.1.ebuild
index 3fc2a32..ccacf2e 100644
--- a/dev-libs/libpeas/libpeas-1.12.1.ebuild
+++ b/dev-libs/libpeas/libpeas-1.12.1.ebuild
@@ -16,7 +16,7 @@ LICENSE="LGPL-2+"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd 
~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
 IUSE="+gtk glade +python seed"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ?? ( $(python_gen_useflags 
'python3*') ) )"
 
 RDEPEND="
        >=dev-libs/glib-2.32:2

diff --git a/dev-libs/libpeas/libpeas-9999.ebuild 
b/dev-libs/libpeas/libpeas-9999.ebuild
index 514c3df..ed81c96 100644
--- a/dev-libs/libpeas/libpeas-9999.ebuild
+++ b/dev-libs/libpeas/libpeas-9999.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="http://developer.gnome.org/libpeas/stable/";
 LICENSE="LGPL-2+"
 SLOT="0"
 IUSE="+gtk glade +python seed"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ?? ( $(python_gen_useflags 
'python3*') ) )"
 if [[ ${PV} = 9999 ]]; then
        IUSE="${IUSE} doc"
        KEYWORDS=""

Reply via email to