summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-01-05 19:49:28 +0000
committerMichał Górny <mgorny@gentoo.org>2015-01-05 19:49:28 +0000
commit9dc27c3f7242360dda52284cd2513af7c0726d88 (patch)
treedbcbf35621f68ac5713364c459b776450a4c6cae
parentDepend on dev-ruby/rdoc since virtual/ruby-rdoc is a noop these days. (diff)
downloadgentoo-2-9dc27c3f7242360dda52284cd2513af7c0726d88.tar.gz
gentoo-2-9dc27c3f7242360dda52284cd2513af7c0726d88.tar.bz2
gentoo-2-9dc27c3f7242360dda52284cd2513af7c0726d88.zip
Use python-any-r1.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
-rw-r--r--sys-firmware/nvidia-firmware/ChangeLog8
-rw-r--r--sys-firmware/nvidia-firmware/nvidia-firmware-340.32.ebuild11
2 files changed, 11 insertions, 8 deletions
diff --git a/sys-firmware/nvidia-firmware/ChangeLog b/sys-firmware/nvidia-firmware/ChangeLog
index c571e80665af..d346ecf5b67a 100644
--- a/sys-firmware/nvidia-firmware/ChangeLog
+++ b/sys-firmware/nvidia-firmware/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-firmware/nvidia-firmware
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-firmware/nvidia-firmware/ChangeLog,v 1.2 2014/08/23 23:07:12 idl0r Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-firmware/nvidia-firmware/ChangeLog,v 1.3 2015/01/05 19:49:28 mgorny Exp $
+
+ 05 Jan 2015; Michał Górny <mgorny@gentoo.org> nvidia-firmware-340.32.ebuild:
+ Use python-any-r1.
*nvidia-firmware-340.32 (23 Aug 2014)
@@ -13,4 +16,3 @@
17 Aug 2014; Christian Ruppert <idl0r@gentoo.org>
+nvidia-firmware-325.15.ebuild, +metadata.xml:
Initial import, bug 493216 - thanks to Ilia Mirkin <imirkin@alum.mit.edu>
-
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() {