commit:     c1e6ffef9523c3ed8745a8967facd7175426ea44
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 28 22:10:30 2019 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Nov 28 22:10:30 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1e6ffef

www-apps/zeppelin-bin: version bump.

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 www-apps/zeppelin-bin/Manifest                  |  1 +
 www-apps/zeppelin-bin/zeppelin-bin-0.8.2.ebuild | 40 +++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/www-apps/zeppelin-bin/Manifest b/www-apps/zeppelin-bin/Manifest
index ae449ef71b1..1c242e0db07 100644
--- a/www-apps/zeppelin-bin/Manifest
+++ b/www-apps/zeppelin-bin/Manifest
@@ -1 +1,2 @@
 DIST zeppelin-bin-0.8.1.tgz 992975720 BLAKE2B 
13bae89054a5be0570d0550cfc875d989de66dcdc6fe2aa3c8b71b452782d8cf2c8f6cf030b47f1b9050899912f75136cef7d9ef1b80c8957ad8a260fc7050c5
 SHA512 
b8302b36acc5cc8859f4341329bcb4d038bbb91d4493be191606df94da08a2fa37940958ceae507e6cdbe22fc338111ac9bee580cb41ee74198911469552df02
+DIST zeppelin-bin-0.8.2.tgz 998508624 BLAKE2B 
cccfa95426d8d0407d7a226f5d71c15ca55da8893a7fff9e3a612c63034ab1838f8f7d5a529bb393b825c6c3bd19e197f4e913c2c5b8dd04fb282affc43788ab
 SHA512 
91a785153bc47b087f90fac0f83066fdede041d5193506b231af1b6855b150307873c92cea462c6dd48ef6d38caa37934591a08542199ac4b02d9493298fbd43

diff --git a/www-apps/zeppelin-bin/zeppelin-bin-0.8.2.ebuild 
b/www-apps/zeppelin-bin/zeppelin-bin-0.8.2.ebuild
new file mode 100644
index 00000000000..8423abc2db7
--- /dev/null
+++ b/www-apps/zeppelin-bin/zeppelin-bin-0.8.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit java-pkg-2 user
+
+MY_PN="zeppelin"
+MY_P="${MY_PN}-${PV}-bin-all"
+
+DESCRIPTION="Web-based interactive data analytics notebook launcher"
+HOMEPAGE="https://zeppelin.apache.org";
+SRC_URI="mirror://apache/zeppelin/${MY_PN}-${PV}/${MY_P}.tgz -> ${P}.tgz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=virtual/jdk-1.8"
+RDEPEND=">=virtual/jre-1.8"
+
+S="${WORKDIR}/${MY_P}"
+
+INSTALL_DIR="/opt/${P}"
+
+pkg_setup() {
+       enewgroup zeppelin
+       enewuser zeppelin -1 /bin/sh /home/zeppelin zeppelin
+}
+
+src_install() {
+       keepdir /var/log/zeppelin
+       fowners -R zeppelin:zeppelin /var/log/zeppelin
+
+       newinitd "${FILESDIR}/zeppelin.init.d" zeppelin
+
+       dodir "${INSTALL_DIR}"
+       cp -pRP * "${ED}/${INSTALL_DIR}" || die
+       dosym "${P}" /opt/zeppelin
+       fowners -R zeppelin:zeppelin "${INSTALL_DIR}"
+}

Reply via email to