commit:     e9b525310d3085d34c8e26b6550b8e78e8a95952
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Oct 26 15:37:08 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Nov  2 12:05:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b52531

net-misc/gns3-server: add 2.2.50

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-misc/gns3-server/Manifest                  |  1 +
 net-misc/gns3-server/gns3-server-2.2.50.ebuild | 69 ++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/net-misc/gns3-server/Manifest b/net-misc/gns3-server/Manifest
index dd681ff34cbb..0f7753fe8507 100644
--- a/net-misc/gns3-server/Manifest
+++ b/net-misc/gns3-server/Manifest
@@ -1,2 +1,3 @@
 DIST gns3-server-2.2.48.1.tar.gz 10851841 BLAKE2B 
021ace62b3d3ef379014948df1808ecfecd9f8a15a6f225a0219433e74ee811ec67b8caeb507ca7b99244f34e9ff4f9f95d4f80a7b472413ae064a86347821f2
 SHA512 
f367d812393d90895243fb29b580989fe2927e796492427c5d962a67e97d5e11d5e3fb861d5cdf196f6d7e7f70f6db083f8fc0d2c359bf0535e7b86cecbb0ab3
 DIST gns3-server-2.2.49.tar.gz 10851027 BLAKE2B 
c580f14e041b683bb738184c2cfa320936b61df8a5ee5fa138eff2c93ee193061f6ec24e25b2575d7ce8d5ab3e3e46e9178584fff4e72815ad961a7bffcf878c
 SHA512 
1574d5f509283b3f6d4cac40320a6629e116a8f6fa126750a0c6f09a7dbeab015eb28fda380af0a2ed0756e524ab54a8e79d7cef5cad12f92affecb516d1329e
+DIST gns3-server-2.2.50.tar.gz 10856859 BLAKE2B 
2fd917456a9ce38032160942ed08814ee463bb37831ab8f35e40f3f370161ce70c6290a8c8f9f6f825d9cac70edb10847a9eaee32fa4bb28d769c5561d8d4674
 SHA512 
66e5df340660007d0c34b4dcd0ad2bed1efd727904e24dfe775d8393e73eb1b5e843940d015be3d7e95163d63c48e8ebb377b2c26cc7528200b905380df01056

diff --git a/net-misc/gns3-server/gns3-server-2.2.50.ebuild 
b/net-misc/gns3-server/gns3-server-2.2.50.ebuild
new file mode 100644
index 000000000000..078abc14a18d
--- /dev/null
+++ b/net-misc/gns3-server/gns3-server-2.2.50.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+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"
+
+RDEPEND="
+       acct-group/gns3
+       acct-user/gns3
+       app-emulation/dynamips
+       >=dev-python/aiofiles-24.1.0[${PYTHON_USEDEP}]
+       >=dev-python/aiohttp-3.10.3[${PYTHON_USEDEP}]
+       >=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
+       >=dev-python/async-timeout-4.0.3[${PYTHON_USEDEP}]
+       >=dev-python/distro-1.9.0[${PYTHON_USEDEP}]
+       >=dev-python/jinja-3.1.4[${PYTHON_USEDEP}]
+       >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}]
+       >=dev-python/platformdirs-2.4.0[${PYTHON_USEDEP}]
+       >=dev-python/psutil-6.0.0[${PYTHON_USEDEP}]
+       >=dev-python/py-cpuinfo-9.0.0[${PYTHON_USEDEP}]
+       >=dev-python/truststore-0.9.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
+}
+
+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"
+}

Reply via email to