diff options
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/unafold/files/unafold-3.8-doc-version.patch | 11 | ||||
-rw-r--r-- | sci-biology/unafold/unafold-3.8-r1.ebuild | 19 |
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 } |