mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-biology/amos: Drop old
Closes: https://bugs.gentoo.org/645140 Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools flag-o-matic python-single-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="A Modular, Open-Source whole genome assembler"
|
||||
HOMEPAGE="http://amos.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
|
||||
https://dev.gentoo.org/~soap/distfiles/${PN}-3.1.0-fix-c++14.patch.bz2"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="qt4"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="qt4? ( dev-qt/qtcore:4 )"
|
||||
RDEPEND="${DEPEND}
|
||||
${PYTHON_DEPS}
|
||||
dev-perl/DBI
|
||||
dev-perl/Statistics-Descriptive
|
||||
sci-biology/mummer"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-gcc-4.7.patch
|
||||
"${FILESDIR}"/${P}-goBambus2.py-indent-and-cleanup.patch
|
||||
"${WORKDIR}"/${P}-fix-c++14.patch
|
||||
"${FILESDIR}"/${P}-qa-Wformat.patch
|
||||
"${FILESDIR}"/${P}-fix-build-system.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
|
||||
# prevent GCC 6 log pollution due
|
||||
# to hash_map deprecation in C++11
|
||||
append-cxxflags -Wno-cpp
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-qmake-qt4=$(usex qt4 $(qt4_get_bindir)/qmake no)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
python_fix_shebang "${ED%/}"/usr/bin/goBambus2
|
||||
}
|
||||
Reference in New Issue
Block a user