# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_6 ) inherit distutils-r1 desktop DESCRIPTION="Graphical Network Simulator" HOMEPAGE="http://www.gns3.net/" SRC_URI="https://github.com/GNS3/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" #net-misc/gns3-server version should always match gns3-gui version RDEPEND=" >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] >=dev-python/raven-5.23.0[${PYTHON_USEDEP}] >=dev-python/psutil-2.2.1[${PYTHON_USEDEP}] ~net-misc/gns3-server-${PV}[${PYTHON_USEDEP}] dev-python/PyQt5[gui,network,svg,websockets,widgets,${PYTHON_USEDEP}] " DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" python_install_all() { distutils-r1_python_install_all doicon "resources/images/gns3.ico" make_desktop_entry "gns3" "GNS3" "gns3.ico" "Utility" }