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 9F54D138334 for ; Fri, 30 Aug 2019 15:34:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C07A6E0856; Fri, 30 Aug 2019 15:34:22 +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 A7791E0856 for ; Fri, 30 Aug 2019 15:34:22 +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 9CA5C34A6E1 for ; Fri, 30 Aug 2019 15:34:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CCAC9720 for ; Fri, 30 Aug 2019 15:34:19 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1567179160.5ea17e6b6a9f10ebb2edcacd6a73391029ee6ba5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-firmware/nvidia-firmware/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-firmware/nvidia-firmware/nvidia-firmware-325.15.ebuild X-VCS-Directories: sys-firmware/nvidia-firmware/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5ea17e6b6a9f10ebb2edcacd6a73391029ee6ba5 X-VCS-Branch: master Date: Fri, 30 Aug 2019 15:34:19 +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: 8d770200-11b5-4f1d-a7fc-377c23b2269f X-Archives-Hash: 5623d222a7683bcbc7b5c42b265eee63 commit: 5ea17e6b6a9f10ebb2edcacd6a73391029ee6ba5 Author: Michał Górny gentoo org> AuthorDate: Fri Aug 30 15:32:40 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Aug 30 15:32:40 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ea17e6b sys-firmware/nvidia-firmware: Backport python-any-r1 usage Signed-off-by: Michał Górny gentoo.org> sys-firmware/nvidia-firmware/nvidia-firmware-325.15.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys-firmware/nvidia-firmware/nvidia-firmware-325.15.ebuild b/sys-firmware/nvidia-firmware/nvidia-firmware-325.15.ebuild index 551be618ef3..dd9d399df59 100644 --- a/sys-firmware/nvidia-firmware/nvidia-firmware-325.15.ebuild +++ b/sys-firmware/nvidia-firmware/nvidia-firmware-325.15.ebuild @@ -3,7 +3,8 @@ EAPI=5 -inherit unpacker +PYTHON_COMPAT=( python2_7 ) +inherit python-any-r1 unpacker NV_URI="http://us.download.nvidia.com/XFree86/" X86_NV_PACKAGE="NVIDIA-Linux-x86-${PV}" @@ -19,7 +20,7 @@ LICENSE="MIT NVIDIA-r2" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND="=dev-lang/python-2*" +DEPEND="${PYTHON_DEPS}" RDEPEND="" RESTRICT="bindist mirror" @@ -33,7 +34,7 @@ src_unpack() { } src_compile() { - python2 "${DISTDIR}"/nvidia_extract_firmware-${PV}.py || die "Extracting firmwares failed..." + "${PYTHON}" "${DISTDIR}"/nvidia_extract_firmware-${PV}.py || die "Extracting firmwares failed..." } src_install() {