commit:     3ad08b5d01c8f7fbf6455808fa35a9976992da8e
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Jan 18 12:57:18 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Jan 18 12:57:18 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=3ad08b5d

sci-biology/vague-bin: fix fetching, EAPI bump

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

 sci-biology/vague-bin/vague-bin-1.0.5.ebuild | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/sci-biology/vague-bin/vague-bin-1.0.5.ebuild 
b/sci-biology/vague-bin/vague-bin-1.0.5.ebuild
index dc327b8d6..50ea6ca72 100644
--- a/sci-biology/vague-bin/vague-bin-1.0.5.ebuild
+++ b/sci-biology/vague-bin/vague-bin-1.0.5.ebuild
@@ -1,20 +1,19 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 inherit java-pkg-2
 
-[ "$PV" == "9999" ] && inherit git-r3
-
 DESCRIPTION="GUI for Velvet de novo assembler"
-HOMEPAGE="http://www.vicbioinformatics.com/software.vague.shtml";
+HOMEPAGE="https://vicbioinformatics.com/software.vague.shtml";
 
 if [ "$PV" == "9999" ]; then
+       inherit git-r3
        
EGIT_REPO_URI="https://github.com/Victorian-Bioinformatics-Consortium/vague";
        KEYWORDS=""
 else
-       SRC_URI="http://www.vicbioinformatics.com/vague-${PV}.tar.gz";
+       SRC_URI="https://vicbioinformatics.com/vague-${PV}.tar.gz";
        KEYWORDS="~amd64"
 fi
 
@@ -28,8 +27,12 @@ DEPEND=">=virtual/jdk-1.5:*"
 
 S="${WORKDIR}"/vague-${PV}
 
+PATCHES=(
+       "${FILESDIR}"/vague.patch
+)
+
 src_prepare(){
-       epatch "${FILESDIR}"/vague.patch
+       default
        sed -e "s#-jar /usr/share#-jar ${EPREFIX}/usr/share#" -i vague || die
 }
 

Reply via email to