public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-biology/snap/, sci-biology/snap/files/
@ 2021-02-20 23:26 Jakov Smolić
  0 siblings, 0 replies; only message in thread
From: Jakov Smolić @ 2021-02-20 23:26 UTC (permalink / raw
  To: gentoo-commits

commit:     76a7cb736ee17c7acb763b6752049c41a19cbb8b
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Mon Feb 15 20:21:41 2021 +0000
Commit:     Jakov Smolić <jakov.smolic <AT> sartura <DOT> hr>
CommitDate: Sat Feb 20 21:57:41 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=76a7cb73

sci-biology/snap: Port to EAPI 7

Closes: https://bugs.gentoo.org/755779
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>

 sci-biology/snap/files/snap-20131129-fno-common.patch | 15 +++++++++++++++
 sci-biology/snap/snap-20131129.ebuild                 | 14 +++++++-------
 2 files changed, 22 insertions(+), 7 deletions(-)

diff --git a/sci-biology/snap/files/snap-20131129-fno-common.patch b/sci-biology/snap/files/snap-20131129-fno-common.patch
new file mode 100644
index 000000000..4b3b1b587
--- /dev/null
+++ b/sci-biology/snap/files/snap-20131129-fno-common.patch
@@ -0,0 +1,15 @@
+--- a/Zoe/zoeTools.h
++++ b/Zoe/zoeTools.h
+@@ -40,9 +40,9 @@ The MIT License (MIT) - opensource.org/licenses/MIT
+ #include <stdlib.h>
+ #include <string.h>
+ 
+-const char * zoeFunction;
+-const char * zoeConstructor;
+-const char * zoeMethod;
++extern char * zoeFunction;
++extern char * zoeConstructor;
++extern char * zoeMethod;
+ 
+ void   zoeLibInfo (void);
+ void   zoeSetProgramName (const char*);

diff --git a/sci-biology/snap/snap-20131129.ebuild b/sci-biology/snap/snap-20131129.ebuild
index 84305c131..bc92eff18 100644
--- a/sci-biology/snap/snap-20131129.ebuild
+++ b/sci-biology/snap/snap-20131129.ebuild
@@ -1,9 +1,9 @@
-# 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 eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="HMM-based prokaryotic and eukaryotic gene prediction tool"
 HOMEPAGE="http://korflab.ucdavis.edu/software.html"
@@ -12,14 +12,13 @@ SRC_URI="http://korflab.ucdavis.edu/Software/snap-2013-11-29.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
 
 S="${WORKDIR}"/snap
 
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
+
 src_prepare(){
+	default
 	sed -e "s#CC=\"gcc.*#CC=$(tc-getCC)#" -i Zoe/Makefile || die
 	sed -e "s#CC=\"gcc.*#CC=$(tc-getCC)#" -i Makefile || die
 }
@@ -31,4 +30,5 @@ src_install(){
 	doins HMM/[a-zA-Z]*.hmm
 	dobin snap fathom forge *.pl
 	dodoc 00README
+	einstalldocs
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-20 23:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-20 23:26 [gentoo-commits] proj/sci:master commit in: sci-biology/snap/, sci-biology/snap/files/ Jakov Smolić

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox