aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-05-01 14:11:42 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-05-01 14:11:42 +0000
commit2e338683ba689ba7a717cffebf971015700e5b2e (patch)
treeee1a2f4628791e052339dc0feaaf5bb149c9ae52
parent6fd719e9a635ea240ee15f8e7b1b9a685940c294 (diff)
downloadpaludis-2e338683ba689ba7a717cffebf971015700e5b2e.tar.gz
paludis-2e338683ba689ba7a717cffebf971015700e5b2e.tar.xz
Display EAPI in mask reasons, like we do for licence and keywords.
-rw-r--r--src/install.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/install.cc b/src/install.cc
index 591ce59..610b639 100644
--- a/src/install.cc
+++ b/src/install.cc
@@ -434,7 +434,16 @@ do_install()
cerr << ", ";
cerr << p::MaskReason(mm);
- if (p::mr_license == mm)
+ if (p::mr_eapi == mm)
+ {
+ std::string eapi_str(env->package_database()->fetch_repository(
+ pp->get<p::pde_repository>())->version_metadata(
+ pp->get<p::pde_name>(), pp->get<p::pde_version>())->get(
+ p::vmk_eapi));
+
+ cerr << " ( " << colour(cl_red, eapi_str) << " )";
+ }
+ else if (p::mr_license == mm)
{
cerr << " ";
std::string license_str(env->package_database()->fetch_repository(