public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: app-editors/gedit-plugins/
Date: Mon,  1 Dec 2014 11:48:30 +0000 (UTC)	[thread overview]
Message-ID: <1417434352.a020a0b83b88165b90f6d887cf140485c9292660.mgorny@gentoo> (raw)

commit:     a020a0b83b88165b90f6d887cf140485c9292660
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  1 11:45:52 2014 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec  1 11:45:52 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=a020a0b8

app-editors/gedit-plugins: fix Python support

Add a proper REQUIRED_USE for libpeas compatibility, use python_setup()
to use the correct implementation.

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

---
 app-editors/gedit-plugins/gedit-plugins-3.14.1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/app-editors/gedit-plugins/gedit-plugins-3.14.1.ebuild b/app-editors/gedit-plugins/gedit-plugins-3.14.1.ebuild
index 641d4c8..f009722 100644
--- a/app-editors/gedit-plugins/gedit-plugins-3.14.1.ebuild
+++ b/app-editors/gedit-plugins/gedit-plugins-3.14.1.ebuild
@@ -5,7 +5,7 @@
 EAPI="5"
 GCONF_DEBUG="no"
 GNOME2_LA_PUNT="yes" # plugins are dlopened
-PYTHON_COMPAT=( python3_{2,3} )
+PYTHON_COMPAT=( python3_{3,4} )
 PYTHON_REQ_USE="xml"
 
 inherit eutils gnome2 multilib python-r1
@@ -19,12 +19,13 @@ SLOT="0"
 
 IUSE_plugins="charmap git terminal zeitgeist"
 IUSE="+python ${IUSE_plugins}"
+# python-single-r1 would request disabling PYTHON_TARGETS on libpeas
 REQUIRED_USE="
 	charmap? ( python )
 	git? ( python )
+	python? ( ^^ ( $(python_gen_useflags '*') ) )
 	terminal? ( python )
 	zeitgeist? ( python )
-	python? ( ${REQUIRED_PYTHON_USE} )
 "
 
 RDEPEND="
@@ -56,6 +57,10 @@ DEPEND="${RDEPEND}
 	virtual/pkgconfig
 "
 
+pkg_setup() {
+	use python && [[ ${MERGE_TYPE} != binary ]] && python_setup
+}
+
 src_configure() {
 	gnome2_src_configure \
 		$(use_enable python) \


             reply	other threads:[~2014-12-01 11:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-01 11:48 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-06-09 13:48 [gentoo-commits] proj/gnome:master commit in: app-editors/gedit-plugins/ Gilles Dartiguelongue
2014-12-15 23:28 Gilles Dartiguelongue
2014-11-23 19:37 Gilles Dartiguelongue
2014-10-26 15:04 Gilles Dartiguelongue
2014-10-06 23:06 Gilles Dartiguelongue
2014-04-20 22:57 Gilles Dartiguelongue
2013-12-12 23:21 Gilles Dartiguelongue
2013-12-01 18:42 Gilles Dartiguelongue
2012-12-17  8:14 Gilles Dartiguelongue
2012-12-10  2:05 Alexandre Rostovtsev
2012-11-23 22:13 Gilles Dartiguelongue
2011-10-18  7:37 Alexandre Restovtsev
2011-08-14 21:13 Alexandre Restovtsev
2011-08-02  3:03 Alexandre Restovtsev
2011-07-06 16:26 Alexandre Restovtsev
2011-06-24 17:35 Alexandre Restovtsev
2011-06-02 23:59 Nirbheek Chauhan
2011-06-02 14:43 Nirbheek Chauhan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1417434352.a020a0b83b88165b90f6d887cf140485c9292660.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox