summaryrefslogtreecommitdiff
blob: dc371f0855259befb615b23f5c28de041c55def6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=2
PYTHON_DEPEND="2"

inherit python

DESCRIPTION="command line selection of your X desktop environment"
HOMEPAGE="https://www.gentoo.org/"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE=""

RDEPEND="x11-apps/xinit"
DEPEND=""

pkg_setup() {
	python_set_active_version 2
}

src_prepare() {
	cp "${FILESDIR}"/${P} "${T}"
	python_convert_shebangs -r 2 "${T}"
}

src_install() {
	newbin "${T}"/${P} dsx
}