diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-01-13 19:08:38 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-01-13 21:45:47 +0100 |
commit | 28a5b5f3c57ddb0163b4b012c477a0e41f09cc5a (patch) | |
tree | cc9e270894a529cd049c03a340016c2ae658a9c9 | |
parent | app-emulation/xen-tools: Stabilize 4.16.6_pre2 amd64, #922051 (diff) | |
download | gentoo-28a5b5f3c57ddb0163b4b012c477a0e41f09cc5a.tar.gz gentoo-28a5b5f3c57ddb0163b4b012c477a0e41f09cc5a.tar.bz2 gentoo-28a5b5f3c57ddb0163b4b012c477a0e41f09cc5a.zip |
net-misc/gns3-server: version bump (2.2.45)
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
-rw-r--r-- | net-misc/gns3-server/Manifest | 1 | ||||
-rw-r--r-- | net-misc/gns3-server/gns3-server-2.2.45.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/net-misc/gns3-server/Manifest b/net-misc/gns3-server/Manifest index 42bf1f1be33a..2331547b3ea7 100644 --- a/net-misc/gns3-server/Manifest +++ b/net-misc/gns3-server/Manifest @@ -1,2 +1,3 @@ DIST gns3-server-2.2.43.tar.gz 10734029 BLAKE2B c417557823c94bb62a08ab2401e7d6a6e46ea83961cfee87f5b134139f7f0237ff5c214661a2abd30d62a8806c1ea556db9fa9d7ff1e608cfa84142409315832 SHA512 3b086f6c14b4258f4f0eb72e9839c6499530b6f0866ba6adc72a8fd301c99919bf4fc36b7d64e61035d81f193faee8b161c304f1a445a2cab5ca9c42739796f4 DIST gns3-server-2.2.44.1.tar.gz 10739635 BLAKE2B 8f9cc5affce48b95ef5ceee452d643f450594f1f5710ceace830ccd5a30281c6a04458a6864c65bcb3b023190b2aebe00d2f4316c80596a4c443616cad161cb6 SHA512 60c66f07242ba64a9bbc9471ee71fc975a95f36fced440798c8076b968a2e29cacccb889928f22b878d5928feb9024b26da854a03e3610b1ba36fa09826023fc +DIST gns3-server-2.2.45.tar.gz 10747348 BLAKE2B bb8f45347f9ea2e05e199a5128f73fe7fad6d7b3bebf30dcae009c761934e5d2ee986623fa82bb328db31b43cd39da05f52ac9a3f534d223fbf46ca585f3b433 SHA512 570bac3aab8c0f31144f8ac34f27b04a16efadd02e93faf949d4fe0078bf87c59e479b17ead8feec774b3907703cddeae9a434b9abc7fbd459cc060636478a2e diff --git a/net-misc/gns3-server/gns3-server-2.2.45.ebuild b/net-misc/gns3-server/gns3-server-2.2.45.ebuild new file mode 100644 index 000000000000..b2d0d6fc0267 --- /dev/null +++ b/net-misc/gns3-server/gns3-server-2.2.45.ebuild @@ -0,0 +1,71 @@ +# 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 ~x86" + +RDEPEND=" + acct-group/gns3 + acct-user/gns3 + app-emulation/dynamips + >=dev-python/aiofiles-23.2.1[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3.9.0[${PYTHON_USEDEP}] + >=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] + >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}] + >=dev-python/distro-1.8.0[${PYTHON_USEDEP}] + >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] + >=dev-python/psutil-5.9.6[${PYTHON_USEDEP}] + >=dev-python/py-cpuinfo-9.0.0[${PYTHON_USEDEP}] + >=dev-python/sentry-sdk-1.34.0[${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" +} |