test_merge_order: add USE deps to bug 264434 test
authorZac Medico <zmedico@gentoo.org>
Mon, 30 May 2011 23:43:33 +0000 (16:43 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 30 May 2011 23:43:33 +0000 (16:43 -0700)
pym/portage/tests/resolver/test_merge_order.py

index 6aa19c08177e49cd0b0dda23fc3ae1ea5b121eb2..e42b772b5c6964d32dcee3e5438a535a74dc34c2 100644 (file)
@@ -170,12 +170,19 @@ class MergeOrderTestCase(TestCase):
                                "DEPEND"  : "kde-base/libkdegames",
                                "RDEPEND" : "kde-base/libkdegames",
                        },
-                       "media-video/ffmpeg-0.7_rc1" : {},
                        "media-video/libav-0.7_pre20110327" : {
+                               "EAPI" : "2",
+                               "IUSE" : "X +encode",
                                "RDEPEND" : "!media-video/ffmpeg",
                        },
+                       "media-video/ffmpeg-0.7_rc1" : {
+                               "EAPI" : "2",
+                               "IUSE" : "X +encode",
+                       },
                        "virtual/ffmpeg-0.6.90" : {
-                               "RDEPEND" : "|| ( >=media-video/ffmpeg-0.6.90_rc0-r2 >=media-video/libav-0.6.90_rc )",
+                               "EAPI" : "2",
+                               "IUSE" : "X +encode",
+                               "RDEPEND" : "|| ( >=media-video/ffmpeg-0.6.90_rc0-r2[X=,encode=] >=media-video/libav-0.6.90_rc[X=,encode=] )",
                        },
                }
 
@@ -228,9 +235,16 @@ class MergeOrderTestCase(TestCase):
                                "RDEPEND": "",
                        },
                        "app-arch/xz-utils-5.0.1" : {},
-                       "media-video/ffmpeg-0.7_rc1" : {},
+                       "media-video/ffmpeg-0.7_rc1" : {
+                               "EAPI" : "2",
+                               "IUSE" : "X +encode",
+                               "USE" : "encode",
+                       },
                        "virtual/ffmpeg-0.6.90" : {
-                               "RDEPEND" : "|| ( >=media-video/ffmpeg-0.6.90_rc0-r2 >=media-video/libav-0.6.90_rc )",
+                               "EAPI" : "2",
+                               "IUSE" : "X +encode",
+                               "USE" : "encode",
+                               "RDEPEND" : "|| ( >=media-video/ffmpeg-0.6.90_rc0-r2[X=,encode=] >=media-video/libav-0.6.90_rc[X=,encode=] )",
                        },
                }