1 |
commit: 46f0942ddc786949901740262c00e703626ce68f |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Tue Jul 19 16:43:04 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 5 07:06:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46f0942d |
7 |
|
8 |
net-misc/gns3-server: bump for newly added openrc script |
9 |
|
10 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
11 |
Portage 3.0.32 / pkgdev 0.2.1 / pkgcheck 0.10.11 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/26483 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
.../gns3-server/gns3-server-2.2.33.1-r1.ebuild | 74 ++++++++++++++++++++++ |
16 |
1 file changed, 74 insertions(+) |
17 |
|
18 |
diff --git a/net-misc/gns3-server/gns3-server-2.2.33.1-r1.ebuild b/net-misc/gns3-server/gns3-server-2.2.33.1-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 000000000000..10e152413aaa |
21 |
--- /dev/null |
22 |
+++ b/net-misc/gns3-server/gns3-server-2.2.33.1-r1.ebuild |
23 |
@@ -0,0 +1,74 @@ |
24 |
+# Copyright 1999-2022 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=8 |
28 |
+ |
29 |
+PYTHON_COMPAT=( python3_{9..10} ) |
30 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
31 |
+ |
32 |
+inherit distutils-r1 optfeature systemd |
33 |
+ |
34 |
+DESCRIPTION="GNS3 server to asynchronously manage emulators" |
35 |
+HOMEPAGE="https://www.gns3.com/ https://github.com/GNS3/gns3-server" |
36 |
+SRC_URI="https://github.com/GNS3/gns3-server/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
37 |
+ |
38 |
+LICENSE="GPL-3+" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~x86" |
41 |
+ |
42 |
+RDEPEND=" |
43 |
+ acct-group/gns3 |
44 |
+ acct-user/gns3 |
45 |
+ app-emulation/dynamips |
46 |
+ >=dev-python/aiofiles-0.7.0[${PYTHON_USEDEP}] |
47 |
+ >=dev-python/aiohttp-3.8.1[${PYTHON_USEDEP}] |
48 |
+ >=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}] |
49 |
+ >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}] |
50 |
+ >=dev-python/distro-1.7.0[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/psutil-5.9.1[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/py-cpuinfo-8.0.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/sentry-sdk-1.5.12[${PYTHON_USEDEP}] |
56 |
+ net-misc/ubridge |
57 |
+ sys-apps/busybox |
58 |
+" |
59 |
+BDEPEND=" |
60 |
+ test? ( |
61 |
+ dev-python/pytest-aiohttp[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+" |
64 |
+ |
65 |
+distutils_enable_tests pytest |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+ |
70 |
+ # newer python packages are fine |
71 |
+ sed -i -e 's/[<>=].*//' requirements.txt || die |
72 |
+ |
73 |
+ # Remove Pre-built busybox binary |
74 |
+ rm gns3server/compute/docker/resources/bin/busybox || die |
75 |
+} |
76 |
+ |
77 |
+python_install() { |
78 |
+ distutils-r1_python_install |
79 |
+ |
80 |
+ systemd_dounit init/gns3.service.systemd |
81 |
+ newinitd init/gns3.service.openrc gns3server |
82 |
+ |
83 |
+ mkdir -p "${D}$(python_get_sitedir)/gns3server/compute/docker/resources/bin" || die |
84 |
+ ln -s /bin/busybox "${D}$(python_get_sitedir)/gns3server/compute/docker/resources/bin/busybox" || die |
85 |
+} |
86 |
+ |
87 |
+pkg_postinst() { |
88 |
+ elog "net-misc/gns3-server has several optional packages that must be merged manually for additional functionality." |
89 |
+ elog "" |
90 |
+ optfeature "QEMU Support" "app-emulation/qemu" |
91 |
+ optfeature "Virtualbox Support" "app-emulation/virtualbox" |
92 |
+ optfeature "Docker Support" "app-containers/docker" |
93 |
+ optfeature "Wireshark Support" "net-analyzer/wireshark" |
94 |
+ elog "" |
95 |
+ elog "The following packages are currently unsupported:" |
96 |
+ elog "iouyap and vpcs" |
97 |
+} |