summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-biology/t-coffee
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-biology/t-coffee')
-rw-r--r--sci-biology/t-coffee/Manifest2
-rw-r--r--sci-biology/t-coffee/files/t-coffee-9.03.1318-flags.patch21
-rw-r--r--sci-biology/t-coffee/metadata.xml14
-rw-r--r--sci-biology/t-coffee/t-coffee-11.00.ebuild54
-rw-r--r--sci-biology/t-coffee/t-coffee-9.03.1318-r1.ebuild57
5 files changed, 148 insertions, 0 deletions
diff --git a/sci-biology/t-coffee/Manifest b/sci-biology/t-coffee/Manifest
new file mode 100644
index 000000000000..d7abf3e8ff7d
--- /dev/null
+++ b/sci-biology/t-coffee/Manifest
@@ -0,0 +1,2 @@
+DIST T-COFFEE_distribution_Version_11.00.8cbe486.tar.gz 3526354 SHA256 b8018433574ff7705c49cd974bebb06a48eb8bc5e38aaa9eb4f53f2e7778e72c SHA512 5c486411bae430cfca6f4623f4dff348e2d9ab7c2eb0edef8059c6cb9c01ee48347e06be0c5d19ee1ace4b9f597f19beee8da2d7eecba29c5a78c2aec800be92 WHIRLPOOL 205eb1b416b38c4d86722ec501d815cc3f9f974a79e07f6fff32855972a9d3a9849585ca345fa66bbcbe15dca8f16930e7bafe44ce5d39e23f9f73023da13b7c
+DIST T-COFFEE_distribution_Version_9.03.r1318.tar.gz 3455629 SHA256 5bb9a531a4036b741a8ff0fe19f3591a3f33bf7ac4f484e5329b1b5dd1fff43c SHA512 40220c9fca5bee59b66757162ff2279c2ab221cca07532c64ed3606a95a787080cd4d6bf301ca6d20d8ba4f0c2166e5785fc0ad81ed6528eb527f24d59e79cc8 WHIRLPOOL a9d6b5abdf9851289d1de985fe0eda16f40d72ad23c74ee80ec7a365d9e6124ba12b4dc17894b98bd8d886f4dd0a25bce96cd4e2ec1bc7c2177d6ab8aa00bb65
diff --git a/sci-biology/t-coffee/files/t-coffee-9.03.1318-flags.patch b/sci-biology/t-coffee/files/t-coffee-9.03.1318-flags.patch
new file mode 100644
index 000000000000..5b15108b3bfa
--- /dev/null
+++ b/sci-biology/t-coffee/files/t-coffee-9.03.1318-flags.patch
@@ -0,0 +1,21 @@
+ t_coffee_source/makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/t_coffee_source/makefile b/t_coffee_source/makefile
+index 9e01ba0..026b714 100644
+--- a/t_coffee_source/makefile
++++ b/t_coffee_source/makefile
+@@ -1,6 +1,6 @@
+
+ t_coffee: util_constraints_list.o util_job_handling.o util_dps.o util_domain_constraints_list.o util_analyse_constraints_list.o util_aln_analyze.o aln_convertion_util.o util_declare.o hsearch.o random.o util_make_tree.o util.o reformat_struc.o reformat.o aln_compare.o io_func.o pb_util_read_sequence.o pb_util_read_seq_util.o tree_util.o util_graph_maln.o util_dp_clean_maln.o util_dp_ssec_pwaln.o util_dp_sim.o util_dp_mm_nw.o util_dp_gotoh_nw.o util_dp_suboptimal_nw.o util_dp_cdna_fasta_nw.o util_dp_generic_fasta_nw.o util_dp_fasta_nw.o util_dp_fasta_sw.o util_dp_gotoh_sw.o util_dp_est.o util_domain_dp_drivers.o util_dp_drivers.o util_domain_dp.o CUSTOM_evaluate_for_struc.o evaluate_for_struc.o evaluate_for_domain.o evaluate_dirichlet.o evaluate.o showpair.o fsa_dp.o pavie_dp.o dev1.o dev2.o dev3.o dev4.o fastal.o parttree.o tree.o diagonal.o fastal_opt_parsing.o scoring.o iteration.o Stack.o Vector.o classes.o km_util.o kmeans.o km_coffee.o t_coffee.o
+- $(CC) $(CFLAGS) -o t_coffee util_constraints_list.o util_job_handling.o util_dps.o util_domain_constraints_list.o util_analyse_constraints_list.o util_aln_analyze.o aln_convertion_util.o util_declare.o hsearch.o random.o util_make_tree.o util.o reformat_struc.o reformat.o aln_compare.o io_func.o pb_util_read_sequence.o pb_util_read_seq_util.o tree_util.o util_graph_maln.o util_dp_clean_maln.o util_dp_ssec_pwaln.o util_dp_sim.o util_dp_mm_nw.o util_dp_gotoh_nw.o util_dp_suboptimal_nw.o util_dp_cdna_fasta_nw.o util_dp_generic_fasta_nw.o util_dp_fasta_nw.o util_dp_fasta_sw.o util_dp_gotoh_sw.o util_dp_est.o util_domain_dp_drivers.o util_dp_drivers.o util_domain_dp.o CUSTOM_evaluate_for_struc.o evaluate_for_struc.o evaluate_for_domain.o evaluate_dirichlet.o evaluate.o showpair.o fsa_dp.o pavie_dp.o dev1.o dev2.o dev3.o dev4.o fastal.o parttree.o tree.o diagonal.o fastal_opt_parsing.o scoring.o iteration.o Stack.o Vector.o classes.o km_util.o kmeans.o km_coffee.o t_coffee.o -lm
++ $(CC) $(CFLAGS) $(LDFLAGS) -o t_coffee util_constraints_list.o util_job_handling.o util_dps.o util_domain_constraints_list.o util_analyse_constraints_list.o util_aln_analyze.o aln_convertion_util.o util_declare.o hsearch.o random.o util_make_tree.o util.o reformat_struc.o reformat.o aln_compare.o io_func.o pb_util_read_sequence.o pb_util_read_seq_util.o tree_util.o util_graph_maln.o util_dp_clean_maln.o util_dp_ssec_pwaln.o util_dp_sim.o util_dp_mm_nw.o util_dp_gotoh_nw.o util_dp_suboptimal_nw.o util_dp_cdna_fasta_nw.o util_dp_generic_fasta_nw.o util_dp_fasta_nw.o util_dp_fasta_sw.o util_dp_gotoh_sw.o util_dp_est.o util_domain_dp_drivers.o util_dp_drivers.o util_domain_dp.o CUSTOM_evaluate_for_struc.o evaluate_for_struc.o evaluate_for_domain.o evaluate_dirichlet.o evaluate.o showpair.o fsa_dp.o pavie_dp.o dev1.o dev2.o dev3.o dev4.o fastal.o parttree.o tree.o diagonal.o fastal_opt_parsing.o scoring.o iteration.o Stack.o Vector.o classes.o km_util.o kmeans.o km_coffee.o t_coffee.o -lm
+
+ all: t_coffee TMalign
+
+@@ -8,4 +8,4 @@ clean:
+ rm *.o
+
+ TMalign:
+- $(FCC) TMalign.f -o TMalign
++ $(FC) $(FCLAGS) $(LDFLAGS) TMalign.f -o TMalign
diff --git a/sci-biology/t-coffee/metadata.xml b/sci-biology/t-coffee/metadata.xml
new file mode 100644
index 000000000000..9a577185ee36
--- /dev/null
+++ b/sci-biology/t-coffee/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-biology</herd>
+ <longdescription>
+ T-Coffee is a multiple sequence alignment package. Given a set of
+ sequences (Proteins or DNA), T-Coffee generates a multiple sequence
+ alignment. Version 2.00 and higher can mix sequences and structures.
+ T-Coffee allows the combination of a collection of multiple/pairwise,
+ global or local alignments into a single model. It also allows to
+ estimate the level of consistency of each position within the new
+ alignment with the rest of the alignments.
+ </longdescription>
+</pkgmetadata>
diff --git a/sci-biology/t-coffee/t-coffee-11.00.ebuild b/sci-biology/t-coffee/t-coffee-11.00.ebuild
new file mode 100644
index 000000000000..62e8b7033cbe
--- /dev/null
+++ b/sci-biology/t-coffee/t-coffee-11.00.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils flag-o-matic toolchain-funcs
+
+MY_HASH="8cbe486"
+MY_PV="${PV}.${MY_HASH}"
+MY_P="T-COFFEE_distribution_Version_${MY_PV}"
+
+DESCRIPTION="A multiple sequence alignment package"
+HOMEPAGE="http://www.tcoffee.org/Projects_home_page/t_coffee_home_page.html"
+SRC_URI="http://www.tcoffee.org/Packages/Stable/Version_${MY_PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+
+RDEPEND="
+ sci-biology/clustalw
+ sci-chemistry/tm-align"
+DEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed \
+ -e '/@/s:.*;:\t:g' \
+ -e '/Linking/s:$(CC):$(CC) $(CFLAGS) $(LDFLAGS):g' \
+ -i t_coffee_source/makefile || die
+}
+
+src_compile() {
+ [[ $(gcc-version) == "3.4" ]] || \
+ [[ $(gcc-version) == "4.1" ]] && \
+ append-flags -fno-unit-at-a-time
+ emake \
+ V=1 \
+ CC="$(tc-getCXX)" \
+ CFLAGS="${CXXFLAGS} -Wno-write-strings -Wno-unused-result" \
+ -C t_coffee_source t_coffee
+}
+
+src_install() {
+ dobin t_coffee_source/t_coffee
+
+ if use examples; then
+ insinto /usr/share/${PN}
+ doins -r example
+ fi
+}
diff --git a/sci-biology/t-coffee/t-coffee-9.03.1318-r1.ebuild b/sci-biology/t-coffee/t-coffee-9.03.1318-r1.ebuild
new file mode 100644
index 000000000000..4b56c05793b5
--- /dev/null
+++ b/sci-biology/t-coffee/t-coffee-9.03.1318-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils flag-o-matic fortran-2 toolchain-funcs versionator
+
+MY_PV="$(replace_version_separator 2 .r)"
+MY_P="T-COFFEE_distribution_Version_${MY_PV}"
+
+DESCRIPTION="A multiple sequence alignment package"
+HOMEPAGE="http://www.tcoffee.org/Projects_home_page/t_coffee_home_page.html"
+SRC_URI="http://www.tcoffee.org/Packages/Stable/Version_${MY_PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+
+RDEPEND="
+ sci-biology/clustalw
+ sci-chemistry/tm-align"
+DEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+die_compile() {
+ echo
+ eerror "If you experience an internal compiler error (consult the above"
+ eerror "messages), try compiling t-coffee using very modest compiler flags."
+ eerror "See bug #114745 on the Gentoo Bugzilla for more details."
+ die "Compilation failed"
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-flags.patch
+}
+
+src_compile() {
+ [[ $(gcc-version) == "3.4" ]] || \
+ [[ $(gcc-version) == "4.1" ]] && \
+ append-flags -fno-unit-at-a-time
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ -C t_coffee_source t_coffee
+}
+
+src_install() {
+ dobin t_coffee_source/t_coffee
+
+ if use examples; then
+ insinto /usr/share/${PN}
+ doins -r example
+ fi
+}