From 2a3e0847845f86d33af6b1597dbd5688a09485fd Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Thu, 25 Feb 2021 18:57:25 +0100 Subject: net-misc/pyhoca-gui: Port to python 3.{8,9} Signed-off-by: Jakov Smolic Signed-off-by: Sam James --- net-misc/pyhoca-gui/pyhoca-gui-0.6.1.1.ebuild | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/net-misc/pyhoca-gui/pyhoca-gui-0.6.1.1.ebuild b/net-misc/pyhoca-gui/pyhoca-gui-0.6.1.1.ebuild index 3d05ef2fc367..671e506e1ffe 100644 --- a/net-misc/pyhoca-gui/pyhoca-gui-0.6.1.1.ebuild +++ b/net-misc/pyhoca-gui/pyhoca-gui-0.6.1.1.ebuild @@ -1,27 +1,32 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_7 ) +PYTHON_COMPAT=( python3_{7..9} ) inherit distutils-r1 DESCRIPTION="X2Go graphical client applet" HOMEPAGE="http://www.x2go.org" SRC_URI="http://code.x2go.org/releases/source/${PN}/${P}.tar.gz" -LICENSE="AGPL-3" +LICENSE="AGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -RDEPEND="dev-python/pycups[${PYTHON_USEDEP}] +RDEPEND=" + dev-python/pycups[${PYTHON_USEDEP}] dev-python/setproctitle[${PYTHON_USEDEP}] dev-python/wxpython[${PYTHON_USEDEP}] >=net-misc/python-x2go-0.6.1.1[${PYTHON_USEDEP}] x11-libs/libnotify" -DEPEND="${DEPEND} - dev-python/python-distutils-extra[${PYTHON_USEDEP}]" +BDEPEND="dev-python/python-distutils-extra[${PYTHON_USEDEP}]" + +python_prepare_all() { + # we don't need setuptools at runtime + sed -i -e '/install_requires/d' setup.py || die + distutils-r1_python_prepare_all +} python_install() { distutils-r1_python_install -- cgit v1.2.3-65-gdbad