commit:     8d827409929ea539b3d778434137bb718af49a0f
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Mar 18 11:04:17 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Mar 18 11:05:02 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=8d827409

sci-biology/edena: fix build, EAPI bump

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

 .../default/linux/amd64/17.0/x32/package.mask              |  0
 profiles/package.mask                                      |  5 -----
 sci-biology/edena/edena-3.131028.ebuild                    | 14 +++++++-------
 3 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/profiles/profiles/default/linux/amd64/17.0/x32/package.mask 
b/profiles/default/linux/amd64/17.0/x32/package.mask
similarity index 100%
rename from profiles/profiles/default/linux/amd64/17.0/x32/package.mask
rename to profiles/default/linux/amd64/17.0/x32/package.mask

diff --git a/profiles/package.mask b/profiles/package.mask
index c58354855..3bd3759b2 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -62,11 +62,6 @@ sci-biology/autoeditor
 # Masked for removal in 14 days, if you need this please complain
 sci-biology/dna2pep
 
-# Andrew Ammerlaan <[email protected]> (06 March 2021)
-# Does not build, latest update 2013
-# Masked for removal in 14 days, if you need this please complain
-sci-biology/edena
-
 # Andrew Ammerlaan <[email protected]> (06 March 2021)
 # missing dependency cplex (nonfree IBM thingy)
 # Masked for removal in 14 days, if you need this please complain

diff --git a/sci-biology/edena/edena-3.131028.ebuild 
b/sci-biology/edena/edena-3.131028.ebuild
index c94db1bb7..bba5a770a 100644
--- a/sci-biology/edena/edena-3.131028.ebuild
+++ b/sci-biology/edena/edena-3.131028.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 inherit toolchain-funcs
 
@@ -12,19 +12,19 @@ SRC_URI="http://www.genomic.ch/edena/EdenaV"${PV}".tar.gz";
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
 
 DEPEND=""
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}"/EdenaV"${PV}"
+S="${WORKDIR}/EdenaV${PV}"
 
 src_prepare(){
-       sed -e "s@^CCC.*@CCC = $(tc-getCXX)@" -e "s@^CFLAGS.*@CFLAGS = 
${CFLAGS} -pthread@" -i src/Makefile || die
+       default
+       sed -e "s@^CCC.*@CCC = $(tc-getCXX)@" -e "s@^CFLAGS.*@CFLAGS = 
${CFLAGS} -ansi -pthread@" -i src/Makefile || die
 }
 
-src_compile(){
-       cd src
+src_compile() {
+       cd src || die
        default
 }
 

Reply via email to