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 python 1.0 |
---|
6 | PortGroup github 1.0 |
---|
7 | PortGroup active_variants 1.1 |
---|
8 | PortGroup compiler_blacklist_versions 1.0 |
---|
9 | |
---|
10 | name py-bob-io-audio |
---|
11 | version 2.0.0 |
---|
12 | license BSD |
---|
13 | homepage http://idiap.github.com/bob/ |
---|
14 | revision 1 |
---|
15 | |
---|
16 | categories-append science math devel |
---|
17 | platforms darwin |
---|
18 | maintainers idiap.ch:andre.anjos \ |
---|
19 | idiap.ch:laurent.el-shafey \ |
---|
20 | idiap.ch:tiago.pereira |
---|
21 | |
---|
22 | |
---|
23 | description Support for Audio I/O for Bob using SoX \ |
---|
24 | Bob is a signal-processing and machine learning toolbox |
---|
25 | |
---|
26 | long_description Bob is a signal-processing and machine learning toolbox \ |
---|
27 | developed at the Idiap Research Institute, in Martigny, \ |
---|
28 | Switzerland. The toolbox is written in a mix of Python \ |
---|
29 | and C++ and is designed to be both efficient and to \ |
---|
30 | reduce development time. |
---|
31 | |
---|
32 | github.setup bioidiap bob.io.audio 2.0.0 v |
---|
33 | |
---|
34 | |
---|
35 | python.versions 27 34 |
---|
36 | python.default_version 27 |
---|
37 | |
---|
38 | checksums rmd160 427c3e439f19bcad72471d86acda6d1de3bf55f7 \ |
---|
39 | sha256 0fbe3810c2b1e967a6f2d18e2b42bad98e9ed90fe9681116ed2a573b424e8cf9 |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | if {$subport ne $name} { |
---|
44 | |
---|
45 | depends_build-append port:pkgconfig |
---|
46 | |
---|
47 | depends_lib-append \ |
---|
48 | port:blitz \ |
---|
49 | port:cmake \ |
---|
50 | port:hdf5 \ |
---|
51 | port:sox \ |
---|
52 | port:boost \ |
---|
53 | port:py${python.version}-sphinx \ |
---|
54 | port:py${python.version}-setuptools \ |
---|
55 | port:py${python.version}-numpy \ |
---|
56 | port:py${python.version}-scipy \ |
---|
57 | port:py${python.version}-nose \ |
---|
58 | port:py${python.version}-bob-extension \ |
---|
59 | port:py${python.version}-bob-blitz \ |
---|
60 | port:py${python.version}-bob-core \ |
---|
61 | port:py${python.version}-bob-io-base \ |
---|
62 | port:py${python.version}-bob-io-matlab |
---|
63 | |
---|
64 | |
---|
65 | |
---|
66 | # blacklist older compilers that don't support -std=c++0x (10.6 and earlier) |
---|
67 | compiler.blacklist *gcc* {clang < 300} |
---|
68 | |
---|
69 | |
---|
70 | #WORKAROUND TO AVOID CONFLICTS WITH ANOTHER BOB PACKAGES (DELETING THE ROOT __INIT_FILES) |
---|
71 | |
---|
72 | post-destroot { |
---|
73 | set filename ${destroot}${python.pkgd}/bob/__init__.py |
---|
74 | if {[file exists $filename] == 1} { |
---|
75 | file delete $filename |
---|
76 | file delete ${destroot}${python.pkgd}/bob/__init__.pyc |
---|
77 | |
---|
78 | file delete ${destroot}${python.pkgd}/bob/io/__init__.py |
---|
79 | file delete ${destroot}${python.pkgd}/bob/io/__init__.pyc |
---|
80 | } |
---|
81 | |
---|
82 | set filename ${destroot}${python.pkgd}/bob/__pycache__/__init__.cpython-34.pyc |
---|
83 | if {[file exists $filename] == 1} { |
---|
84 | file delete $filename |
---|
85 | file delete ${destroot}${python.pkgd}/bob/io/__pycache__/__init__.cpython-34.pyc |
---|
86 | } |
---|
87 | |
---|
88 | } |
---|
89 | |
---|
90 | } |
---|
91 | |
---|
92 | |
---|