mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-misc/gns3-server: remove old
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/36740 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
committed by
Conrad Kostecki
parent
c8f2a1e060
commit
a46222aa64
@@ -1,3 +1,2 @@
|
||||
DIST gns3-server-2.2.45.tar.gz 10747348 BLAKE2B bb8f45347f9ea2e05e199a5128f73fe7fad6d7b3bebf30dcae009c761934e5d2ee986623fa82bb328db31b43cd39da05f52ac9a3f534d223fbf46ca585f3b433 SHA512 570bac3aab8c0f31144f8ac34f27b04a16efadd02e93faf949d4fe0078bf87c59e479b17ead8feec774b3907703cddeae9a434b9abc7fbd459cc060636478a2e
|
||||
DIST gns3-server-2.2.46.tar.gz 10745825 BLAKE2B 280c16e76a73b638ea66c1c8a674a0e11eab3f0dee612b40c480d604244bf6e78d32c79f6a4587a95b88ce601ba3911672b6402831fce8c7a721465dcdd2da9d SHA512 6f7e52c0f1fcdbb0af7963cfaf1cd17c7d6af36e1ac89b4b2e725c14ff17d1560a50d286ea351ab2649560c09dcac62b35add9492f06c5068010129751b0848e
|
||||
DIST gns3-server-2.2.47.tar.gz 10850105 BLAKE2B c83cdf6495ddc4997347ff41416a684b6c6a516eefa6d1811e8855a4954edbace53aefb817ddce8cb08526c798b02fad11b5bb3b70a076be97a4a1ab92dd48b7 SHA512 1634e813feaaef9b7d44256a34c58fc1e339fce2d57dc41d7ff8ba86c2ed3999f19063754d5bc928d99319f3d2e8949a72ebbe087f82a8dc56dfbd6ba06f8bd4
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
# 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"
|
||||
}
|
||||
Reference in New Issue
Block a user