Gentoo Archives: gentoo-commits

From: Marius Brehler <marbre@××××××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/consed/
Date: Wed, 12 Oct 2016 06:31:04
Message-Id: 1475529840.6c039b13fc211799fc9de0a6e92df997f90169ed.marbre@gentoo
1 commit: 6c039b13fc211799fc9de0a6e92df997f90169ed
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 3 21:22:56 2016 +0000
4 Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
5 CommitDate: Mon Oct 3 21:24:00 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6c039b13
7
8 sci-biology/consed: Remove, latest version in main tree
9
10 sci-biology/consed/consed-29.ebuild | 93 -------------------------------------
11 sci-biology/consed/metadata.xml | 12 -----
12 2 files changed, 105 deletions(-)
13
14 diff --git a/sci-biology/consed/consed-29.ebuild b/sci-biology/consed/consed-29.ebuild
15 deleted file mode 100644
16 index 002e007..0000000
17 --- a/sci-biology/consed/consed-29.ebuild
18 +++ /dev/null
19 @@ -1,93 +0,0 @@
20 -# Copyright 1999-2015 Gentoo Foundation
21 -# Distributed under the terms of the GNU General Public License v2
22 -# $Id$
23 -
24 -EAPI=5
25 -
26 -inherit eutils toolchain-funcs
27 -
28 -DESCRIPTION="A genome sequence finishing program"
29 -HOMEPAGE="http://bozeman.mbt.washington.edu/consed/consed.html"
30 -SRC_URI="
31 - ${P}-sources.tar.gz
32 - ${P}-linux.tar.gz"
33 -
34 -LICENSE="phrap"
35 -SLOT="0"
36 -KEYWORDS="~amd64 ~x86"
37 -IUSE=""
38 -
39 -DEPEND=">=x11-libs/motif-2.3:0"
40 -# it needs samtools-0.18 with khash.h
41 -# This file was about sci-biology/samtools-1.2 time moved to sci-libs/htslib-1.2.1
42 -RDEPEND="${DEPEND}
43 - <sci-biology/samtools-1.0
44 - >=sci-biology/samtools-0.1.18
45 - >=sci-biology/phred-000925
46 - >=sci-biology/phrap-1.080721
47 - dev-lang/perl"
48 -
49 -S="${WORKDIR}"
50 -
51 -RESTRICT="fetch"
52 -
53 -pkg_nofetch() {
54 - einfo "Please visit ${HOMEPAGE} and obtain the file"
55 - einfo "\"sources.tar.gz\", then rename it to \"${P}-sources.tar.gz\""
56 - einfo "and place it in ${DISTDIR},"
57 - einfo "obtain the file"
58 - einfo "\"consed_linux.tar.gz\", then rename it to \"${P}-linux.tar.gz\""
59 - einfo "and place it in ${DISTDIR}"
60 -}
61 -
62 -src_prepare() {
63 - sed -i '/#include/ s/<new.h>/<new>/' "${S}/main.cpp" || die
64 - sed -i \
65 - -e '/CLIBS=/ s/$/ -lXm -lXt -lSM -lICE -lXext -lXmu -lXp -lm -lbam -lz/' \
66 - -e 's/ARCHIVES=/ARCHIVES=\n_ARCHIVES=/' \
67 - -e 's/CFLGS=/CFLGS= ${CFLAGS} /' \
68 - -e 's#/me1/gordon/samtools/samtools-0.1.18#/usr/include/bam/ -I/usr/include/htslib/#' "${S}/makefile" || die
69 - sed -i -e 's/CFLAGS=/CFLAGS += /' "${S}"/misc/*/Makefile || die
70 - sed \
71 - -e "s!\$szPhredParameterFile = .*!\$szPhredParameterFile = \$ENV{'PHRED_PARAMETER_FILE'} || \'"${EPREFIX}"/usr/share/phred/phredpar.dat\';!" \
72 - -i "${S}"/scripts/* || die
73 -}
74 -
75 -src_compile() {
76 - einfo "consed does not compile with >=sys-devel/gcc-4.6:* but 4.4.7 works"
77 - default
78 - emake -C misc/mktrace
79 - emake -C misc/phd2fasta
80 - (cd misc/454; $(tc-getCC) ${CFLAGS} ${LDFLAGS} sff2scf.c -o sff2scf) || die
81 -}
82 -
83 -src_install() {
84 - dobin consed misc/{mktrace/mktrace,phd2fasta/phd2fasta,454/sff2scf}
85 - dobin scripts/* contributions/*
86 - insinto /usr/lib/screenLibs
87 - doins misc/*.{fa*,seq}
88 - insinto /usr/share/${PN}/examples
89 - doins -r \
90 - standard polyphred autofinish assembly_view 454_newbler \
91 - align454reads align454reads_answer solexa_example \
92 - solexa_example_answer selectRegions selectRegionsAnswer
93 - echo CONSED_HOME="${EPREFIX}"/usr > "${S}"/99consed || die
94 - echo CONSED_PARAMETERS="${EPREFIX}"/etc/consedrc >> "${S}"/99consed || die
95 - touch "${ED}"/etc/consedrc || die "Cannot create a file for system-wide settings"
96 - doenvd "${S}/99consed"
97 - sed \
98 - -e "s#/usr/local/genome#${EPREFIX}/usr#" \
99 - -i "${ED}"/usr/bin/{*.perl,phredPhrap,phredPhrapWithPhdBalls} || die
100 - sed \
101 - -e 's#niceExe = "/bin/nice"#niceExe = "/usr/bin/nice"#' \
102 - -i "${ED}"/usr/bin/phredPhrap || die
103 - sed \
104 - -e 's#/wt1/gordon/genome#/usr/bin#' \
105 - -i "${ED}"/usr/bin/fastq2Phrap.perl || die
106 - dodoc README.txt *_announcement.txt
107 -}
108 -
109 -pkg_postinst() {
110 - einfo "Package documentation is available at"
111 - einfo "http://www.phrap.org/consed/distributions/README.${PV}.0.txt"
112 -}
113
114 diff --git a/sci-biology/consed/metadata.xml b/sci-biology/consed/metadata.xml
115 deleted file mode 100644
116 index 1699e58..0000000
117 --- a/sci-biology/consed/metadata.xml
118 +++ /dev/null
119 @@ -1,12 +0,0 @@
120 -<?xml version="1.0" encoding="UTF-8"?>
121 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
122 -<pkgmetadata>
123 - <maintainer type="person">
124 - <email>mmokrejs@×××××××××××××××.cz</email>
125 - <name>Martin Mokrejs</name>
126 - </maintainer>
127 -<maintainer type="project">
128 - <email>sci-biology@g.o</email>
129 - <name>Gentoo Biology Project</name>
130 - </maintainer>
131 -</pkgmetadata>