mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-misc/gns3-server: remove old
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/32343 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
committed by
Conrad Kostecki
parent
8eba6ac2fb
commit
0b4d296820
@@ -1,3 +1,2 @@
|
||||
DIST gns3-server-2.2.40.1.tar.gz 9712941 BLAKE2B 24b5705c10f9aa1530f431031db4497d077da7e44c36c3201c6be5194fbbbc1ee4e09d79229520baec3a4296854711d9f0cef23786c141807e6d2eeb9902c402 SHA512 1b8d8e8957dcf8c8c142c2e2be01b88ec2b785ce63c41b21816d29c925574e204cd5dcdd1a010fa356e92babb10ade6c135f817b31aa53eb7368e28aa15b2bff
|
||||
DIST gns3-server-2.2.41.tar.gz 10736066 BLAKE2B c2ab5c99a67a8cd79a898e244a77eea13477c6030b5b11a63c1747802ff309dc77ee62a6ad7191c7d8bf84d62badecf924379eb58afb4d4f111a9d34380d4aec SHA512 ec34bb81e96034a36f4bc7aeadaf5ae221be23069612477e5af9c908e3764e44029d22115eac602e0a26fedc99d67d4ed64cbf5da12c6a89bf00c3cd99d2ab7b
|
||||
DIST gns3-server-2.2.42.tar.gz 10735078 BLAKE2B 424f73fcb7377a518873b4880b77b6e057d8293fb96073eca59224b0e5e5c1e50114f30c564b861e91769380d9d15b3c2c28a8f4cec3358282902af09eeccd30 SHA512 9982fabcdd587b090833b9137124a0accb2990cee91ca5d19d8ee691f807d547670a38b2168d0f71465088a3971eac73e101cc284922732b5132ac47b84d84f6
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
# 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.4[${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.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-cpuinfo-9.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sentry-sdk-1.17.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"
|
||||
}
|
||||
Reference in New Issue
Block a user