diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-06-16 18:51:31 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-06-16 18:51:31 +0000 |
commit | 5f93c5764aaad7d43e02aa4d468056cdd7a158ba (patch) | |
tree | 5272dd1a2cb26b32839fb1b59a776d07e46b4434 /sys-apps | |
parent | Version bump for the 302 series. Has not undergone as much testing as the 295... (diff) | |
download | gentoo-2-5f93c5764aaad7d43e02aa4d468056cdd7a158ba.tar.gz gentoo-2-5f93c5764aaad7d43e02aa4d468056cdd7a158ba.tar.bz2 gentoo-2-5f93c5764aaad7d43e02aa4d468056cdd7a158ba.zip |
add bazaar useflag to fix dependency issues
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/etckeeper/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/etckeeper/etckeeper-0.63.ebuild | 16 | ||||
-rw-r--r-- | sys-apps/etckeeper/metadata.xml | 3 |
3 files changed, 17 insertions, 7 deletions
diff --git a/sys-apps/etckeeper/ChangeLog b/sys-apps/etckeeper/ChangeLog index 4effa93cd1c0..a562e96981b1 100644 --- a/sys-apps/etckeeper/ChangeLog +++ b/sys-apps/etckeeper/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/etckeeper # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/etckeeper/ChangeLog,v 1.1 2012/06/16 16:01:51 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/etckeeper/ChangeLog,v 1.2 2012/06/16 18:51:31 hasufell Exp $ + + 16 Jun 2012; Julian Ospald <hasufell@gentoo.org> etckeeper-0.63.ebuild: + add bazaar useflag to fix dependency issues *etckeeper-0.63 (16 Jun 2012) diff --git a/sys-apps/etckeeper/etckeeper-0.63.ebuild b/sys-apps/etckeeper/etckeeper-0.63.ebuild index 10c2d8959f66..4fd1a8040943 100644 --- a/sys-apps/etckeeper/etckeeper-0.63.ebuild +++ b/sys-apps/etckeeper/etckeeper-0.63.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/etckeeper/etckeeper-0.63.ebuild,v 1.1 2012/06/16 16:01:51 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/etckeeper/etckeeper-0.63.ebuild,v 1.2 2012/06/16 18:51:31 hasufell Exp $ EAPI=4 -PYTHON_DEPEND="2:2.6" +PYTHON_DEPEND="bazaar? 2:2.6" SUPPORT_PYTHON_ABIS="1" RESTRICT_PYTHON_ABIS="2.[45] 3.* 2.7-pypy-*" @@ -15,15 +15,15 @@ HOMEPAGE="http://kitenet.net/~joey/code/etckeeper/" SRC_URI="http://git.kitenet.net/?p=${PN}.git;a=snapshot;h=refs/tags/${PV};sf=tgz -> ${P}.tar.gz" LICENSE="GPL-2" -IUSE="" +IUSE="bazaar" KEYWORDS="~amd64 ~x86" SLOT="0" VCS_DEPEND=" dev-vcs/git dev-vcs/mercurial - dev-vcs/bzr - dev-vcs/darcs" + dev-vcs/darcs + bazaar? ( dev-vcs/bzr )" RDEPEND="app-portage/portage-utils || ( ${VCS_DEPEND} )" @@ -31,6 +31,10 @@ src_prepare(){ epatch "${FILESDIR}"/${P}-gentoo.patch } +src_compile() { + use bazaar && emake +} + src_install(){ default @@ -38,7 +42,7 @@ src_install(){ $(PYTHON) ./etckeeper-bzr/__init__.py install --root="${D}" || die "bzr support installation failed!" } - python_execute_function bzr_install + use bazaar && python_execute_function bzr_install newbashcomp bash_completion ${PN} insinto /usr/share/doc/${PN}/examples diff --git a/sys-apps/etckeeper/metadata.xml b/sys-apps/etckeeper/metadata.xml index b863c41b0b04..7fe7bb5e8452 100644 --- a/sys-apps/etckeeper/metadata.xml +++ b/sys-apps/etckeeper/metadata.xml @@ -11,5 +11,8 @@ <name>Manuel Rüger</name> <description>Proxy maintainer. CC him on bugs</description> </maintainer> + <use> + <flag name='bazaar'>Support <pkg>dev-vcs/bzr</pkg> based repository</flag> + </use> </pkgmetadata> |