Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/zeppelin-bin/
Date: Sun, 13 Jun 2021 13:10:13
Message-Id: 1623589806.2a2e25733ee98482ac1b210bdc6a2dd49a2c3029.monsieurp@gentoo
1 commit: 2a2e25733ee98482ac1b210bdc6a2dd49a2c3029
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 13 13:09:09 2021 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 13 13:10:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a2e2573
7
8 www-apps/zeppelin-bin: migrate to GLEP 81.
9
10 Closes: https://bugs.gentoo.org/781533
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 www-apps/zeppelin-bin/zeppelin-bin-0.8.2-r1.ebuild | 40 ++++++++++++++++++++++
14 1 file changed, 40 insertions(+)
15
16 diff --git a/www-apps/zeppelin-bin/zeppelin-bin-0.8.2-r1.ebuild b/www-apps/zeppelin-bin/zeppelin-bin-0.8.2-r1.ebuild
17 new file mode 100644
18 index 00000000000..a6da6911f3e
19 --- /dev/null
20 +++ b/www-apps/zeppelin-bin/zeppelin-bin-0.8.2-r1.ebuild
21 @@ -0,0 +1,40 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit java-pkg-2 user
28 +
29 +MY_PN="zeppelin"
30 +MY_P="${MY_PN}-${PV}-bin-all"
31 +
32 +DESCRIPTION="Web-based interactive data analytics notebook launcher"
33 +HOMEPAGE="https://zeppelin.apache.org"
34 +SRC_URI="mirror://apache/zeppelin/${MY_PN}-${PV}/${MY_P}.tgz -> ${P}.tgz"
35 +LICENSE="Apache-2.0"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~x86"
38 +
39 +DEPEND="
40 + acct-group/zeppelin
41 + acct-user/zeppelin
42 + >=virtual/jdk-1.8"
43 +
44 +RDEPEND="
45 + >=virtual/jre-1.8"
46 +
47 +S="${WORKDIR}/${MY_P}"
48 +
49 +INSTALL_DIR="/opt/${P}"
50 +
51 +src_install() {
52 + keepdir /var/log/zeppelin
53 + fowners -R zeppelin:zeppelin /var/log/zeppelin
54 +
55 + newinitd "${FILESDIR}/zeppelin.init.d" zeppelin
56 +
57 + dodir "${INSTALL_DIR}"
58 + cp -pRP * "${ED}/${INSTALL_DIR}" || die
59 + dosym "${P}" /opt/zeppelin
60 + fowners -R zeppelin:zeppelin "${INSTALL_DIR}"
61 +}