1 |
commit: 91b23e2f29bc697ea0c1180141b59367e418077e |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 26 13:20:52 2020 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 26 14:33:25 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91b23e2f |
7 |
|
8 |
app-admin/aerospike-amc-community: drop old EAPI=5 |
9 |
|
10 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
11 |
|
12 |
app-admin/aerospike-amc-community/Manifest | 1 - |
13 |
.../aerospike-amc-community-3.6.13-r2.ebuild | 63 ---------------------- |
14 |
2 files changed, 64 deletions(-) |
15 |
|
16 |
diff --git a/app-admin/aerospike-amc-community/Manifest b/app-admin/aerospike-amc-community/Manifest |
17 |
index a2242f18258..99df19ce322 100644 |
18 |
--- a/app-admin/aerospike-amc-community/Manifest |
19 |
+++ b/app-admin/aerospike-amc-community/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST aerospike-amc-community-3.6.13.all.x86_64.deb 1436414 BLAKE2B cd823dd1c546fe69948ef3f77fa8bf0a68a8d95ed3ee778272b84c39b1b1bc4e5afef803931ce859fd957421f4816358590a3c1e0845fdc524a0f029b52ce828 SHA512 8077f8c51aab39ca701eb1ada633a3a378e02fed39ef2e565fed57fa57cf12da6c69a2b3d93e179110c29043a0a5a114512d30752eab6356e1b819ae490d23bb |
22 |
DIST aerospike-amc-community-4.0.19.tar.gz 7868527 BLAKE2B 69835bdf3d7f1a4b23cd63bb7344c50b6bbbdc04fd55b2d6ec5783a429a442fa6cdf985c77cb4ac73f8ac0663ed2524c8d7a853e970cc086335cf810fd9eaecf SHA512 821de8569bf020b9a2b829e71aab5d48d25639620468aa0b3ed28dc24e0d57bc61be60939425c0a69c418602fa2fbf5ef60f1870edb3f04fa40a2a2aca281218 |
23 |
|
24 |
diff --git a/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.13-r2.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.13-r2.ebuild |
25 |
deleted file mode 100644 |
26 |
index 7c372174c82..00000000000 |
27 |
--- a/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.13-r2.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,63 +0,0 @@ |
30 |
-# Copyright 1999-2018 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=5 |
34 |
-inherit eutils user |
35 |
- |
36 |
-DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server" |
37 |
-HOMEPAGE="http://www.aerospike.com" |
38 |
-SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb" |
39 |
- |
40 |
-LICENSE="Apache-2.0" |
41 |
-SLOT="0" |
42 |
-KEYWORDS="~amd64" |
43 |
-IUSE="" |
44 |
- |
45 |
-RDEPEND=" |
46 |
- dev-python/eventlet |
47 |
- dev-python/flask |
48 |
- dev-python/greenlet |
49 |
- dev-python/setproctitle |
50 |
- www-servers/gunicorn" |
51 |
-DEPEND="${RDEPEND}" |
52 |
- |
53 |
-src_unpack() { |
54 |
- default |
55 |
- mkdir "${P}" |
56 |
- tar -xf data.tar.xz -C "${S}" || die |
57 |
- tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die |
58 |
-} |
59 |
- |
60 |
-src_install() { |
61 |
- mv opt/amc/amc/* opt/amc/ |
62 |
- rm -rf opt/amc/amc |
63 |
- rm -f opt/amc/install |
64 |
- rm -f opt/amc/bin/uninstall |
65 |
- rm -f opt/amc/bin/amc_*.sh |
66 |
- rm -f opt/amc/bin/gunicorn |
67 |
- rm -rf opt/amc/server/site-packages/ |
68 |
- rm -rf opt/amc/server/setups/ |
69 |
- |
70 |
- insinto /etc/logrotate.d |
71 |
- newins opt/amc/config/logrotate amc |
72 |
- rm -f opt/amc/config/logrotate |
73 |
- |
74 |
- insinto /etc/cron.daily |
75 |
- newins opt/amc/config/logcron amc |
76 |
- rm -f opt/amc/config/logcron |
77 |
- |
78 |
- sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die |
79 |
- |
80 |
- insinto /etc/amc/config |
81 |
- doins -r opt/amc/config/* |
82 |
- rm -rf opt/amc/config/ |
83 |
- |
84 |
- echo "${PV}" > opt/amc/amc_version |
85 |
- |
86 |
- insinto /opt/amc/ |
87 |
- doins -r opt/amc/* |
88 |
- |
89 |
- keepdir /var/log/amc |
90 |
- |
91 |
- newinitd "${FILESDIR}"/amc.init2 amc |
92 |
-} |