mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
net-misc/gns3-gui: add Qt6-based 2.2.56, python3_14, add missing test dep
Fix missing DEPEND Bug: https://bugs.gentoo.org/961990 Bug: https://bugs.gentoo.org/960940 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST gns3-gui-2.2.52.tar.gz 5065074 BLAKE2B b05a7b9326ddb09bc98dda51a4efd201cc4d64aafcdbc3602be087d16ac8e9c4879a7c2a484ca0d0c2d44a73ee4a0bedb390ab2353813b9a9da2c4592b7c7f2e SHA512 62e53dbf7aa7744539c0792f7af251e978481defbe65619b7e8f4569f24e367acbfca9454e0f2c50edeb220d242d43959942f8ff0937616c74a9940a65dc4f3a
|
||||
DIST gns3-gui-2.2.56.tar.gz 5067051 BLAKE2B b58e40633be20ddbf4dc0826fbc2df2beba096761907dd07c11f4a41a96f03fa2f1a73d8fd5e598e763939a7181659fa4ffe89e7e16c68d7240376ca112f0f1e SHA512 8c7fa16814f54a1fc51392982b88a5c1220a066aa1e4259b38b0cb5198bd7a7f3daa81b8653e5ff72a732e071bfa59412940d70e90e099c56ea1820e6b3baffb
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 virtualx xdg
|
||||
|
||||
DESCRIPTION="Graphical Network Simulator"
|
||||
HOMEPAGE="https://www.gns3.com https://github.com/GNS3/gns3-gui"
|
||||
SRC_URI="https://github.com/GNS3/gns3-gui/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
#net-misc/gns3-server version should always match gns3-gui version
|
||||
RDEPEND="
|
||||
>=dev-python/distro-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-6.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/truststore-0.10.0[${PYTHON_USEDEP}]
|
||||
~net-misc/gns3-server-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/pyqt6[gui,network,svg,websockets,widgets,${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/pyqt6[testlib] )
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# newer python packages are fine
|
||||
sed -i -e 's/[<>=].*//' requirements.txt || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
Reference in New Issue
Block a user