diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-06-06 10:05:59 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-06-06 10:05:59 +0000 |
commit | 0cd1bb034cb6ada948d612ff8ac4c0ae20fd9153 (patch) | |
tree | f3bbf482029fc7b5aed39982281c899c363cc4f2 /x11-misc/dsx/dsx-0.1.ebuild | |
parent | Install noisyalert.sh and kittscanner.sh wrt #274730 by Simeon Maryasin. (diff) | |
download | gentoo-2-0cd1bb034cb6ada948d612ff8ac4c0ae20fd9153.tar.gz gentoo-2-0cd1bb034cb6ada948d612ff8ac4c0ae20fd9153.tar.bz2 gentoo-2-0cd1bb034cb6ada948d612ff8ac4c0ae20fd9153.zip |
Force Python 2.x wrt #317009.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/dsx/dsx-0.1.ebuild')
-rw-r--r-- | x11-misc/dsx/dsx-0.1.ebuild | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/x11-misc/dsx/dsx-0.1.ebuild b/x11-misc/dsx/dsx-0.1.ebuild index d0c996c5ef16..84b2defdf685 100644 --- a/x11-misc/dsx/dsx-0.1.ebuild +++ b/x11-misc/dsx/dsx-0.1.ebuild @@ -1,19 +1,33 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/dsx/dsx-0.1.ebuild,v 1.7 2007/07/22 02:52:01 coldwind Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dsx/dsx-0.1.ebuild,v 1.8 2010/06/06 10:05:59 ssuominen Exp $ + +EAPI=2 +PYTHON_DEPEND="2" + +inherit python DESCRIPTION="command line selection of your X desktop environment" -HOMEPAGE="none" +HOMEPAGE="http://www.gentoo.org/" +SRC_URI="" LICENSE="GPL-2" SLOT="0" -KEYWORDS="ppc x86" +KEYWORDS="~amd64 ppc x86" IUSE="" +RDEPEND="x11-apps/xinit" DEPEND="" -RDEPEND="x11-apps/xinit - >=dev-lang/python-2.1" + +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + cp "${FILESDIR}"/${P} "${T}" + python_convert_shebangs -r 2 "${T}" +} src_install() { - newbin "${FILESDIR}/${P}" dsx + newbin "${T}"/${P} dsx } |