net-misc/gns3-server: remove old

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Portage 3.0.36 / pkgdev 0.2.1 / pkgcheck 0.10.14
Closes: https://github.com/gentoo/gentoo/pull/27363
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2022-09-19 18:26:58 +02:00
committed by Joonas Niilola
parent f1ef02d280
commit d54f84e371
3 changed files with 0 additions and 143 deletions

View File

@@ -1,3 +1,2 @@
DIST gns3-server-2.2.31.tar.gz 10245461 BLAKE2B 488a91305408704accd4c7df936dde13e9a64404ac6a7e4ed7bdb94f996bb1bbd418d38523318603a8e93a7095c9fb8e30795c6b0dece70a45ed4758569b6711 SHA512 e8bf9357bc5a69e38dc27bc649af88c6ed39e6b5c63e2a1d374ec2a0784c7a6eadae3de0f4300a268fbf91ab55ad342e476573ca9a4bac609158d7d371a7a834
DIST gns3-server-2.2.33.1.tar.gz 10245850 BLAKE2B 069af8a0b77e7c7ce50903577fe0f037ddf574d9081f547686589ee7a48b71295c8c9f3fd9e47c9428e3d3b260828ddbb83188f29dd0cdb87f14fc7757032ad5 SHA512 af1207d92f64862a3f225bde70fa1bf10853c4ab7c661524d3ceed0fcf56388556cc257a31a0b2a741b90fcd793501ba54000d3b18c35d3ff0c47ca080488fc7
DIST gns3-server-2.2.34.tar.gz 10249497 BLAKE2B 740ce654a675fb096434685d496f4fea25d19881237b160293ddb8a66ddbcaf7bcf399dd7a19e87cd68fb6d7aadee6420f7b07227d2b3aa4af1a2087ed65c134 SHA512 576e7e04f2681912882b98b19155d7ec61d10e6c54c40878c3850b0432763c18a3eca4f12bb7c1b19a836e440183fbad356e6cff3d84487767fe82f29e4adfd8

View File

@@ -1,71 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
DISTUTILS_USE_SETUPTOOLS=rdepend
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="
app-emulation/dynamips
>=dev-python/aiofiles-0.7.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
>=dev-python/async-timeout-3.0.1[${PYTHON_USEDEP}]
>=dev-python/distro-1.6.0[${PYTHON_USEDEP}]
>=dev-python/jinja-3.0.3[${PYTHON_USEDEP}]
>=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
>=dev-python/psutil-5.9.0[${PYTHON_USEDEP}]
>=dev-python/py-cpuinfo-8.0.0[${PYTHON_USEDEP}]
>=dev-python/sentry-sdk-1.5.4[${PYTHON_USEDEP}]
net-misc/ubridge
sys-apps/busybox
"
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
# Remove Pre-built busybox binary
rm gns3server/compute/docker/resources/bin/busybox || die
}
python_install() {
distutils-r1_python_install
systemd_dounit init/gns3.service.systemd
mkdir -p "${D}$(python_get_sitedir)/gns3server/compute/docker/resources/bin" || 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"
}

View File

@@ -1,71 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_SETUPTOOLS=rdepend
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="
app-emulation/dynamips
>=dev-python/aiofiles-0.7.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
>=dev-python/async-timeout-3.0.1[${PYTHON_USEDEP}]
>=dev-python/distro-1.6.0[${PYTHON_USEDEP}]
>=dev-python/jinja-3.0.3[${PYTHON_USEDEP}]
>=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
>=dev-python/psutil-5.9.0[${PYTHON_USEDEP}]
>=dev-python/py-cpuinfo-8.0.0[${PYTHON_USEDEP}]
>=dev-python/sentry-sdk-1.5.4[${PYTHON_USEDEP}]
net-misc/ubridge
sys-apps/busybox
"
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
# Remove Pre-built busybox binary
rm gns3server/compute/docker/resources/bin/busybox || die
}
python_install() {
distutils-r1_python_install
systemd_dounit init/gns3.service.systemd
mkdir -p "${D}$(python_get_sitedir)/gns3server/compute/docker/resources/bin" || 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"
}