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 C9690138334 for ; Tue, 16 Oct 2018 09:45:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE904E08F5; Tue, 16 Oct 2018 09:45:10 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 9252AE08F5 for ; Tue, 16 Oct 2018 09:45:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 4D205335CFE for ; Tue, 16 Oct 2018 09:45:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39699391 for ; Tue, 16 Oct 2018 09:45:05 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1539683096.54613df62106ec3c776eb3d6e429f0ad26b8b526.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libinput/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libinput/libinput-1.12.1-r1.ebuild X-VCS-Directories: dev-libs/libinput/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 54613df62106ec3c776eb3d6e429f0ad26b8b526 X-VCS-Branch: master Date: Tue, 16 Oct 2018 09:45:05 +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: 7314405f-4d90-47b0-81b7-e824fcfb4db1 X-Archives-Hash: 81acfca1d8eafd2baa98744db84279d8 commit: 54613df62106ec3c776eb3d6e429f0ad26b8b526 Author: Arfrever Frehtes Taifersar Arahesis gmail com> AuthorDate: Tue Oct 16 09:41:54 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Oct 16 09:44:56 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54613df6 dev-libs/libinput: implement usage of python-any-r1.eclass Closes: https://bugs.gentoo.org/665722 Signed-off-by: Lars Wendler gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-libs/libinput/libinput-1.12.1-r1.ebuild | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/dev-libs/libinput/libinput-1.12.1-r1.ebuild b/dev-libs/libinput/libinput-1.12.1-r1.ebuild index 6da9ac2bd8d..f62f6c75ec6 100644 --- a/dev-libs/libinput/libinput-1.12.1-r1.ebuild +++ b/dev-libs/libinput/libinput-1.12.1-r1.ebuild @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit meson udev +PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} ) + +inherit meson python-any-r1 udev DESCRIPTION="Library to handle input devices in Wayland" HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/" @@ -26,9 +28,11 @@ RDEPEND=" DEPEND="${RDEPEND} virtual/pkgconfig doc? ( - dev-python/CommonMark - dev-python/recommonmark - dev-python/sphinx + $(python_gen_any_dep ' + dev-python/CommonMark[${PYTHON_USEDEP}] + dev-python/recommonmark[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ') >=app-doc/doxygen-1.8.3 >=media-gfx/graphviz-2.38.0 ) @@ -38,6 +42,12 @@ DEPEND="${RDEPEND} # dev-util/valgrind # sys-libs/libunwind ) +python_check_deps() { + has_version "dev-python/CommonMark[${PYTHON_USEDEP}]" && \ + has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" && \ + has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + src_configure() { # gui can be built but will not be installed local emesonargs=(