1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 )
8 inherit autotools flag-o-matic python-single-r1
10 DESCRIPTION="A Modular, Open-Source whole genome assembler"
11 HOMEPAGE="http://amos.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
13 https://dev.gentoo.org/~soap/distfiles/${PN}-3.1.0-fix-c++14.patch.bz2"
17 KEYWORDS="~amd64 ~x86"
19 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
25 dev-perl/Statistics-Descriptive
29 "${FILESDIR}"/${P}-gcc-4.7.patch
30 "${FILESDIR}"/${P}-goBambus2.py-indent-and-cleanup.patch
31 "${WORKDIR}"/${P}-fix-c++14.patch
32 "${FILESDIR}"/${P}-qa-Wformat.patch
33 "${FILESDIR}"/${P}-fix-build-system.patch
40 # prevent GCC 6 log pollution due
41 # to hash_map deprecation in C++11
42 append-cxxflags -Wno-cpp
46 econf --with-qmake-qt4=no
51 python_fix_shebang "${ED%/}"/usr/bin/goBambus2