diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2012-05-30 14:55:32 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2012-05-30 14:55:32 +0000 |
commit | 469fab79db632dca2e10259a7de701c7618331a5 (patch) | |
tree | 71ef0f8b5d02022d869ebee676f30206d8497450 /sys-cluster/pacemaker/pacemaker-1.1.6.1.ebuild | |
parent | http://my.opera.com/desktopteam/blog/2012/05/30/oopp-improvements (diff) | |
download | gentoo-2-469fab79db632dca2e10259a7de701c7618331a5.tar.gz gentoo-2-469fab79db632dca2e10259a7de701c7618331a5.tar.bz2 gentoo-2-469fab79db632dca2e10259a7de701c7618331a5.zip |
Define PYTHON_DEPEND before inheriting python.eclass and convert shebangs to python2 wrt #418237 by Marcin Mirosław <bug@mejor.pl>
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster/pacemaker/pacemaker-1.1.6.1.ebuild')
-rw-r--r-- | sys-cluster/pacemaker/pacemaker-1.1.6.1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-cluster/pacemaker/pacemaker-1.1.6.1.ebuild b/sys-cluster/pacemaker/pacemaker-1.1.6.1.ebuild index a1ca98d13535..62720a8101e6 100644 --- a/sys-cluster/pacemaker/pacemaker-1.1.6.1.ebuild +++ b/sys-cluster/pacemaker/pacemaker-1.1.6.1.ebuild @@ -1,15 +1,16 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker/pacemaker-1.1.6.1.ebuild,v 1.2 2012/05/16 10:44:42 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker/pacemaker-1.1.6.1.ebuild,v 1.3 2012/05/30 14:55:32 xarthisius Exp $ EAPI=4 +PYTHON_DEPEND="2" + inherit autotools base python MY_PN=Pacemaker MY_P=${MY_PN}-${PV} MY_TREE="0c7312c" -PYTHON_DEPEND="2" DESCRIPTION="Pacemaker CRM" HOMEPAGE="http://www.linux-ha.org/wiki/Pacemaker" @@ -47,6 +48,7 @@ src_prepare() { sed -e "s:<glib/ghash.h>:<glib.h>:" \ -i lib/ais/plugin.c || die eautoreconf + python_convert_shebangs -r 2 . } src_configure() { |