aboutsummaryrefslogtreecommitdiff
path: root/paludis/qa/extract_check.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-13 21:19:35 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-13 21:19:35 +0000
commit402c186ce65b06a525ca6b586a5f11da2fef5faf (patch)
treecf49efa00896abbdb9894e76d8f27e16e41dc9cf /paludis/qa/extract_check.cc
parentd1856e25dbca494b9ceb69fa268c8ae11ecb931c (diff)
downloadpaludis-402c186ce65b06a525ca6b586a5f11da2fef5faf.tar.gz
paludis-402c186ce65b06a525ca6b586a5f11da2fef5faf.tar.xz
EAPI-aware dep parser. Fixes: ticket:120
Diffstat (limited to 'paludis/qa/extract_check.cc')
-rw-r--r--paludis/qa/extract_check.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/paludis/qa/extract_check.cc b/paludis/qa/extract_check.cc
index b701b4b6b..b6464a076 100644
--- a/paludis/qa/extract_check.cc
+++ b/paludis/qa/extract_check.cc
@@ -89,9 +89,8 @@ ExtractCheck::operator() (const EbuildCheckData & e) const
e.environment->package_database()->fetch_repository(ee.repository)->version_metadata(ee.name, ee.version));
Checker checker;
- PortageDepParser::parse(metadata->ebuild_interface->src_uri,
- PortageDepParserPolicy<PlainTextDepSpec, false>::get_instance())->accept(&checker);
- PortageDepParser::parse(metadata->deps_interface->build_depend_string)->accept(&checker);
+ metadata->ebuild_interface->src_uri()->accept(&checker);
+ metadata->deps_interface->build_depend()->accept(&checker);
if (checker.need_zip && ! checker.have_zip)
result << Message(qal_major, "Found .zip in SRC_URI but app-arch/unzip is not in DEPEND");