From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5A3E2138350 for ; Wed, 25 Mar 2020 20:33:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D18FE0DD5; Wed, 25 Mar 2020 20:33:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 83F32E0CE6 for ; Wed, 25 Mar 2020 20:33:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A959834F904 for ; Wed, 25 Mar 2020 20:33:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28F56199 for ; Wed, 25 Mar 2020 20:33:06 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1585168370.115cc90adfb3176abb9096fcaa06a0978e639470.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgusb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libgusb/libgusb-0.3.4.ebuild X-VCS-Directories: dev-libs/libgusb/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 115cc90adfb3176abb9096fcaa06a0978e639470 X-VCS-Branch: master Date: Wed, 25 Mar 2020 20:33:06 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bc317423-2019-4eb2-9b41-1cbd59d78cac X-Archives-Hash: 4f2e89e15ff9afcf6254aaed72f03d30 commit: 115cc90adfb3176abb9096fcaa06a0978e639470 Author: Matt Turner gentoo org> AuthorDate: Wed Mar 25 20:29:56 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Wed Mar 25 20:32:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=115cc90a dev-libs/libgusb: Depend on setuptools A new build-time script was added in 0.3.4 that imports pkg_resources and xml.etree.ElementTree. Closes: https://bugs.gentoo.org/714670 Signed-off-by: Matt Turner gentoo.org> dev-libs/libgusb/libgusb-0.3.4.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-libs/libgusb/libgusb-0.3.4.ebuild b/dev-libs/libgusb/libgusb-0.3.4.ebuild index f7b99287e23..c38c2990d9a 100644 --- a/dev-libs/libgusb/libgusb-0.3.4.ebuild +++ b/dev-libs/libgusb/libgusb-0.3.4.ebuild @@ -4,7 +4,10 @@ EAPI=7 VALA_USE_DEPEND="vapigen" -inherit meson multilib-minimal vala +PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE="xml(+)" + +inherit meson multilib-minimal python-any-r1 vala DESCRIPTION="GObject wrapper for libusb" HOMEPAGE="https://github.com/hughsie/libgusb" @@ -25,6 +28,7 @@ RDEPEND=" " DEPEND="${RDEPEND}" BDEPEND=" + $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') gtk-doc? ( app-text/docbook-xml-dtd:4.1.2 app-text/docbook-xml-dtd:4.4 @@ -36,6 +40,10 @@ BDEPEND=" RESTRICT="!test? ( test )" +python_check_deps() { + has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]" +} + src_prepare() { use vala && vala_src_prepare default