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 EC04415806E 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 226C8E084A; Mon, 29 May 2023 07:03:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 03828E084A for ; Mon, 29 May 2023 07:03:01 +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 186C2340EC8 for ; Mon, 29 May 2023 07:03:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE258A80 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: <1685343773.66c2569a15ac545035bdfccc5d79c1cc4c99dcf6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/gns3-server/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/gns3-server/gns3-server-2.2.38-r1.ebuild X-VCS-Directories: net-misc/gns3-server/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 66c2569a15ac545035bdfccc5d79c1cc4c99dcf6 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: f6fbb210-df3c-44ca-a125-456e8431cbc7 X-Archives-Hash: 9a608d5b8c4e517a235a1cee4b7b9e62 commit: 66c2569a15ac545035bdfccc5d79c1cc4c99dcf6 Author: Michał Górny gentoo org> AuthorDate: Mon May 29 07:01:46 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon May 29 07:02:53 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66c2569a net-misc/gns3-server: Remove py3.11 due to sentry-sdk losing it Signed-off-by: Michał Górny gentoo.org> net-misc/gns3-server/gns3-server-2.2.38-r1.ebuild | 71 +++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/net-misc/gns3-server/gns3-server-2.2.38-r1.ebuild b/net-misc/gns3-server/gns3-server-2.2.38-r1.ebuild new file mode 100644 index 000000000000..f32f72430221 --- /dev/null +++ b/net-misc/gns3-server/gns3-server-2.2.38-r1.ebuild @@ -0,0 +1,71 @@ +# 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 optfeature systemd + +DESCRIPTION="GNS3 server to asynchronously manage emulators" +HOMEPAGE="https://www.gns3.com/ https://github.com/GNS3/gns3-server" +SRC_URI="https://github.com/GNS3/gns3-server/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + acct-group/gns3 + acct-user/gns3 + app-emulation/dynamips + >=dev-python/aiofiles-22.1.0[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3.8.3[${PYTHON_USEDEP}] + >=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] + >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}] + >=dev-python/distro-1.7.0[${PYTHON_USEDEP}] + >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] + >=dev-python/psutil-5.9.4[${PYTHON_USEDEP}] + >=dev-python/py-cpuinfo-9.0.0[${PYTHON_USEDEP}] + >=dev-python/sentry-sdk-1.12.1[${PYTHON_USEDEP}] + net-misc/ubridge + sys-apps/busybox[static] +" +BDEPEND=" + test? ( + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + default + + # newer python packages are fine + sed -i -e 's/[<>=].*//' requirements.txt || die +} + +python_install() { + distutils-r1_python_install + + systemd_dounit init/gns3.service.systemd + newinitd init/gns3.service.openrc gns3server + + rm "${D}$(python_get_sitedir)/gns3server/compute/docker/resources/bin/busybox" || die + ln -s /bin/busybox "${D}$(python_get_sitedir)/gns3server/compute/docker/resources/bin/busybox" || die +} + +pkg_postinst() { + elog "net-misc/gns3-server has several optional packages that must be merged manually for additional functionality." + elog "" + optfeature "QEMU Support" "app-emulation/qemu" + optfeature "Virtualbox Support" "app-emulation/virtualbox" + optfeature "Docker Support" "app-containers/docker" + optfeature "Wireshark Support" "net-analyzer/wireshark" + elog "" + elog "The following packages are currently unsupported:" + elog "iouyap and vpcs" +}