1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python26 1.0 |
---|
6 | |
---|
7 | name py26-logilab-hmm |
---|
8 | version 0.5.0 |
---|
9 | maintainers |
---|
10 | description Python Hidden Markov model implementation |
---|
11 | long_description an implementation of Hidden Markov model and associated algorithms (Viterbi and Baum-Welsh) |
---|
12 | |
---|
13 | platforms darwin |
---|
14 | |
---|
15 | homepage http://www.logilab.org/project/logilab-hmm |
---|
16 | master_sites ftp://ftp.logilab.fr/pub/hmm/ |
---|
17 | distname logilab-hmm-${version} |
---|
18 | |
---|
19 | livecheck.url http://ftp.logilab.org/pub/hmm/ |
---|
20 | livecheck.type regex |
---|
21 | livecheck.regex {logilab-hmm-(\d+(?:\.\d+)*)\.tar\.gz} |
---|
22 | |
---|
23 | checksums md5 81f63768df022714e66f6d471245800a \ |
---|
24 | sha1 6be2012ab3b7ed6ceac42b48a821f6e194c71f6f \ |
---|
25 | rmd160 b62f3ac49e4d2681138e55490430c4bdfdf418f6 |
---|
26 | |
---|
27 | depends_lib-append port:py26-logilab-common |
---|
28 | |
---|
29 | variant gcc42 conflicts gcc43 gcc44 description "Use gfortran-mp-4.2 as fortran compiler" { |
---|
30 | depends_lib-append port:gcc42 |
---|
31 | set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2" |
---|
32 | build.cmd-append ${fc_options} |
---|
33 | destroot.cmd-append ${fc_options} |
---|
34 | } |
---|
35 | |
---|
36 | variant gcc43 conflicts gcc42 gcc44 description "Use gfortran-mp-4.3 as fortran compiler" { |
---|
37 | depends_lib-append port:gcc43 |
---|
38 | set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.3 --f90exec ${prefix}/bin/gfortran-mp-4.3" |
---|
39 | build.cmd-append ${fc_options} |
---|
40 | destroot.cmd-append ${fc_options} |
---|
41 | } |
---|
42 | |
---|
43 | variant gcc44 conflicts gcc42 gcc43 description "Use gfortran-mp-4.4 as fortran compiler" { |
---|
44 | depends_lib-append port:gcc44 |
---|
45 | set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.4 --f90exec ${prefix}/bin/gfortran-mp-4.4" |
---|
46 | build.cmd-append ${fc_options} |
---|
47 | destroot.cmd-append ${fc_options} |
---|
48 | } |
---|
49 | |
---|
50 | if { ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] } { |
---|
51 | default_variants +gcc43 |
---|
52 | } |
---|
53 | |
---|
54 | post-destroot { |
---|
55 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
56 | xinstall -m 644 -W ${worksrcpath} README \ |
---|
57 | ${destroot}${prefix}/share/doc/${name} |
---|
58 | file delete ${destroot}/${python.prefix}/lib/python2.6/site-packages/logilab/__init__.py |
---|
59 | } |
---|