1 |
commit: ee860a5f98baac4ada1dbe39ffe085b64f32e358 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 12:19:33 2011 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 12:19:33 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=ee860a5f |
7 |
|
8 |
Move mirroring restriction to the eclass. |
9 |
|
10 |
--- |
11 |
pmstestsuite/library/standard/workdir_fallback.py | 1 - |
12 |
pmstestsuite/repository/pms_eclass.py | 1 + |
13 |
2 files changed, 1 insertions(+), 1 deletions(-) |
14 |
|
15 |
diff --git a/pmstestsuite/library/standard/workdir_fallback.py b/pmstestsuite/library/standard/workdir_fallback.py |
16 |
index de3c3ce..142c33c 100644 |
17 |
--- a/pmstestsuite/library/standard/workdir_fallback.py |
18 |
+++ b/pmstestsuite/library/standard/workdir_fallback.py |
19 |
@@ -15,7 +15,6 @@ class WorkdirFallbackTest(DBusEbuildTestCase): |
20 |
# 3) have one of the further phase funcs. |
21 |
|
22 |
ebuild_vars = { |
23 |
- 'RESTRICT': 'mirror', |
24 |
'SRC_URI': 'http://www.gentoo.org/ -> pms-test-suite-dummy.html', |
25 |
'S': '${WORKDIR}/nonexistent' |
26 |
} |
27 |
|
28 |
diff --git a/pmstestsuite/repository/pms_eclass.py b/pmstestsuite/repository/pms_eclass.py |
29 |
index b17714e..0d26d59 100644 |
30 |
--- a/pmstestsuite/repository/pms_eclass.py |
31 |
+++ b/pmstestsuite/repository/pms_eclass.py |
32 |
@@ -16,6 +16,7 @@ SLOT=${PV} |
33 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" |
34 |
IUSE="" |
35 |
|
36 |
+RESTRICT="mirror" |
37 |
S=${WORKDIR} |
38 |
""" |