aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-04 17:00:24 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-04 17:00:24 +0000
commitc914953343b2f2712e7817588c414fe7af794cab (patch)
treef7f1f6124b0235e373767d7e3392ae6d998b14b8
parent6a25169fa25d76f8cc41f9bf01bb2227f4f25ee8 (diff)
downloadpaludis-c914953343b2f2712e7817588c414fe7af794cab.tar.gz
paludis-c914953343b2f2712e7817588c414fe7af794cab.tar.xz
Add binary behaviour
-rw-r--r--paludis/package_id.hh1
-rw-r--r--paludis/repositories/e/ebuild_id.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/paludis/package_id.hh b/paludis/package_id.hh
index b348469..97ecf88 100644
--- a/paludis/package_id.hh
+++ b/paludis/package_id.hh
@@ -323,6 +323,7 @@ namespace paludis
* - "used", saying that an installed ID should not be treated as unused
* - "unbinaryable", saying that we should be excluded from requests to create a binary
* - "unchrootable", saying that we should be excluded from requests to install to a chroot
+ * - "binary", saying that we are already a binary package
*
* \since 0.48
*/
diff --git a/paludis/repositories/e/ebuild_id.cc b/paludis/repositories/e/ebuild_id.cc
index 22273c3..3d6e351 100644
--- a/paludis/repositories/e/ebuild_id.cc
+++ b/paludis/repositories/e/ebuild_id.cc
@@ -192,6 +192,7 @@ namespace
behaviours_key(std::make_shared<LiteralMetadataStringSetKey>("behaviours", "behaviours", mkt_internal, behaviours_value))
{
behaviours_value->insert("unbinaryable");
+ behaviours_value->insert("binary");
}
};
}