summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-10-27 22:40:01 +0100
committerDavid Seifert <soap@gentoo.org>2020-10-27 22:40:01 +0100
commit668d616aed66a78485aa7850fe23fdb9c23c6071 (patch)
treeb6609a1cfaf5e1c28869b46ca83c7be0dd4a82e1 /sci-biology/unafold
parentkde-plasma/xembed-sni-proxy: drop 5.20.1* (diff)
downloadgentoo-668d616aed66a78485aa7850fe23fdb9c23c6071.tar.gz
gentoo-668d616aed66a78485aa7850fe23fdb9c23c6071.tar.bz2
gentoo-668d616aed66a78485aa7850fe23fdb9c23c6071.zip
sci-biology/unafold: Port to EAPI 7
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology/unafold')
-rw-r--r--sci-biology/unafold/files/unafold-3.8-doc-version.patch11
-rw-r--r--sci-biology/unafold/unafold-3.8-r1.ebuild19
2 files changed, 22 insertions, 8 deletions
diff --git a/sci-biology/unafold/files/unafold-3.8-doc-version.patch b/sci-biology/unafold/files/unafold-3.8-doc-version.patch
new file mode 100644
index 000000000000..b15858fd69e6
--- /dev/null
+++ b/sci-biology/unafold/files/unafold-3.8-doc-version.patch
@@ -0,0 +1,11 @@
+--- a/tests/hybrid.tml
++++ b/tests/hybrid.tml
+@@ -10,7 +10,7 @@
+ </test>
+ <test command="hybrid --version" return="0">
+ <stdin></stdin>
+- <stdout>hybrid (UNAFold) 3.7
++ <stdout>hybrid (UNAFold) 3.8
+ By Nicholas R. Markham and Michael Zuker
+ Copyright (C) 2006
+ Rensselaer Polytechnic Institute
diff --git a/sci-biology/unafold/unafold-3.8-r1.ebuild b/sci-biology/unafold/unafold-3.8-r1.ebuild
index e4fff4e8cabd..6aec75f0336d 100644
--- a/sci-biology/unafold/unafold-3.8-r1.ebuild
+++ b/sci-biology/unafold/unafold-3.8-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
inherit flag-o-matic
@@ -14,14 +14,17 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="custom-cflags"
-DEPEND=""
-RDEPEND="${DEPEND}"
+RDEPEND="
+ media-libs/freeglut
+ media-libs/gd
+ virtual/opengl"
+DEPEND="${RDEPEND}"
-src_prepare() {
+PATCHES=( "${FILESDIR}"/${P}-doc-version.patch )
+
+src_configure() {
# recommended in README
use custom-cflags || append-flags -O3
- sed \
- -e 's:hybrid (UNAFold) 3.7:hybrid (UNAFold) 3.8:g' \
- -i tests/hybrid.tml || die
+ default
}