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 5B6C7138331 for ; Fri, 23 Mar 2018 01:36:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33E4DE07EF; Fri, 23 Mar 2018 01:36:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 084BFE07EF for ; Fri, 23 Mar 2018 01:36:36 +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 694DB335C8B for ; Fri, 23 Mar 2018 01:36:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DD525265 for ; Fri, 23 Mar 2018 01:36:33 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1521768892.ac9080851649f3d88fd86a47fbe7e40a08c507cf.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/fuse/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/fuse/fuse-3.2.1.ebuild X-VCS-Directories: sys-fs/fuse/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: ac9080851649f3d88fd86a47fbe7e40a08c507cf X-VCS-Branch: master Date: Fri, 23 Mar 2018 01:36:33 +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: cc915d59-c8b8-401b-abc4-09facee85739 X-Archives-Hash: c8d1321af7add594c95931a14f8491cd commit: ac9080851649f3d88fd86a47fbe7e40a08c507cf Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Wed Mar 21 02:27:40 2018 +0000 Commit: Tim Harder gentoo org> CommitDate: Fri Mar 23 01:34:52 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac908085 sys-fs/fuse: Use python-any-r1.eclass instead of python-single-r1.eclass. Closes: https://bugs.gentoo.org/651048 sys-fs/fuse/fuse-3.2.1.ebuild | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/sys-fs/fuse/fuse-3.2.1.ebuild b/sys-fs/fuse/fuse-3.2.1.ebuild index 9da51f7e84c..2514b6960a7 100644 --- a/sys-fs/fuse/fuse-3.2.1.ebuild +++ b/sys-fs/fuse/fuse-3.2.1.ebuild @@ -4,7 +4,7 @@ EAPI=6 PYTHON_COMPAT=( python3_{4,5,6} ) -inherit meson multilib-minimal flag-o-matic python-single-r1 +inherit meson multilib-minimal flag-o-matic python-any-r1 DESCRIPTION="An interface for filesystems implemented in userspace" HOMEPAGE="https://github.com/libfuse/libfuse" @@ -14,18 +14,24 @@ LICENSE="GPL-2 LGPL-2.1" SLOT="3" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" DEPEND="virtual/pkgconfig test? ( ${PYTHON_DEPS} - dev-python/pytest[${PYTHON_USEDEP}] - ) - " + $(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]') + )" RDEPEND="sys-fs/fuse-common" DOCS=( AUTHORS ChangeLog.rst README.md doc/README.NFS doc/kernel.txt ) +python_check_deps() { + has_version "dev-python/pytest[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { default @@ -45,7 +51,7 @@ multilib_src_compile() { } multilib_src_test() { - python3 -m pytest test || die + ${EPYTHON} -m pytest test || die } multilib_src_install() {