summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-firmware/nvidia-firmware/nvidia-firmware-340.32.ebuild')
-rw-r--r--sys-firmware/nvidia-firmware/nvidia-firmware-340.32.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys-firmware/nvidia-firmware/nvidia-firmware-340.32.ebuild b/sys-firmware/nvidia-firmware/nvidia-firmware-340.32.ebuild
index 76ab1901a344..c8ab323ed06d 100644
--- a/sys-firmware/nvidia-firmware/nvidia-firmware-340.32.ebuild
+++ b/sys-firmware/nvidia-firmware/nvidia-firmware-340.32.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-firmware/nvidia-firmware/nvidia-firmware-340.32.ebuild,v 1.1 2014/08/23 23:07:12 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-firmware/nvidia-firmware/nvidia-firmware-340.32.ebuild,v 1.2 2015/01/05 19:49:28 mgorny Exp $
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}"
@@ -20,7 +21,7 @@ LICENSE="MIT NVIDIA-r2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
-DEPEND="=dev-lang/python-2*"
+DEPEND="${PYTHON_DEPS}"
RDEPEND=""
RESTRICT="bindist mirror"
@@ -34,7 +35,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() {