summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-05-30 16:43:33 -0700
committerZac Medico <zmedico@gentoo.org>2011-05-30 16:43:33 -0700
commitf67dfd2c24aa127f5d596b3d1f051df8d8cbf5fb (patch)
treeba4ecbd31c2486ddf0ac8f9517660ca5ece78d8c
parentfffbc6bc2a186bf0b09b791dcb260506875e66ce (diff)
downloadportage-f67dfd2c24aa127f5d596b3d1f051df8d8cbf5fb.tar.gz
portage-f67dfd2c24aa127f5d596b3d1f051df8d8cbf5fb.tar.bz2
portage-f67dfd2c24aa127f5d596b3d1f051df8d8cbf5fb.zip
test_merge_order: add USE deps to bug 264434 test
-rw-r--r--pym/portage/tests/resolver/test_merge_order.py22
1 files changed, 18 insertions, 4 deletions
diff --git a/pym/portage/tests/resolver/test_merge_order.py b/pym/portage/tests/resolver/test_merge_order.py
index 6aa19c081..e42b772b5 100644
--- a/pym/portage/tests/resolver/test_merge_order.py
+++ b/pym/portage/tests/resolver/test_merge_order.py
@@ -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=] )",
},
}