summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-04-28 09:50:12 +0000
committerUlrich Müller <ulm@gentoo.org>2009-04-28 09:50:12 +0000
commitf9caef11c7da28dad5ccdd5056e7e1ff27522174 (patch)
treeb24213666b7ff99e1aedfc986a3ebcf2a45c5c06 /app-admin
parentVersion bump, bugfixes (diff)
downloadgentoo-2-f9caef11c7da28dad5ccdd5056e7e1ff27522174.tar.gz
gentoo-2-f9caef11c7da28dad5ccdd5056e7e1ff27522174.tar.bz2
gentoo-2-f9caef11c7da28dad5ccdd5056e7e1ff27522174.zip
Add paludis USE flag for the live ebuild.
(Portage version: 2.2_rc31/cvs/Linux i686)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/eselect/ChangeLog5
-rw-r--r--app-admin/eselect/eselect-9999.ebuild10
-rw-r--r--app-admin/eselect/metadata.xml12
3 files changed, 18 insertions, 9 deletions
diff --git a/app-admin/eselect/ChangeLog b/app-admin/eselect/ChangeLog
index 164dd6bd622e..1110ea3c4cd6 100644
--- a/app-admin/eselect/ChangeLog
+++ b/app-admin/eselect/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/eselect
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.86 2009/04/18 08:27:51 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.87 2009/04/28 09:50:12 ulm Exp $
+
+ 28 Apr 2009; Ulrich Mueller <ulm@gentoo.org> metadata.xml, eselect-9999:
+ Add paludis USE flag for the live ebuild.
*eselect-9999 (18 Apr 2009)
*eselect-1.0.12 (18 Apr 2009)
diff --git a/app-admin/eselect/eselect-9999.ebuild b/app-admin/eselect/eselect-9999.ebuild
index f55ce5768881..020cf3cb598a 100644
--- a/app-admin/eselect/eselect-9999.ebuild
+++ b/app-admin/eselect/eselect-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-9999.ebuild,v 1.1 2009/04/18 08:27:51 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-9999.ebuild,v 1.2 2009/04/28 09:50:12 ulm Exp $
ESVN_REPO_URI="svn://anonsvn.gentoo.org/eselect/trunk"
ESVN_BOOTSTRAP="autogen.bash"
@@ -14,7 +14,7 @@ SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-IUSE="doc bash-completion"
+IUSE="doc bash-completion paludis"
DEPEND="sys-apps/sed
doc? ( dev-python/docutils )
@@ -25,14 +25,16 @@ DEPEND="sys-apps/sed
)"
RDEPEND="sys-apps/sed
sys-apps/file
- sys-libs/ncurses"
+ sys-libs/ncurses
+ paludis? ( sys-apps/paludis )
+ !paludis? ( >=sys-apps/portage-2.1.6 )"
# Commented out: only few users of eselect will edit its source
#PDEPEND="emacs? ( app-emacs/gentoo-syntax )
# vim-syntax? ( app-vim/eselect-syntax )"
src_compile() {
- econf || die "econf failed"
+ econf --with-pm="$(usev paludis || echo portage)"
emake || die "emake failed"
if use doc ; then
diff --git a/app-admin/eselect/metadata.xml b/app-admin/eselect/metadata.xml
index f1e274ae84f3..9ed7960b19e6 100644
--- a/app-admin/eselect/metadata.xml
+++ b/app-admin/eselect/metadata.xml
@@ -1,8 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>no-herd</herd>
- <maintainer>
- <email>eselect@gentoo.org</email>
- </maintainer>
+<herd>no-herd</herd>
+<maintainer>
+ <email>eselect@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name='paludis'>Prefer <pkg>sys-apps/paludis</pkg> over
+ <pkg>sys-apps/portage</pkg></flag>
+</use>
</pkgmetadata>