# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup github 1.0 PortGroup active_variants 1.1 PortGroup compiler_blacklist_versions 1.0 name py-bob-io-base version 2.0.7 revision 4 license BSD homepage http://idiap.github.com/bob/ categories-append science math devel platforms darwin maintainers idiap.ch:andre.anjos \ idiap.ch:laurent.el-shafey \ idiap.ch:tiago.pereira description Core bindings for Bob's I/O framework \ Bob is a signal-processing and machine learning toolbox long_description Bob is a signal-processing and machine learning toolbox \ developed at the Idiap Research Institute, in Martigny, \ Switzerland. The toolbox is written in a mix of Python \ and C++ and is designed to be both efficient and to \ reduce development time. github.setup bioidiap bob.io.base 2.0.7 v python.versions 27 34 python.default_version 27 checksums rmd160 16d0b8c865880df1af80d54311cbbe5ec2de7756 \ sha256 85e20747bd6beba112aac3af49b472963cea07a355d0ff8f4844c251f1ee18d2 if {$subport ne $name} { depends_build-append port:pkgconfig depends_lib-append \ port:blitz \ port:cmake \ path:lib/libavcodec.dylib:ffmpeg \ port:matio \ port:jpeg \ port:netpbm \ port:libpng \ port:tiff \ port:giflib \ port:hdf5 \ port:fftw-3 \ port:vlfeat \ port:libsvm \ port:boost \ port:py${python.version}-sphinx \ port:py${python.version}-setuptools \ port:py${python.version}-numpy \ port:py${python.version}-matplotlib \ port:py${python.version}-sqlalchemy \ port:py${python.version}-scipy \ port:py${python.version}-nose \ port:py${python.version}-pillow \ port:py${python.version}-bob-blitz \ port:py${python.version}-bob-core \ port:py${python.version}-bob-extension # blacklist older compilers that don't support -std=c++0x (10.6 and earlier) compiler.blacklist *gcc* {clang < 300} # fix for libstdc++ build failures with boost 1.59 and (indirect) inclusion of boost/thread/detail/move.hpp # libstdc++ supports rvalue references but defining BOOST_NO_CXX11_RVALUE_REFERENCES disables the # inclusion of which is not libstdc++ compatible platform darwin { if {${configure.cxx_stdlib} eq "libstdc++"} { build.env-append \ CPPFLAGS=-DBOOST_NO_CXX11_RVALUE_REFERENCES destroot.env-append \ CPPFLAGS=-DBOOST_NO_CXX11_RVALUE_REFERENCES } } #WORKAROUND TO AVOID CONFLICTS WITH ANOTHER BOB PACKAGES (DELETING THE ROOT __INIT_FILES) post-destroot { set filename ${destroot}${python.pkgd}/bob/__init__.py if {[file exists $filename] == 1} { file delete $filename file delete ${destroot}${python.pkgd}/bob/__init__.pyc } set filename ${destroot}${python.pkgd}/bob/__pycache__/__init__.cpython-34.pyc if {[file exists $filename] == 1} { file delete $filename file delete ${destroot}${python.pkgd}/bob/io/__pycache__/__init__.cpython-34.pyc } } }