diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /net-misc/gns3-gui/gns3-gui-2.2.21.ebuild | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'net-misc/gns3-gui/gns3-gui-2.2.21.ebuild')
-rw-r--r-- | net-misc/gns3-gui/gns3-gui-2.2.21.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net-misc/gns3-gui/gns3-gui-2.2.21.ebuild b/net-misc/gns3-gui/gns3-gui-2.2.21.ebuild new file mode 100644 index 000000000000..f702b56de93a --- /dev/null +++ b/net-misc/gns3-gui/gns3-gui-2.2.21.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9} ) + +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 desktop xdg + +DESCRIPTION="Graphical Network Simulator" +HOMEPAGE="https://www.gns3.com/ https://github.com/GNS3/gns3-gui" +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/distro-1.3.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] + >=dev-python/sentry-sdk-0.14.4[${PYTHON_USEDEP}] + ~net-misc/gns3-server-${PV}[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,network,svg,websockets,widgets,${PYTHON_USEDEP}] +" + +src_prepare() { + default + + # newer python packages are fine + sed -i -e 's/[<>=].*//' requirements.txt || die +} + +python_install_all() { + distutils-r1_python_install_all + + doicon "resources/images/gns3.ico" + make_desktop_entry "gns3" "GNS3" "gns3.ico" "Utility" +} |