summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-portage/layman/layman-9999.ebuild')
-rw-r--r--app-portage/layman/layman-9999.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/app-portage/layman/layman-9999.ebuild b/app-portage/layman/layman-9999.ebuild
index 3c17098..937613c 100644
--- a/app-portage/layman/layman-9999.ebuild
+++ b/app-portage/layman/layman-9999.ebuild
@@ -1,11 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-9999.ebuild,v 1.20 2011/07/18 14:52:55 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-9999.ebuild,v 1.22 2011/09/17 21:15:08 idl0r Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2:2.6"
RESTRICT_PYTHON_ABIS="2.4 3.*"
+PYTHON_USE_WITH="xml"
inherit eutils distutils git-2 prefix
@@ -19,7 +20,7 @@ SLOT="0"
KEYWORDS=""
IUSE="bazaar cvs darcs git mercurial subversion test"
-COMMON_DEPS="dev-lang/python[xml]"
+COMMON_DEPS="dev-lang/python"
DEPEND="${COMMON_DEPS}
test? ( dev-vcs/subversion )
app-text/asciidoc"
@@ -71,6 +72,14 @@ src_install() {
pkg_postinst() {
distutils_pkg_postinst
+ ewarn "The installed db file '%(storage)/overlays.xml'"
+ ewarn "has been renamed to '%(storage)/installed.xml'"
+
+ if "${EROOT}/var/lib/layman/overlays.xml"; then
+ mv "${EROOT}/var/lib/layman/overlays.xml" "${EROOT}/var/lib/layman/installed.xml"
+ einfo "${EROOT}/var/lib/layman/overlays.xml has been moved to ${EROOT}/var/lib/layman/installed.xml"
+ fi
+
einfo "You are now ready to add overlays into your system."
einfo
einfo " layman -L"