1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python2_7 )
6 inherit python-single-r1
8 DESCRIPTION="Configuration GUI for x11-misc/wbar"
9 HOMEPAGE="http://koti.kapsi.fi/ighea/wbarconf/"
10 SRC_URI="http://koti.kapsi.fi/ighea/${PN}/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
15 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
23 $(python_gen_cond_dep '
24 dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}]
25 dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}]
29 "${FILESDIR}"/${P}-install.patch
34 python_fix_shebang wbarconf
38 ./install.sh "${ED}/usr" || die "./install.sh failed"
39 if [[ "${P}" != "${PF}" ]]; then
40 mv "${ED}"/usr/share/doc/{${P},${PF}} || die