1 |
commit: d174cca6d660563e4d1ac95875628d8b4ec94867 |
2 |
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Thu Mar 28 21:46:20 2019 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Thu Mar 28 21:46:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d174cca6 |
7 |
|
8 |
sci-biology/maker: some progress with the ebuild, empty KEYWORDS |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Martin Mokrejs <mmokrejs <AT> fold.natur.cuni.cz> |
12 |
|
13 |
.../{maker-2.31.8.ebuild => maker-2.31.10.ebuild} | 32 ++++++++++++++++++---- |
14 |
...ker-2.31.8.ebuild => maker-3.01.02_beta.ebuild} | 16 +++++++---- |
15 |
2 files changed, 37 insertions(+), 11 deletions(-) |
16 |
|
17 |
diff --git a/sci-biology/maker/maker-2.31.8.ebuild b/sci-biology/maker/maker-2.31.10.ebuild |
18 |
similarity index 80% |
19 |
copy from sci-biology/maker/maker-2.31.8.ebuild |
20 |
copy to sci-biology/maker/maker-2.31.10.ebuild |
21 |
index e5c791ab2..b7dc780a9 100644 |
22 |
--- a/sci-biology/maker/maker-2.31.8.ebuild |
23 |
+++ b/sci-biology/maker/maker-2.31.10.ebuild |
24 |
@@ -1,4 +1,4 @@ |
25 |
-# Copyright 1999-2016 Gentoo Foundation |
26 |
+# Copyright 1999-2019 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
EAPI=5 |
30 |
@@ -21,6 +21,10 @@ IUSE="mpi" |
31 |
|
32 |
# http://search.cpan.org/~rybskej/forks-0.36/lib/forks.pm # bug #566360 |
33 |
# http://search.cpan.org/~rybskej/forks-0.36/lib/forks/shared.pm |
34 |
+# |
35 |
+# MAKER does not work with MVAPICH2. |
36 |
+# It can work with Intel MPI and OpenMPI with some command line modification. |
37 |
+# It always works with MPICH, but MPICH may not be able to scale to more than ~100 CPUs. |
38 |
DEPEND=" |
39 |
mpi? ( sys-cluster/mpich2 || ( sys-cluster/openmpi ) ) |
40 |
dev-perl/DBI |
41 |
@@ -104,12 +108,14 @@ pkg_nofetch() { |
42 |
src_compile(){ |
43 |
perl Build.PL || die |
44 |
./Build install || die |
45 |
+ ./Build installdeps || die |
46 |
} |
47 |
|
48 |
-# If you move it, then the executables won’t be able to locate dependencies in the …/maker/data, |
49 |
-# …/maker/lib, and …/maker/perl directories. You should really either add the location of |
50 |
-# …/maker/bin to you PATH environmental variable or at most soft link the executables somewhere |
51 |
-# else using the ‘ln -s’ command. |
52 |
+# If you move it, then the executables won't able to locate dependencies |
53 |
+# in the /maker/data, /maker/lib, /maker/perl directories. You should |
54 |
+# really either add the location of /maker/bin to you PATH environmental |
55 |
+# variable or at most soft link the executables somewhere |
56 |
+# else using the 'ln -s' command. |
57 |
src_install(){ |
58 |
cd "${WORKDIR}"/maker || die |
59 |
rm -f bin/fasta_tool # is part of sci-biology/GAL |
60 |
@@ -121,11 +127,25 @@ src_install(){ |
61 |
insinto "${VENDOR_LIB}"/MAKER # uppercase, not "${PN}" |
62 |
doins perl/lib/MAKER/*.pm |
63 |
doman perl/man/*.3pm |
64 |
+ # |
65 |
+ # FIXME: find equivalent perl packages for lib/* contents, for example lib/GI.pm |
66 |
+ # You do not have write access to install missing Modules. |
67 |
+ # I can try and install these locally (i.e. only for MAKER) |
68 |
+ # in the .../maker/perl/lib directory, or you can run |
69 |
+ # './Build installdeps' as root or using sudo and try again. |
70 |
+ # Do want MAKER to try and build a local installation? [N ]N |
71 |
+ # |
72 |
+ # |
73 |
+ # WARNING: You do not appear to have write access to install missing |
74 |
+ # Modules. Please run './Build installdeps' as root or using sudo. |
75 |
+ # |
76 |
+ # Do you want to continue anyway? [N ]N |
77 |
+ # |
78 |
+ doins -r lib/* |
79 |
insinto "${VENDOR_LIB}"/Parallel/Application |
80 |
doins perl/lib/Parallel/Application/*.pm |
81 |
insinto /usr/share/"${PN}"/data |
82 |
doins data/* |
83 |
- # FIXME: find equivalent perl packages for lib/* contents, for example lib/GI.pm |
84 |
dodoc README INSTALL |
85 |
insinto /usr/share/"${PN}"/GMOD/Apollo |
86 |
doins GMOD/Apollo/gff3.tiers |
87 |
|
88 |
diff --git a/sci-biology/maker/maker-2.31.8.ebuild b/sci-biology/maker/maker-3.01.02_beta.ebuild |
89 |
similarity index 87% |
90 |
rename from sci-biology/maker/maker-2.31.8.ebuild |
91 |
rename to sci-biology/maker/maker-3.01.02_beta.ebuild |
92 |
index e5c791ab2..d6ad845d1 100644 |
93 |
--- a/sci-biology/maker/maker-2.31.8.ebuild |
94 |
+++ b/sci-biology/maker/maker-3.01.02_beta.ebuild |
95 |
@@ -1,4 +1,4 @@ |
96 |
-# Copyright 1999-2016 Gentoo Foundation |
97 |
+# Copyright 1999-2019 Gentoo Authors |
98 |
# Distributed under the terms of the GNU General Public License v2 |
99 |
|
100 |
EAPI=5 |
101 |
@@ -21,6 +21,10 @@ IUSE="mpi" |
102 |
|
103 |
# http://search.cpan.org/~rybskej/forks-0.36/lib/forks.pm # bug #566360 |
104 |
# http://search.cpan.org/~rybskej/forks-0.36/lib/forks/shared.pm |
105 |
+# |
106 |
+# MAKER does not work with MVAPICH2. |
107 |
+# It can work with Intel MPI and OpenMPI with some command line modification. |
108 |
+# It always works with MPICH, but MPICH may not be able to scale to more than ~100 CPUs. |
109 |
DEPEND=" |
110 |
mpi? ( sys-cluster/mpich2 || ( sys-cluster/openmpi ) ) |
111 |
dev-perl/DBI |
112 |
@@ -93,6 +97,7 @@ S="${WORKDIR}"/maker/src |
113 |
pkg_nofetch() { |
114 |
einfo "Please visit ${HOMEPAGE} and obtain the file" |
115 |
einfo "maker-"${PV}".tgz and place it into ${DISTDIR}" |
116 |
+ einfo "If it is '-beta' rename it to '_beta'" |
117 |
einfo "You must also install sci-biology/repeatmasker otherwise" |
118 |
einfo "MAKER install process will stop." |
119 |
einfo "That in turn requires you to register at http://www.girinst.org/server/RepBase" |
120 |
@@ -106,10 +111,11 @@ src_compile(){ |
121 |
./Build install || die |
122 |
} |
123 |
|
124 |
-# If you move it, then the executables won’t be able to locate dependencies in the …/maker/data, |
125 |
-# …/maker/lib, and …/maker/perl directories. You should really either add the location of |
126 |
-# …/maker/bin to you PATH environmental variable or at most soft link the executables somewhere |
127 |
-# else using the ‘ln -s’ command. |
128 |
+# If you move it, then the executables won't able to locate dependencies |
129 |
+# in the /maker/data, /maker/lib, /maker/perl directories. You should |
130 |
+# really either add the location of /maker/bin to you PATH environmental |
131 |
+# variable or at most soft link the executables somewhere |
132 |
+# else using the 'ln -s' command. |
133 |
src_install(){ |
134 |
cd "${WORKDIR}"/maker || die |
135 |
rm -f bin/fasta_tool # is part of sci-biology/GAL |