# -*- 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
PortGroup active_variants 1.1
PortGroup compiler_blacklist_versions 1.0
name py-bob-db-verification-utils
homepage http://idiap.github.com/bob/
categories-append science math devel
maintainers idiap.ch:andre.anjos \
idiap.ch:laurent.el-shafey \
description Verification Database Utilities \
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 \
github.setup bioidiap bob.db.verification.utils 2.0.3 v
python.default_version 27
checksums rmd160 686cee02180b4ece796761595653ad6db0bb1442 \
sha256 89d074216d4e26bbbf3afeb0de4f6e682996d231f7c46dcb3a704930420bd48e
depends_build-append port:pkgconfig
path:lib/libavcodec.dylib:ffmpeg \
port:py${python.version}-six \
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}-sqlalchemy \
port:py${python.version}-bob-extension \
port:py${python.version}-bob-core \
port:py${python.version}-bob-io-base \
port:py${python.version}-bob-db-base
# 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)
set filename ${destroot}${python.pkgd}/bob/__init__.py
if {[file exists $filename] == 1} {
file delete ${destroot}${python.pkgd}/bob/__init__.pyc
file delete ${destroot}${python.pkgd}/bob/db/__init__.py
file delete ${destroot}${python.pkgd}/bob/db/__init__.pyc