x11-misc/wbarconf: EAPI bump 4 -> 6, migrate to python-single-r1
authorHarri Nieminen <moikkis@gmail.com>
Wed, 8 Feb 2017 17:26:48 +0000 (19:26 +0200)
committerDavid Seifert <soap@gentoo.org>
Thu, 9 Feb 2017 21:52:29 +0000 (22:52 +0100)
Fixes: https://bugs.gentoo.org/599774

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

x11-misc/wbarconf/wbarconf-0.7.2.2-r2.ebuild [new file with mode: 0644]

diff --git a/x11-misc/wbarconf/wbarconf-0.7.2.2-r2.ebuild b/x11-misc/wbarconf/wbarconf-0.7.2.2-r2.ebuild
new file mode 100644 (file)
index 0000000..ac17c85
--- /dev/null
@@ -0,0 +1,34 @@
+# 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="Configuration GUI for x11-misc/wbar"
+HOMEPAGE="http://koti.kapsi.fi/ighea/wbarconf/"
+SRC_URI="http://koti.kapsi.fi/ighea/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="sys-devel/gettext"
+RDEPEND="
+       ${PYTHON_DEPS}
+       >=x11-misc/wbar-1.3.3
+       dev-python/pygobject:2[${PYTHON_USEDEP}]
+       dev-python/pygtk:2[${PYTHON_USEDEP}]"
+
+S="${WORKDIR}/${PN}"
+PATCHES=( "${FILESDIR}"/${P}-install.patch )
+
+src_install() {
+       ./install.sh "${ED%/}/usr" || die "./install.sh failed."
+       python_doscript wbarconf
+}