From: "Alexandre Restovtsev" <tetromino@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: net-libs/webkit-gtk/
Date: Sun, 30 Oct 2011 02:57:48 +0000 (UTC) [thread overview]
Message-ID: <43ca4d99fc537fb7c963941fe5526b349a27123f.tetromino@gentoo> (raw)
commit: 43ca4d99fc537fb7c963941fe5526b349a27123f
Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 30 02:52:32 2011 +0000
Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Sun Oct 30 02:56:21 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=43ca4d99
net-libs/webkit-gtk: python2 needed at build time
webkit-gtk-1.7 uses several python scripts at build time. At least one
of them (CodeGeneratorInspector.py) is python2-only.
Thanks to David Hicks (dhx1) for reporting on IRC.
---
net-libs/webkit-gtk/webkit-gtk-1.7.1-r200.ebuild | 10 +++++++++-
net-libs/webkit-gtk/webkit-gtk-1.7.1-r300.ebuild | 10 +++++++++-
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/net-libs/webkit-gtk/webkit-gtk-1.7.1-r200.ebuild b/net-libs/webkit-gtk/webkit-gtk-1.7.1-r200.ebuild
index 31710c3..1e7d478 100644
--- a/net-libs/webkit-gtk/webkit-gtk-1.7.1-r200.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-1.7.1-r200.ebuild
@@ -4,7 +4,8 @@
EAPI="4"
-inherit autotools eutils flag-o-matic eutils virtualx
+# Don't define PYTHON_DEPEND: python only needed at build time
+inherit autotools eutils flag-o-matic eutils python virtualx
MY_P="webkit-${PV}"
DESCRIPTION="Open source web browser engine"
@@ -49,6 +50,7 @@ RDEPEND="
webgl? ( virtual/opengl )
"
DEPEND="${RDEPEND}
+ =dev-lang/python-2*
>=sys-devel/flex-2.5.33
sys-devel/gettext
virtual/yacc
@@ -60,6 +62,12 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
+pkg_setup() {
+ # Needed for CodeGeneratorInspector.py
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_prepare() {
DOCS="ChangeLog NEWS" # other ChangeLog files handled by src_install
diff --git a/net-libs/webkit-gtk/webkit-gtk-1.7.1-r300.ebuild b/net-libs/webkit-gtk/webkit-gtk-1.7.1-r300.ebuild
index f79732a..9888ea5 100644
--- a/net-libs/webkit-gtk/webkit-gtk-1.7.1-r300.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-1.7.1-r300.ebuild
@@ -4,7 +4,8 @@
EAPI="4"
-inherit autotools eutils flag-o-matic eutils virtualx
+# Don't define PYTHON_DEPEND: python only needed at build time
+inherit autotools eutils flag-o-matic eutils python virtualx
MY_P="webkit-${PV}"
DESCRIPTION="Open source web browser engine"
@@ -51,6 +52,7 @@ RDEPEND="
webgl? ( virtual/opengl )
"
DEPEND="${RDEPEND}
+ =dev-lang/python-2*
>=sys-devel/flex-2.5.33
sys-devel/gettext
virtual/yacc
@@ -63,6 +65,12 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
+pkg_setup() {
+ # Needed for CodeGeneratorInspector.py
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_prepare() {
DOCS="ChangeLog NEWS" # other ChangeLog files handled by src_install
next reply other threads:[~2011-10-30 2:57 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-30 2:57 Alexandre Restovtsev [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-05-25 14:45 [gentoo-commits] proj/gnome:master commit in: net-libs/webkit-gtk/ Gilles Dartiguelongue
2015-05-25 9:18 Gilles Dartiguelongue
2014-12-22 23:50 Gilles Dartiguelongue
2014-11-30 20:14 Gilles Dartiguelongue
2014-11-03 23:24 Gilles Dartiguelongue
2014-11-03 23:24 Gilles Dartiguelongue
2014-10-19 21:59 Gilles Dartiguelongue
2014-02-12 23:48 Gilles Dartiguelongue
2013-11-27 23:32 Gilles Dartiguelongue
2013-11-26 21:54 Gilles Dartiguelongue
2013-11-26 21:47 Gilles Dartiguelongue
2013-11-17 23:35 Gilles Dartiguelongue
2013-11-17 23:35 Gilles Dartiguelongue
2013-01-15 15:13 Priit Laes
2013-01-01 19:36 Alexandre Rostovtsev
2012-12-27 4:55 Alexandre Rostovtsev
2012-12-26 7:59 Gilles Dartiguelongue
2012-12-25 23:55 Gilles Dartiguelongue
2012-12-25 15:03 Priit Laes
2012-10-28 18:54 Alexandre Rostovtsev
2012-10-28 9:46 Priit Laes
2012-10-28 8:10 Alexandre Rostovtsev
2012-10-28 7:08 Alexandre Rostovtsev
2012-10-17 15:03 Priit Laes
2012-09-05 15:09 Priit Laes
2012-08-24 21:35 Priit Laes
2012-07-26 14:40 Nirbheek Chauhan
2012-07-22 4:41 Priit Laes
2012-04-05 21:43 Alexandre Restovtsev
2012-03-25 0:10 Alexandre Restovtsev
2012-03-24 23:40 Alexandre Restovtsev
2012-03-17 19:33 Alexandre Restovtsev
2012-03-10 11:08 Priit Laes
2012-03-05 7:17 Alexandre Restovtsev
2012-02-27 3:30 Alexandre Restovtsev
2012-02-08 7:52 Priit Laes
2012-01-26 22:47 Priit Laes
2011-10-29 11:03 Priit Laes
2011-05-22 20:47 Priit Laes
2011-04-27 22:22 Gilles Dartiguelongue
2011-04-10 18:04 Gilles Dartiguelongue
2011-02-23 20:28 Priit Laes
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=43ca4d99fc537fb7c963941fe5526b349a27123f.tetromino@gentoo \
--to=tetromino@gmail.com \
--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