commit:     a719b7bb3630b896c52dd30425f8ac38d2f3e4ac
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 26 21:22:59 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Apr 26 21:25:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a719b7bb

app-emulation/docker: restrict tests

unfortunately tests require priveleges and fetching from network

Closes: https://bugs.gentoo.org/785586
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 app-emulation/docker/docker-19.03.15.ebuild   | 2 +-
 app-emulation/docker/docker-20.10.5.ebuild    | 2 +-
 app-emulation/docker/docker-20.10.6-r1.ebuild | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-emulation/docker/docker-19.03.15.ebuild 
b/app-emulation/docker/docker-19.03.15.ebuild
index 264b79cadde..34156fd7f94 100644
--- a/app-emulation/docker/docker-19.03.15.ebuild
+++ b/app-emulation/docker/docker-19.03.15.ebuild
@@ -61,7 +61,7 @@ RDEPEND="
        container-init? ( >=sys-process/tini-0.18.0[static] )
 "
 
-RESTRICT="installsources strip"
+RESTRICT="installsources strip test"
 
 S="${WORKDIR}/${P}/src/${EGO_PN}"
 

diff --git a/app-emulation/docker/docker-20.10.5.ebuild 
b/app-emulation/docker/docker-20.10.5.ebuild
index 0d576b0ffc8..7742d1fc165 100644
--- a/app-emulation/docker/docker-20.10.5.ebuild
+++ b/app-emulation/docker/docker-20.10.5.ebuild
@@ -50,7 +50,7 @@ BDEPEND="
        virtual/pkgconfig
 "
 
-RESTRICT="installsources strip"
+RESTRICT="installsources strip test"
 
 S="${WORKDIR}/${P}/src/${EGO_PN}"
 

diff --git a/app-emulation/docker/docker-20.10.6-r1.ebuild 
b/app-emulation/docker/docker-20.10.6-r1.ebuild
index 2b99383d6b7..b217d40ae52 100644
--- a/app-emulation/docker/docker-20.10.6-r1.ebuild
+++ b/app-emulation/docker/docker-20.10.6-r1.ebuild
@@ -49,8 +49,8 @@ BDEPEND="
        dev-go/go-md2man
        virtual/pkgconfig
 "
-
-RESTRICT="installsources strip"
+# tests require running dockerd as root and downloading containers
+RESTRICT="installsources strip test"
 
 S="${WORKDIR}/${P}/src/${EGO_PN}"
 

Reply via email to