--- bcfg2-1.2.2-r1.ebuild 2012-06-29 10:28:40.000000000 +0400 +++ bcfg2-1.2.2-r2.ebuild 2012-07-18 12:52:39.000000000 +0400 @@ -18,11 +18,15 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris" -IUSE="doc cheetah genshi server" +IUSE="apache2 doc cheetah genshi server" DEPEND="dev-python/setuptools doc? ( dev-python/sphinx )" -RDEPEND="app-portage/gentoolkit +RDEPEND="apache2? ( + dev-python/django + www-apache/mod_wsgi + www-servers/apache ) + app-portage/gentoolkit cheetah? ( dev-python/cheetah ) genshi? ( dev-python/genshi ) server? ( @@ -81,4 +85,10 @@ einfo "If this is a new installation, you probably need to run:" einfo " bcfg2-admin init" fi + if use apache2; then + einfo "For django 1.{3,4}.x need python 2.x. Please, run" + einfo " eselect python list" + einfo "and select python 2.x, then run" + einfo " python-updater" + fi }