From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A5D6015806E for ; Mon, 29 May 2023 07:03:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0349E0849; Mon, 29 May 2023 07:03:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 95060E0849 for ; Mon, 29 May 2023 07:03:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D0111340EAF for ; Mon, 29 May 2023 07:02:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DADA9A7F for ; Mon, 29 May 2023 07:02:56 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1685343772.2c1138c699f76c7fdf1feaebbbbac1cfb6372251.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/gns3-gui/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/gns3-gui/gns3-gui-2.2.38-r1.ebuild X-VCS-Directories: net-misc/gns3-gui/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2c1138c699f76c7fdf1feaebbbbac1cfb6372251 X-VCS-Branch: master Date: Mon, 29 May 2023 07:02:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 35bf883c-033d-4fed-ad5a-a1997caa1741 X-Archives-Hash: 3fd01e2f714c409822b25745e07402dc commit: 2c1138c699f76c7fdf1feaebbbbac1cfb6372251 Author: Michał Górny gentoo org> AuthorDate: Mon May 29 07:01:31 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon May 29 07:02:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c1138c6 net-misc/gns3-gui: Remove py3.11 due to sentry-sdk losing it Signed-off-by: Michał Górny gentoo.org> net-misc/gns3-gui/gns3-gui-2.2.38-r1.ebuild | 40 +++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/net-misc/gns3-gui/gns3-gui-2.2.38-r1.ebuild b/net-misc/gns3-gui/gns3-gui-2.2.38-r1.ebuild new file mode 100644 index 000000000000..812f7e8df59d --- /dev/null +++ b/net-misc/gns3-gui/gns3-gui-2.2.38-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_11 ) +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 ~x86" + +#net-misc/gns3-server version should always match gns3-gui version +RDEPEND=" + >=dev-python/distro-1.7.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] + >=dev-python/psutil-5.9.4[${PYTHON_USEDEP}] + >=dev-python/sentry-sdk-1.12.1[${PYTHON_USEDEP}] + ~net-misc/gns3-server-${PV}[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,network,svg,websockets,widgets,${PYTHON_USEDEP}] +" + +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 +}