aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-05 11:05:05 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-05 19:21:54 +0100
commit704db64ed869a89a3b0df65fb1e183816604b075 (patch)
tree2e19310a7a1d113c22c79ef510ff09fb1c04cd8f /sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild
parentsci-biology/ncbi-blast+: depend on gcc<10, add 2.11.0 version (diff)
downloadsci-704db64ed869a89a3b0df65fb1e183816604b075.tar.gz
sci-704db64ed869a89a3b0df65fb1e183816604b075.tar.bz2
sci-704db64ed869a89a3b0df65fb1e183816604b075.zip
sci-biology/ncbi-tools++: depend on gcc<10, bump py targets
Closes: https://github.com/gentoo/sci/pull/1014 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild')
-rw-r--r--sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild32
1 files changed, 17 insertions, 15 deletions
diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild
index 68341a338..0aa05e878 100644
--- a/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild
+++ b/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
PYTHON_COMPAT=( python2_7 )
@@ -38,6 +38,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# sys-libs/db should be compiled with USE=cxx
# dev-libs/boost must have Boost.Test suite, probably dev-libs/boost[test] then?
DEPEND="
+ <sys-devel/gcc-10:=
!sci-biology/sra_sdk
app-arch/cpio
berkdb? ( sys-libs/db:4.3[cxx] )
@@ -83,7 +84,21 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
+PATCHES=(
+ "${FILESDIR}"/${P}-conf-opts.patch
+ "${FILESDIR}"/${P}-fix-svn-URL-upstream.patch
+ "${FILESDIR}"/${P}-linkage-tuneups.patch
+ "${FILESDIR}"/${P}-more-patches.patch
+ "${FILESDIR}"/${P}-linkage-tuneups-addons.patch
+ "${FILESDIR}"/${P}-configure.patch
+ "${FILESDIR}"/${P}-drop-STATIC-from-LIB.patch
+ "${FILESDIR}"/${P}-fix-install.patch
+ "${FILESDIR}"/${P}-bdb6.patch
+ "${FILESDIR}"/${P}-never_build_test_boost.patch # bug #579248
+ )
+
src_prepare() {
+ default
# filter-ldflags -Wl,--as-needed
# append-ldflags -Wl,--no-undefined
# sed -i -e 's/-print-file-name=libstdc++.a//' \
@@ -110,24 +125,11 @@ src_prepare() {
# use prefix && append-ldflags -Wl,-rpath,"${EPREFIX}/usr/$(get_libdir)/${PN}"
# The conf-opts.patch and as-needed.patch need to be adjusted for 12.0.0 line numbers
- local PATCHES=(
- "${FILESDIR}"/${P}-conf-opts.patch
- "${FILESDIR}"/${P}-fix-svn-URL-upstream.patch
- "${FILESDIR}"/${P}-linkage-tuneups.patch
- "${FILESDIR}"/${P}-more-patches.patch
- "${FILESDIR}"/${P}-linkage-tuneups-addons.patch
- "${FILESDIR}"/${P}-configure.patch
- "${FILESDIR}"/${P}-drop-STATIC-from-LIB.patch
- "${FILESDIR}"/${P}-fix-install.patch
- "${FILESDIR}"/${P}-bdb6.patch
- "${FILESDIR}"/${P}-never_build_test_boost.patch # bug #579248
- )
# "${FILESDIR}"/${P}-as-needed.patch
# "${FILESDIR}"/${P}-fix-creaders-linking.patch
# "${FILESDIR}"/${P}-fix-FreeTDS-upstream.patch
# )
# "${FILESDIR}"/${P}-support-autoconf-2.60.patch
- epatch ${PATCHES[@]}
# make sure this one is the last one and contains the actual patches applied unless we can have autoconf-2.59 or 2.60
# https://bugs.gentoo.org/show_bug.cgi?id=514706