commit:     06a70ae1dc4aec5d1a6a3493d10f2e8f8e0b7c6a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 15:32:58 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 16:34:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06a70ae1

dev-python/pycuda: [QA] Fix MissingTestRestrict

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pycuda/pycuda-2012.1.ebuild   | 4 ++--
 dev-python/pycuda/pycuda-2013.1.1.ebuild | 4 ++--
 dev-python/pycuda/pycuda-2014.1.ebuild   | 2 +-
 dev-python/pycuda/pycuda-2016.1.2.ebuild | 2 +-
 dev-python/pycuda/pycuda-2017.1.ebuild   | 2 +-
 dev-python/pycuda/pycuda-2018.1.1.ebuild | 2 +-
 dev-python/pycuda/pycuda-9999.ebuild     | 2 +-
 7 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/dev-python/pycuda/pycuda-2012.1.ebuild 
b/dev-python/pycuda/pycuda-2012.1.ebuild
index a2b3ca5a881..21e49e48606 100644
--- a/dev-python/pycuda/pycuda-2012.1.ebuild
+++ b/dev-python/pycuda/pycuda-2012.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 
 # We need write acccess /dev/nvidia0 and /dev/nvidiactl and the portage
 # user is (usually) not in the video group
-RESTRICT="userpriv"
+RESTRICT="userpriv !test? ( test )"
 
 python_prepare_all() {
        cuda_sanitize

diff --git a/dev-python/pycuda/pycuda-2013.1.1.ebuild 
b/dev-python/pycuda/pycuda-2013.1.1.ebuild
index 64034046183..46a77f6203c 100644
--- a/dev-python/pycuda/pycuda-2013.1.1.ebuild
+++ b/dev-python/pycuda/pycuda-2013.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 
 # We need write acccess /dev/nvidia0 and /dev/nvidiactl and the portage
 # user is (usually) not in the video group
-RESTRICT="userpriv"
+RESTRICT="userpriv !test? ( test )"
 
 python_prepare_all() {
        cuda_sanitize

diff --git a/dev-python/pycuda/pycuda-2014.1.ebuild 
b/dev-python/pycuda/pycuda-2014.1.ebuild
index 211eb6a76d7..e72781d1161 100644
--- a/dev-python/pycuda/pycuda-2014.1.ebuild
+++ b/dev-python/pycuda/pycuda-2014.1.ebuild
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 
 # We need write acccess /dev/nvidia0 and /dev/nvidiactl and the portage
 # user is (usually) not in the video group
-RESTRICT="userpriv"
+RESTRICT="userpriv !test? ( test )"
 
 python_prepare_all() {
        cuda_sanitize

diff --git a/dev-python/pycuda/pycuda-2016.1.2.ebuild 
b/dev-python/pycuda/pycuda-2016.1.2.ebuild
index 4267fea04c0..9875a9045d8 100644
--- a/dev-python/pycuda/pycuda-2016.1.2.ebuild
+++ b/dev-python/pycuda/pycuda-2016.1.2.ebuild
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 
 # We need write acccess /dev/nvidia0 and /dev/nvidiactl and the portage
 # user is (usually) not in the video group
-RESTRICT="userpriv"
+RESTRICT="userpriv !test? ( test )"
 
 python_prepare_all() {
        cuda_sanitize

diff --git a/dev-python/pycuda/pycuda-2017.1.ebuild 
b/dev-python/pycuda/pycuda-2017.1.ebuild
index d0aeb99c15d..7cffaca8260 100644
--- a/dev-python/pycuda/pycuda-2017.1.ebuild
+++ b/dev-python/pycuda/pycuda-2017.1.ebuild
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 
 # We need write acccess /dev/nvidia0 and /dev/nvidiactl and the portage
 # user is (usually) not in the video group
-RESTRICT="userpriv"
+RESTRICT="userpriv !test? ( test )"
 
 python_prepare_all() {
        cuda_sanitize

diff --git a/dev-python/pycuda/pycuda-2018.1.1.ebuild 
b/dev-python/pycuda/pycuda-2018.1.1.ebuild
index ea003a8275d..23d3223f3ff 100644
--- a/dev-python/pycuda/pycuda-2018.1.1.ebuild
+++ b/dev-python/pycuda/pycuda-2018.1.1.ebuild
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 
 # We need write acccess /dev/nvidia0 and /dev/nvidiactl and the portage
 # user is (usually) not in the video group
-RESTRICT="userpriv"
+RESTRICT="userpriv !test? ( test )"
 
 python_prepare_all() {
        cuda_sanitize

diff --git a/dev-python/pycuda/pycuda-9999.ebuild 
b/dev-python/pycuda/pycuda-9999.ebuild
index b289dbcddc6..5b3ba1b64de 100644
--- a/dev-python/pycuda/pycuda-9999.ebuild
+++ b/dev-python/pycuda/pycuda-9999.ebuild
@@ -33,7 +33,7 @@ DEPEND="${RDEPEND}
 
 # We need write acccess /dev/nvidia0 and /dev/nvidiactl and the portage
 # user is (usually) not in the video group
-RESTRICT="userpriv"
+RESTRICT="userpriv !test? ( test )"
 
 python_prepare_all() {
        cuda_sanitize

Reply via email to