x11-misc/dsx: EAPI bump 2 -> 6, migrate to python-single-r1
authorHarri Nieminen <moikkis@gmail.com>
Wed, 8 Feb 2017 14:55:34 +0000 (16:55 +0200)
committerDavid Seifert <soap@gentoo.org>
Thu, 9 Feb 2017 21:52:12 +0000 (22:52 +0100)
Fixes: https://bugs.gentoo.org/599800

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3882

x11-misc/dsx/dsx-0.1-r1.ebuild [new file with mode: 0644]

diff --git a/x11-misc/dsx/dsx-0.1-r1.ebuild b/x11-misc/dsx/dsx-0.1-r1.ebuild
new file mode 100644 (file)
index 0000000..bb4c35b
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+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=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND=""
+RDEPEND="
+       ${PYTHON_DEPS}
+       x11-apps/xinit"
+
+S="${WORKDIR}"
+
+src_prepare() {
+       cp "${FILESDIR}/${P}" "${PN}" || die
+       default
+}
+
+src_install() {
+       python_doscript "${WORKDIR}/${PN}"
+}