From: Zac Medico Date: Wed, 8 Sep 2010 21:15:27 +0000 (-0700) Subject: Use RDEPEND for depclean tests since DEPEND is less relevant. X-Git-Tag: v2.2_rc78~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f9b4d6af2ac3beca6711ead002f1109d673a80a;p=portage.git Use RDEPEND for depclean tests since DEPEND is less relevant. --- diff --git a/pym/portage/tests/resolver/test_depclean.py b/pym/portage/tests/resolver/test_depclean.py index 8dd014118..3d53d6476 100644 --- a/pym/portage/tests/resolver/test_depclean.py +++ b/pym/portage/tests/resolver/test_depclean.py @@ -40,14 +40,14 @@ class DepcleanWithDepsTestCase(TestCase): def testDepcleanWithDeps(self): ebuilds = { - "dev-libs/A-1": { "DEPEND": "dev-libs/C" }, - "dev-libs/B-1": { "DEPEND": "dev-libs/D" }, + "dev-libs/A-1": { "RDEPEND": "dev-libs/C" }, + "dev-libs/B-1": { "RDEPEND": "dev-libs/D" }, "dev-libs/C-1": {}, "dev-libs/D-1": {}, } installed = { - "dev-libs/A-1": { "DEPEND": "dev-libs/C" }, - "dev-libs/B-1": { "DEPEND": "dev-libs/D" }, + "dev-libs/A-1": { "RDEPEND": "dev-libs/C" }, + "dev-libs/B-1": { "RDEPEND": "dev-libs/D" }, "dev-libs/C-1": {}, "dev-libs/D-1": {}, } @@ -82,12 +82,12 @@ class DepcleanWithInstalledMaskedTestCase(TestCase): The next emerge -uDN world doesn't take B and installs C again. """ ebuilds = { - "dev-libs/A-1": { "DEPEND": "|| ( dev-libs/B dev-libs/C )" }, + "dev-libs/A-1": { "RDEPEND": "|| ( dev-libs/B dev-libs/C )" }, "dev-libs/B-1": { "LICENSE": "TEST" }, "dev-libs/C-1": {}, } installed = { - "dev-libs/A-1": { "DEPEND": "|| ( dev-libs/B dev-libs/C )" }, + "dev-libs/A-1": { "RDEPEND": "|| ( dev-libs/B dev-libs/C )" }, "dev-libs/B-1": { "LICENSE": "TEST" }, "dev-libs/C-1": {}, }