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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 24BE0158043 for ; Sat, 13 Apr 2024 18:20:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B47BE2A26; Sat, 13 Apr 2024 18:19:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EA7B1E2A24 for ; Sat, 13 Apr 2024 18:19:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A0BD343348 for ; Sat, 13 Apr 2024 18:19:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68FDCAB7 for ; Sat, 13 Apr 2024 18:19:56 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1713031941.a61d44c66bf643f46e1b23514430feacf739ff4e.floppym@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.16.2.ebuild X-VCS-Directories: sys-fs/fuse/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: a61d44c66bf643f46e1b23514430feacf739ff4e X-VCS-Branch: master Date: Sat, 13 Apr 2024 18:19:56 +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: 1b7851d4-46b8-4e02-b1e9-8d7b23001b1a X-Archives-Hash: 0f9860051329a922aa1c77b5450a6f19 commit: a61d44c66bf643f46e1b23514430feacf739ff4e Author: Mike Gilbert gentoo org> AuthorDate: Sat Apr 13 18:05:21 2024 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sat Apr 13 18:12:21 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a61d44c6 sys-fs/fuse: improve test phase Set PROPERTIES="test_privileged". Add missing test dep. Signed-off-by: Mike Gilbert gentoo.org> sys-fs/fuse/fuse-3.16.2.ebuild | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/sys-fs/fuse/fuse-3.16.2.ebuild b/sys-fs/fuse/fuse-3.16.2.ebuild index 10840ae807b0..ff659036c273 100644 --- a/sys-fs/fuse/fuse-3.16.2.ebuild +++ b/sys-fs/fuse/fuse-3.16.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,13 +14,15 @@ LICENSE="GPL-2 LGPL-2.1" SLOT="3" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="+suid test" -RESTRICT="!test? ( test ) test? ( userpriv )" +RESTRICT="!test? ( test )" +PROPERTIES="test_privileged" BDEPEND=" virtual/pkgconfig test? ( ${PYTHON_DEPS} $(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-python/looseversion[${PYTHON_USEDEP}]') ) " RDEPEND=">=sys-fs/fuse-common-3.3.0-r1" @@ -28,7 +30,8 @@ RDEPEND=">=sys-fs/fuse-common-3.3.0-r1" DOCS=( AUTHORS ChangeLog.rst README.md doc/README.NFS doc/kernel.txt ) python_check_deps() { - python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" + python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" && + python_has_version "dev-python/looseversion[${PYTHON_USEDEP}]" } pkg_setup() { @@ -50,11 +53,11 @@ multilib_src_configure() { } src_test() { - if has sandbox ${FEATURES}; then - ewarn "Sandbox enabled, skipping tests" - else + ( + addwrite /dev/cuse + addwrite /dev/fuse multilib-minimal_src_test - fi + ) || die } multilib_src_test() {