# -*- 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-blitz version 2.0.8 revision 2 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 Bob Bindings for Blitz++ (a C++ array template library) long_description This package contains a set of Pythonic bindings to the popular Blitz/C++ library. \ It also provides a C/C++ API that allows your Python extensions to leverage from the interfaces provided by this package. github.setup bioidiap bob.blitz 2.0.8 v python.versions 27 34 python.default_version 27 checksums rmd160 c9e4623287d1ad310ede54cc4da7b1320aadaf26 \ sha256 1ddc01ee7e2dc612faf87c11d8ca588d47ba9ccc55d65876fcd5136e8898b71b if {$subport ne $name} { depends_build-append port:pkgconfig depends_lib-append \ port:blitz \ port:boost \ port:cmake \ 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-extension # blacklist older compilers that don't support -std=c++0x (10.6 and earlier) compiler.blacklist *gcc* {clang < 300} #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 } } }