net-misc/gns3-server: version bump (2.2.38)

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2023-04-01 21:17:23 +02:00
committed by Conrad Kostecki
parent 70553b4d82
commit 4487da9f2e
2 changed files with 72 additions and 0 deletions
+1
View File
@@ -1,2 +1,3 @@
DIST gns3-server-2.2.34.tar.gz 10249497 BLAKE2B 740ce654a675fb096434685d496f4fea25d19881237b160293ddb8a66ddbcaf7bcf399dd7a19e87cd68fb6d7aadee6420f7b07227d2b3aa4af1a2087ed65c134 SHA512 576e7e04f2681912882b98b19155d7ec61d10e6c54c40878c3850b0432763c18a3eca4f12bb7c1b19a836e440183fbad356e6cff3d84487767fe82f29e4adfd8
DIST gns3-server-2.2.37.tar.gz 9690092 BLAKE2B 9cc7dabde818996ea87494cb4a61a4ba5f9ad2dfe028a4ca9d45e9bd8f6dd4a17b4845275a87386ad068be4f354f932e6cada8d2b8eafd54230ea82fae3f5571 SHA512 f56d1f130e3179fe250b12e9459d8b66745c780c94380cce0ed60206918458f4aab119faa77b23ef7c58115bee11ff2ef6630539b5f184ab2d36b936564de1b7
DIST gns3-server-2.2.38.tar.gz 9693834 BLAKE2B a7a442142bda19bcdb9c9501963bacc275105221f141a59f125d6ec37ada6b357885f76a8cd68b5daef1eb82a3d01b49a99a9c5d4383b728c5c156f92ecdd0bc SHA512 c116dee5836d76be03e5eb7be402b67f8f22273a9a6270220c77ca57324a991c1d2bbfba4457616b11dd2ce14c17206864ec46bd8d4ecc905ab9b20ad137d1a6
@@ -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_{10..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"
}