diff options
author | David Seifert <soap@gentoo.org> | 2022-07-07 21:56:56 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-07-07 21:56:56 +0200 |
commit | d31ff028511de2e2cc29e125cae3a6862aa6e2ec (patch) | |
tree | 127b0bf3668bc646ca2d1f5d24a1f81e37c83973 /sci-biology | |
parent | sci-biology/hmmer: update EAPI 6 -> 8 (2.3.2) (diff) | |
download | gentoo-d31ff028511de2e2cc29e125cae3a6862aa6e2ec.tar.gz gentoo-d31ff028511de2e2cc29e125cae3a6862aa6e2ec.tar.bz2 gentoo-d31ff028511de2e2cc29e125cae3a6862aa6e2ec.zip |
sci-biology/hmmer: update EAPI 6 -> 8 (3.1_beta2)
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/hmmer/files/hmmer-3.1_beta2-makefile.patch (renamed from sci-biology/hmmer/files/hmmer-3.1_beta2-fix-header-install-path.patch) | 23 | ||||
-rw-r--r-- | sci-biology/hmmer/hmmer-3.1_beta2-r1.ebuild (renamed from sci-biology/hmmer/hmmer-3.1_beta2.ebuild) | 32 |
2 files changed, 41 insertions, 14 deletions
diff --git a/sci-biology/hmmer/files/hmmer-3.1_beta2-fix-header-install-path.patch b/sci-biology/hmmer/files/hmmer-3.1_beta2-makefile.patch index b9ff5b92b8f9..1c08d67e7bdd 100644 --- a/sci-biology/hmmer/files/hmmer-3.1_beta2-fix-header-install-path.patch +++ b/sci-biology/hmmer/files/hmmer-3.1_beta2-makefile.patch @@ -1,4 +1,5 @@ -Install headers into 'hmmer3' subdir and not into global includedir. +* Install headers into 'hmmer3' subdir and not into global includedir +* Respect AR --- a/easel/Makefile.in +++ b/easel/Makefile.in @@ -17,6 +18,26 @@ Install headers into 'hmmer3' subdir and not into global includedir. ${QUIET_SUBDIR0}miniapps ${QUIET_SUBDIR1} install # "make uninstall" reverses the steps of "make install" +--- a/libdivsufsort/Makefile.in ++++ b/libdivsufsort/Makefile.in +@@ -16,7 +16,7 @@ + CFLAGS = @CFLAGS@ @PTHREAD_CFLAGS@ @PIC_FLAGS@ + CPPFLAGS = @CPPFLAGS@ + MPILIBS = @MPILIBS@ +-AR = @AR@ rc ++AR = @AR@ + RANLIB = @RANLIB@ + INSTALL = @INSTALL@ + +@@ -43,7 +43,7 @@ + + + libdivsufsort.a: $(OBJS) +- ${QUIET_AR}${AR} libdivsufsort.a $(OBJS) ++ ${QUIET_AR}${AR} rc libdivsufsort.a $(OBJS) + @${RANLIB} libdivsufsort.a + @chmod 644 libdivsufsort.a + --- a/Makefile.in +++ b/Makefile.in @@ -143,6 +143,7 @@ diff --git a/sci-biology/hmmer/hmmer-3.1_beta2.ebuild b/sci-biology/hmmer/hmmer-3.1_beta2-r1.ebuild index b65fa0824f9b..666d21cd5532 100644 --- a/sci-biology/hmmer/hmmer-3.1_beta2.ebuild +++ b/sci-biology/hmmer/hmmer-3.1_beta2-r1.ebuild @@ -1,49 +1,55 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 + +inherit toolchain-funcs MY_PV="${PV/_beta/b}" DESCRIPTION="Sequence analysis using profile hidden Markov models" HOMEPAGE="http://hmmer.org/" SRC_URI="http://eddylab.org/software/${PN}3/${MY_PV}/hmmer-${MY_PV}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="GPL-3" SLOT="0" -IUSE="altivec cpu_flags_x86_sse gsl mpi test +threads" -RESTRICT="!test? ( test )" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="cpu_flags_ppc_altivec cpu_flags_x86_sse gsl mpi test" +RESTRICT="!test? ( test )" RDEPEND=" mpi? ( virtual/mpi ) gsl? ( sci-libs/gsl:= )" -DEPEND="${RDEPEND} - test? ( dev-lang/perl )" +DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-lang/perl )" -S="${WORKDIR}/${PN}-${MY_PV}" PATCHES=( - "${FILESDIR}/${PN}-3.1_beta2-fix-perl-shebangs.patch" - "${FILESDIR}/${PN}-3.1_beta2-fix-header-install-path.patch" + "${FILESDIR}"/${PN}-3.1_beta2-fix-perl-shebangs.patch + "${FILESDIR}"/${PN}-3.1_beta2-makefile.patch ) src_configure() { - # make build verbose, bug 429308 + # make build verbose, bug #429308 export V=1 econf \ --disable-pic \ - $(use_enable altivec vmx) \ + --enable-threads \ + $(use_enable cpu_flags_ppc_altivec vmx) \ $(use_enable cpu_flags_x86_sse sse) \ $(use_enable mpi) \ - $(use_enable threads) \ $(use_with gsl) } +src_compile() { + emake AR="$(tc-getAR)" +} + src_install() { default dodoc Userguide.pdf - insinto /usr/share/${PN} + insinto /usr/share/hmmer doins -r tutorial } |