From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0E1E11384B4 for ; Thu, 3 Dec 2015 18:39:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E40B21C01F; Thu, 3 Dec 2015 18:39:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 17F1E21C01F for ; Thu, 3 Dec 2015 18:39:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0BD2434086E for ; Thu, 3 Dec 2015 18:39:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A485AB5D for ; Thu, 3 Dec 2015 18:39:39 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1449167974.333a65ec4744d0d64362756ea88ec0f3b855d603.pesa@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/PyQt5/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/PyQt5/PyQt5-5.5.1.ebuild dev-python/PyQt5/PyQt5-5.5.ebuild X-VCS-Directories: dev-python/PyQt5/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: 333a65ec4744d0d64362756ea88ec0f3b855d603 X-VCS-Branch: master Date: Thu, 3 Dec 2015 18:39:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 40903ba6-3ae2-4759-8061-b0b78c4ce002 X-Archives-Hash: ecab4d55ad943c56d806793661d6f8c5 commit: 333a65ec4744d0d64362756ea88ec0f3b855d603 Author: Davide Pesavento gentoo org> AuthorDate: Thu Dec 3 18:38:50 2015 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Thu Dec 3 18:39:34 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=333a65ec dev-python/PyQt5: add several missing REQUIRED_USE Apparently configure.py does not list all these dependencies, and does not check if they are satisfied at build time. But their lack causes ImportErrors at runtime. Gentoo-Bug: 567394 Package-Manager: portage-2.2.26 dev-python/PyQt5/PyQt5-5.5.1.ebuild | 14 ++++++++++++++ dev-python/PyQt5/PyQt5-5.5.ebuild | 2 ++ 2 files changed, 16 insertions(+) diff --git a/dev-python/PyQt5/PyQt5-5.5.1.ebuild b/dev-python/PyQt5/PyQt5-5.5.1.ebuild index 24b724f..b0d903d 100644 --- a/dev-python/PyQt5/PyQt5-5.5.1.ebuild +++ b/dev-python/PyQt5/PyQt5-5.5.1.ebuild @@ -29,14 +29,28 @@ KEYWORDS="~amd64 ~arm ~x86" IUSE="dbus debug declarative designer doc examples gles2 gui help multimedia network opengl positioning printsupport sensors serialport sql svg testlib webchannel webkit websockets widgets x11extras xmlpatterns" + +# The requirements below were extracted from configure.py +# and from the output of 'grep -r "%Import " "${S}"/sip' REQUIRED_USE=" ${PYTHON_REQUIRED_USE} + declarative? ( gui network ) + designer? ( widgets ) + help? ( gui widgets ) + multimedia? ( gui network ) + opengl? ( gui widgets ) positioning? ( gui ) + printsupport? ( widgets ) sensors? ( gui ) serialport? ( gui ) sql? ( widgets ) + svg? ( gui widgets ) testlib? ( widgets ) webchannel? ( network ) + webkit? ( gui network printsupport widgets ) + websockets? ( network ) + widgets? ( gui ) + xmlpatterns? ( network ) " # Minimal supported version of Qt. diff --git a/dev-python/PyQt5/PyQt5-5.5.ebuild b/dev-python/PyQt5/PyQt5-5.5.ebuild index 6ce5a51..f7a2f64 100644 --- a/dev-python/PyQt5/PyQt5-5.5.ebuild +++ b/dev-python/PyQt5/PyQt5-5.5.ebuild @@ -29,6 +29,8 @@ KEYWORDS="amd64 arm ~x86" IUSE="dbus debug declarative designer doc examples gles2 gui help multimedia network opengl positioning printsupport sensors serialport sql svg testlib webchannel webkit websockets widgets x11extras xmlpatterns" + +# The requirements below were extracted from configure.py REQUIRED_USE=" ${PYTHON_REQUIRED_USE} positioning? ( gui )