commit:     5bc6928cca2630e651f601fa8fba065ef5f9471e
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Feb  1 07:53:36 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Feb  1 07:53:36 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=5bc6928c

sci-biology/MochiView: fix empty ebuild

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-biology/MochiView/MochiView-1.45.ebuild | 16 ----------------
 sci-biology/MochiView/MochiView-1.46.ebuild | 23 +++++++++++++++++++++++
 2 files changed, 23 insertions(+), 16 deletions(-)

diff --git a/sci-biology/MochiView/MochiView-1.45.ebuild 
b/sci-biology/MochiView/MochiView-1.45.ebuild
deleted file mode 100644
index 61e0be859..000000000
--- a/sci-biology/MochiView/MochiView-1.45.ebuild
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DESCRIPTION="Genome browser and analysis"
-HOMEPAGE="http://johnsonlab.ucsf.edu/mochi.html";
-SRC_URI=""
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"

diff --git a/sci-biology/MochiView/MochiView-1.46.ebuild 
b/sci-biology/MochiView/MochiView-1.46.ebuild
new file mode 100644
index 000000000..d9db425fa
--- /dev/null
+++ b/sci-biology/MochiView/MochiView-1.46.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit java-utils-2
+
+DESCRIPTION="Genome browser and analysis"
+HOMEPAGE="http://johnsonlab.ucsf.edu/mochi.html";
+SRC_URI="https://www.johnsonlab.ucsf.edu/s/MochiView_v${PV//.}.zip";
+
+LICENSE="MIT LGPL-3 MPL-1.1 Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=virtual/jre-1.7:*"
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}/${PN}_v${PV}"
+
+src_install() {
+       java-pkg_dojar INTERNAL_USE/*.jar
+}

Reply via email to