sci-biology/probcons: Port to EAPI 7

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2021-04-05 16:14:44 +02:00
parent 17ca0e1b3b
commit 911367bccf

View File

@@ -1,35 +1,31 @@
# 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
MY_P="${PN}_v${PV/./_}"
DESCRIPTION="Probabilistic Consistency-based Multiple Alignment of Amino Acid Sequences"
HOMEPAGE="http://probcons.stanford.edu/"
SRC_URI="http://probcons.stanford.edu/${MY_P}.tar.gz"
S="${WORKDIR}/${PN}"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE=""
# Gnuplot is explicitly runtime-only, it's run using system()
RDEPEND="
!sci-geosciences/gmt
sci-visualization/gnuplot"
DEPEND=""
S="${WORKDIR}/${PN}"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-cxxflags.patch \
"${FILESDIR}"/gcc-4.3.patch \
"${FILESDIR}"/${P}-gcc-4.6.patch
}
PATCHES=(
"${FILESDIR}"/${P}-cxxflags.patch
"${FILESDIR}"/gcc-4.3.patch
"${FILESDIR}"/${P}-gcc-4.6.patch
)
src_compile() {
emake \