From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B6C96138359 for ; Sat, 25 Jul 2020 22:13:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8BB94E0871; Sat, 25 Jul 2020 22:13:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 72846E0871 for ; Sat, 25 Jul 2020 22:13:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 374A634F2A4 for ; Sat, 25 Jul 2020 22:13:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1622A2EF for ; Sat, 25 Jul 2020 22:13:42 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1595715200.504608685392c7c5fcc33018226d4526aae0890e.bman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/gns3-server/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/gns3-server/Manifest net-misc/gns3-server/gns3-server-2.2.11.ebuild X-VCS-Directories: net-misc/gns3-server/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: 504608685392c7c5fcc33018226d4526aae0890e X-VCS-Branch: master Date: Sat, 25 Jul 2020 22:13:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7a43a1df-8be8-4906-a32c-42150fe5f80a X-Archives-Hash: cbf41f4dac7a9e86bb606f5e9c74de82 commit: 504608685392c7c5fcc33018226d4526aae0890e Author: Michael Mair-Keimberger gmail com> AuthorDate: Sat Jul 25 18:16:33 2020 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Sat Jul 25 22:13:20 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50460868 net-misc/gns3-server: add 2.2.11 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: Aaron Bauman gentoo.org> net-misc/gns3-server/Manifest | 1 + net-misc/gns3-server/gns3-server-2.2.11.ebuild | 63 ++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/net-misc/gns3-server/Manifest b/net-misc/gns3-server/Manifest index e0276c97510..c0f874cd48b 100644 --- a/net-misc/gns3-server/Manifest +++ b/net-misc/gns3-server/Manifest @@ -1 +1,2 @@ +DIST gns3-server-2.2.11.tar.gz 7588877 BLAKE2B 429eb23e44ca0f3f68abba6fa437b80c12fb1e70c02e1c81ce2051a9d9b78f31f6618397dee07e307589c3f9f0ad55a26f22084ffa01b7c42b730bd505979c2e SHA512 6e11c6ae10942bac9f82dc3b5e0bee04c8afbbae8ca6b5d20e42495c15010ba17cddbac83c7c188a565ce8b24ed58ac7c80b4eb5a8f29f2612dce9d0dfa65a07 DIST gns3-server-2.2.8.tar.gz 11248484 BLAKE2B 14843a86c0348b92e9c54af5c966f46249f72ef9aa74fc8cda27f3209d00d2e129df98c75f301d8fe2046fb1c04f3e24e163adbead787fed2c1d364c50228902 SHA512 3394d368c986ce8378739bdbc15359c46bdf787a38e18bae9035653dd6dc6683973bf1b7952137189f57fd83074f3d5ea6040f5d7a1d0503f6cf21d2835cd693 diff --git a/net-misc/gns3-server/gns3-server-2.2.11.ebuild b/net-misc/gns3-server/gns3-server-2.2.11.ebuild new file mode 100644 index 00000000000..13e0e6aec39 --- /dev/null +++ b/net-misc/gns3-server/gns3-server-2.2.11.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8} ) + +inherit distutils-r1 + +DESCRIPTION="GNS3 server to asynchronously manage emulators" +HOMEPAGE="https://www.gns3.com/ https://github.com/GNS3/gns3-server" +SRC_URI="https://github.com/GNS3/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=app-emulation/dynamips-0.2.18 + ~dev-python/aiofiles-0.5.0[${PYTHON_USEDEP}] + ~dev-python/aiohttp-3.6.2[${PYTHON_USEDEP}] + ~dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] + ~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}] + >=dev-python/distro-1.3.0[${PYTHON_USEDEP}] + >=dev-python/jinja-2.7.3[${PYTHON_USEDEP}] + ~dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] + ~dev-python/py-cpuinfo-6.0.0[${PYTHON_USEDEP}] + >=dev-python/sentry-sdk-0.14.4[${PYTHON_USEDEP}] + >=net-misc/ubridge-0.9.14 +" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +src_prepare() { + default + + # newer psutils is fine + sed -i -e '/psutil==5.7.0/d' requirements.txt || die "fixing requirements failed" + + # Remove Pre-built busybox binary + rm gns3server/compute/docker/resources/bin/busybox || die + + # Package installs 'tests' package which is forbidden + rm -rf tests || die + eapply_user +} + +python_install() { + distutils-r1_python_install + + 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 "" + elog "The following is a list of packages that can be added:" + elog "app-emulation/qemu, app-emulation/virtualbox" + elog "app-emulation/docker and net-analyzer/wireshark" + elog "" + elog "The following packages are currently unsupported:" + elog "iouyap and vpcs" +}