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 6FAC31384B4 for ; Fri, 18 Dec 2015 17:19:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E9F9E07C7; Fri, 18 Dec 2015 17:19:31 +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 941E0E07C7 for ; Fri, 18 Dec 2015 17:19:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 641353406C2 for ; Fri, 18 Dec 2015 17:19:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 621E5C86 for ; Fri, 18 Dec 2015 17:19:25 +0000 (UTC) From: "Mike Frysinger" 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 Frysinger" Message-ID: <1450459091.7f873b4c39d17c82268c502cf470432939f5d01a.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/findutils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/findutils/findutils-4.5.14-r1.ebuild X-VCS-Directories: sys-apps/findutils/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 7f873b4c39d17c82268c502cf470432939f5d01a X-VCS-Branch: master Date: Fri, 18 Dec 2015 17:19:25 +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: 8ba9d895-5bfe-43df-a0b0-078eaed4ef67 X-Archives-Hash: 433209cc0e07dff69c20356c7a53f9ce commit: 7f873b4c39d17c82268c502cf470432939f5d01a Author: Mike Frysinger gentoo org> AuthorDate: Fri Dec 18 16:57:21 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Fri Dec 18 17:18:11 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f873b4c sys-apps/findutils: fix python handling when running tests #518838 sys-apps/findutils/findutils-4.5.14-r1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sys-apps/findutils/findutils-4.5.14-r1.ebuild b/sys-apps/findutils/findutils-4.5.14-r1.ebuild index 6d0ad70..f4f5a44 100644 --- a/sys-apps/findutils/findutils-4.5.14-r1.ebuild +++ b/sys-apps/findutils/findutils-4.5.14-r1.ebuild @@ -4,7 +4,9 @@ EAPI="4" -inherit eutils flag-o-matic toolchain-funcs +PYTHON_COMPAT=( python2_7 ) + +inherit eutils flag-o-matic toolchain-funcs python-any-r1 DESCRIPTION="GNU utilities for finding files" HOMEPAGE="https://www.gnu.org/software/findutils/" @@ -18,8 +20,13 @@ IUSE="debug nls selinux static" RDEPEND="selinux? ( sys-libs/libselinux ) nls? ( virtual/libintl )" DEPEND="${RDEPEND} + test? ( ${PYTHON_DEPS} ) nls? ( sys-devel/gettext )" +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { epatch "${FILESDIR}"/${P}-test-bashisms.patch #531020 # Don't build or install locate because it conflicts with slocate,