1 |
commit: 97598a49ff923b98b8fc93be497373ef754cccf3 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 29 00:14:51 2013 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 29 00:14:51 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=97598a49 |
7 |
|
8 |
sci-biology/amos: Move to tree |
9 |
|
10 |
Package-Manager: portage-2.2.7 |
11 |
|
12 |
--- |
13 |
sci-biology/amos/ChangeLog | 6 +++ |
14 |
sci-biology/amos/amos-3.1.0-r1.ebuild | 30 ------------- |
15 |
sci-biology/amos/amos-9999.ebuild | 8 ++-- |
16 |
sci-biology/amos/files/amos-3.1.0-gcc-4.7.patch | 15 ------- |
17 |
...mos-3.1.0-goBambus2.py-indent-and-cleanup.patch | 25 ----------- |
18 |
sci-biology/amos/files/amos.m4.patch | 49 ---------------------- |
19 |
6 files changed, 9 insertions(+), 124 deletions(-) |
20 |
|
21 |
diff --git a/sci-biology/amos/ChangeLog b/sci-biology/amos/ChangeLog |
22 |
index 22c5625..7d1df6d 100644 |
23 |
--- a/sci-biology/amos/ChangeLog |
24 |
+++ b/sci-biology/amos/ChangeLog |
25 |
@@ -2,6 +2,12 @@ |
26 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
27 |
# $Header: $ |
28 |
|
29 |
+ 29 Dec 2013; Justin Lecher <jlec@g.o> -amos-3.1.0-r1.ebuild, |
30 |
+ amos-9999.ebuild, -files/amos-3.1.0-gcc-4.7.patch, |
31 |
+ -files/amos-3.1.0-goBambus2.py-indent-and-cleanup.patch, |
32 |
+ -files/amos.m4.patch: |
33 |
+ Move to tree |
34 |
+ |
35 |
*amos-3.1.0-r1 (11 Sep 2013) |
36 |
|
37 |
11 Sep 2013; Martin Mokrejs <mmokrejs@×××××××××××××××.cz> |
38 |
|
39 |
diff --git a/sci-biology/amos/amos-3.1.0-r1.ebuild b/sci-biology/amos/amos-3.1.0-r1.ebuild |
40 |
deleted file mode 100644 |
41 |
index f1e0470..0000000 |
42 |
--- a/sci-biology/amos/amos-3.1.0-r1.ebuild |
43 |
+++ /dev/null |
44 |
@@ -1,30 +0,0 @@ |
45 |
-# Copyright 1999-2013 Gentoo Foundation |
46 |
-# Distributed under the terms of the GNU General Public License v2 |
47 |
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/amos/amos-3.1.0.ebuild,v 1.8 2013/03/19 07:41:20 jlec Exp $ |
48 |
- |
49 |
-EAPI=4 |
50 |
- |
51 |
-inherit eutils |
52 |
- |
53 |
-DESCRIPTION="A Modular, Open-Source whole genome assembler" |
54 |
-HOMEPAGE="http://amos.sourceforge.net/" |
55 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
56 |
- |
57 |
-LICENSE="Artistic" |
58 |
-SLOT="0" |
59 |
-KEYWORDS="~amd64 ~x86" |
60 |
-IUSE="qt4" |
61 |
- |
62 |
-DEPEND="qt4? ( dev-qt/qtcore:4 )" |
63 |
-RDEPEND="${DEPEND} |
64 |
- dev-perl/DBI |
65 |
- dev-perl/Statistics-Descriptive |
66 |
- sci-biology/mummer" |
67 |
- |
68 |
-MAKEOPTS+=" -j1" |
69 |
- |
70 |
-src_prepare() { |
71 |
- epatch \ |
72 |
- "${FILESDIR}"/${P}-gcc-4.7.patch \ |
73 |
- "${FILESDIR}"/${P}-goBambus2.py-indent-and-cleanup.patch |
74 |
-} |
75 |
|
76 |
diff --git a/sci-biology/amos/amos-9999.ebuild b/sci-biology/amos/amos-9999.ebuild |
77 |
index 67180f8..29ae041 100644 |
78 |
--- a/sci-biology/amos/amos-9999.ebuild |
79 |
+++ b/sci-biology/amos/amos-9999.ebuild |
80 |
@@ -4,11 +4,9 @@ |
81 |
|
82 |
EAPI=5 |
83 |
|
84 |
-[ "$PV" == "9999" ] && VCS=git-2 |
85 |
- |
86 |
AUTOTOOLS_AUTORECONF=true |
87 |
|
88 |
-inherit autotools-utils ${VCS} |
89 |
+inherit autotools-utils git-r3 |
90 |
|
91 |
DESCRIPTION="Genome assembly package live cvs sources" |
92 |
HOMEPAGE="http://sourceforge.net/projects/amos" |
93 |
@@ -24,5 +22,5 @@ DEPEND=" |
94 |
dev-libs/boost |
95 |
dev-qt/qtcore:4" |
96 |
RDEPEND="${DEPEND} |
97 |
- dev-perl/DBI |
98 |
- sci-biology/mummer" |
99 |
+ dev-perl/DBI |
100 |
+ sci-biology/mummer" |
101 |
|
102 |
diff --git a/sci-biology/amos/files/amos-3.1.0-gcc-4.7.patch b/sci-biology/amos/files/amos-3.1.0-gcc-4.7.patch |
103 |
deleted file mode 100644 |
104 |
index de2a411..0000000 |
105 |
--- a/sci-biology/amos/files/amos-3.1.0-gcc-4.7.patch |
106 |
+++ /dev/null |
107 |
@@ -1,15 +0,0 @@ |
108 |
- src/Align/find-tandem.cc | 1 + |
109 |
- 1 files changed, 1 insertions(+), 0 deletions(-) |
110 |
- |
111 |
-diff --git a/src/Align/find-tandem.cc b/src/Align/find-tandem.cc |
112 |
-index ddf1cab..a29e21e 100644 |
113 |
---- a/src/Align/find-tandem.cc |
114 |
-+++ b/src/Align/find-tandem.cc |
115 |
-@@ -7,6 +7,7 @@ |
116 |
- #include <vector> |
117 |
- #include <ctime> |
118 |
- #include <sys/time.h> |
119 |
-+#include <unistd.h> |
120 |
- using namespace std; |
121 |
- |
122 |
- const int OFFSET_TABLE_SIZE = 100; |
123 |
|
124 |
diff --git a/sci-biology/amos/files/amos-3.1.0-goBambus2.py-indent-and-cleanup.patch b/sci-biology/amos/files/amos-3.1.0-goBambus2.py-indent-and-cleanup.patch |
125 |
deleted file mode 100644 |
126 |
index 97a8f59..0000000 |
127 |
--- a/sci-biology/amos/files/amos-3.1.0-goBambus2.py-indent-and-cleanup.patch |
128 |
+++ /dev/null |
129 |
@@ -1,25 +0,0 @@ |
130 |
---- amos-3.1.0/src/Pipeline/goBambus2.py.orig 2013-09-11 01:05:29.850090457 +0200 |
131 |
-+++ amos-3.1.0/src/Pipeline/goBambus2.py 2013-09-11 01:07:03.250090701 +0200 |
132 |
-@@ -1,7 +1,7 @@ |
133 |
- #pipeline script for assembly + Bambus 2 |
134 |
- #contributed by Todd J Treangen |
135 |
- |
136 |
--import string, sys, os, subprocess#, spincursor |
137 |
-+import sys, os, subprocess#, spincursor |
138 |
- |
139 |
- RED = "\033[0;31m" |
140 |
- GREEN = "\033[0;32m" |
141 |
-@@ -360,7 +360,7 @@ |
142 |
- print "\t\t%s...failed%s"%(RED,NONE) |
143 |
- sys.exit(1) |
144 |
- |
145 |
-- p = subprocess.Popen(AMOSDIR+"OutputResults -b %s -prefix %s %s"%(amosbank, prefix+".scaff.linear"), shell=True, stdin=subprocess.PIPE, stdout=vtext, stderr=logfile) |
146 |
-+ p = subprocess.Popen(AMOSDIR+"OutputResults -b %s -prefix %s %s"%(amosbank, prefix+".scaff.linear"), shell=True, stdin=subprocess.PIPE, stdout=vtext, stderr=logfile) |
147 |
- |
148 |
- if xopt_dict["verbose"] == 1: |
149 |
- print "10) running OutputResults" |
150 |
-@@ -388,4 +388,3 @@ |
151 |
- else: |
152 |
- print "\t\t%s...failed%s"%(RED,NONE) |
153 |
- sys.exit(1) |
154 |
--) |
155 |
|
156 |
diff --git a/sci-biology/amos/files/amos.m4.patch b/sci-biology/amos/files/amos.m4.patch |
157 |
deleted file mode 100644 |
158 |
index 3c811b3..0000000 |
159 |
--- a/sci-biology/amos/files/amos.m4.patch |
160 |
+++ /dev/null |
161 |
@@ -1,49 +0,0 @@ |
162 |
---- config/amos.m4.ori 2010-12-05 17:33:13.000000000 +0100 |
163 |
-+++ config/amos.m4 2010-12-05 17:46:26.000000000 +0100 |
164 |
-@@ -219,7 +219,7 @@ |
165 |
- ); then |
166 |
- |
167 |
- if test x"$amos_qt_dir" = x; then |
168 |
-- amos_qt_dir="$amos_qt_bin_dir" |
169 |
-+ amos_qt_dir= |
170 |
- fi |
171 |
- if test x"$amos_qt_include_dir" = x; then |
172 |
- amos_qt_include_dir="$amos_qt_dir/include" |
173 |
-@@ -279,16 +279,6 @@ |
174 |
- QT_LIBS="$amos_qt_LIBS" |
175 |
- # If amos_qt_dir is defined, utilities are expected to be in the |
176 |
- # bin subdirectory |
177 |
-- if test x"$amos_qt_dir" != x; then |
178 |
-- if test -x "$amos_qt_dir/bin/uic"; then |
179 |
-- QT_UIC="$amos_qt_dir/bin/uic" |
180 |
-- else |
181 |
-- # Old versions of Qt don't have uic |
182 |
-- QT_UIC= |
183 |
-- fi |
184 |
-- QT_MOC="$amos_qt_dir/bin/moc" |
185 |
-- else |
186 |
-- # Or maybe we are told where to look for the utilities |
187 |
- if test x"$amos_qt_bin_dir" != x; then |
188 |
- if test -x "$amos_qt_bin_dir/uic"; then |
189 |
- QT_UIC="$amos_qt_bin_dir/uic" |
190 |
-@@ -297,11 +287,19 @@ |
191 |
- QT_UIC= |
192 |
- fi |
193 |
- QT_MOC="$amos_qt_bin_dir/moc" |
194 |
-- else |
195 |
-+ if test x"$QT_MOC" = "x/moc"; then |
196 |
- # Last possibility is that they are in $PATH |
197 |
- QT_UIC="`which uic`" |
198 |
- QT_MOC="`which moc`" |
199 |
- fi |
200 |
-+ elif test x"$amos_qt_dir" != x; then |
201 |
-+ if test -x "$amos_qt_dir/bin/uic"; then |
202 |
-+ QT_UIC="$amos_qt_dir/bin/uic" |
203 |
-+ else |
204 |
-+ # Old versions of Qt don't have uic |
205 |
-+ QT_UIC= |
206 |
-+ fi |
207 |
-+ QT_MOC="$amos_qt_dir/bin/moc" |
208 |
- fi |
209 |
- # All variables are defined, report the result |
210 |
- AC_MSG_RESULT([$have_qt]) |