Changeset 98470


Ignore:
Timestamp:
Oct 6, 2012, 4:43:32 AM (12 years ago)
Author:
ryandesign@…
Message:

bob: Maintainer update: Update to 1.1.0. Fix case of ImageMagick dependency. Allow clang compiler. Add py-sphinx dependency not just in doc variant. Add py-distribute and py-nose dependencies. Adjust variant descriptions. Use github portgroup. (#36488, #36404)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/bob/Portfile

    r98241 r98470  
    44PortSystem          1.0
    55PortGroup           cmake 1.0
     6PortGroup           github 1.0
    67
    7 name                bob
    8 version             1.0.6
    9 set soversion       1.0
     8github.setup        idiap bob 1.1.0 v
     9set soversion       1.1
    1010categories          science math devel
    1111platforms           darwin
     
    2323license             GPL-3
    2424homepage            http://idiap.github.com/bob/
    25 master_sites        https://github.com/idiap/bob/downloads/
    26 use_zip             yes
    2725
    28 checksums           rmd160 eac3e390ed25c69d8c6038f815ea473c21118a0f \
    29                     sha256 767e22bddb2bfb59458b76eb37cab3791bf1bfbe33fc7ad11ca29038343b5dea
     26checksums           rmd160  488fadd37b5f1c7047035d791e21863d5d258b9c \
     27                    sha256  dcdd59727185d4df85d68e644cc8f2ce6d9e9132cab3a7d8a0b981b0d7eb926a
    3028
    3129use_parallel_build  no
     
    3432    port:ffmpeg \
    3533    port:matio \
    36     port:imagemagick \
     34    port:ImageMagick \
    3735    port:hdf5-18 \
    3836    port:boost \
     
    4341configure.args      -DCMAKE_BUILD_TYPE=Release -DBOB_VERSION=${version} -DBOB_SOVERSION=${soversion}
    4442
    45 compiler.blacklist  clang
    46 
    4743universal_variant   no
    4844default_variants    +qt4 +opencv
     
    5248}
    5349
    54 variant python26 conflicts python27 description "Builds for python 2.6." {
    55     depends_lib-append    port:py26-numpy \
     50variant python26 conflicts python27 description "Build for python 2.6" {
     51    depends_build-append  port:py26-sphinx
     52   
     53    depends_lib-append    port:py26-distribute \
     54      port:py26-numpy \
    5655      port:py26-matplotlib \
    5756      port:py26-sqlalchemy \
    5857      port:py26-argparse \
    59       port:py26-scipy
     58      port:py26-scipy \
     59      port:py26-nose
    6060}
    6161
    62 variant python27 conflicts python26 description "Builds for python 2.7." {
    63     depends_lib-append    port:py27-numpy \
     62variant python27 conflicts python26 description "Build for python 2.7" {
     63    depends_build-append  port:py27-sphinx
     64   
     65    depends_lib-append    port:py27-distribute \
     66      port:py27-numpy \
    6467      port:py27-matplotlib \
    6568      port:py27-sqlalchemy \
    66       port:py27-scipy
     69      port:py27-scipy \
     70      port:py27-nose
    6771}
    6872
    69 variant qt4 description "Compile Qt4 extensions." {
     73variant qt4 description "Compile Qt4 extensions" {
    7074    depends_lib-append      port:qt4-mac
    7175}
    7276
    73 variant opencv description "Compile OpenCV extensions." {
     77variant opencv description "Compile OpenCV extensions" {
    7478    depends_lib-append      port:opencv
    7579}
    7680
    77 variant doc description "Builds documentation." {
     81variant doc description "Build documentation" {
    7882    depends_build-append    port:dvipng \
    7983        port:doxygen \
     
    8286    destroot.target-append  sphinx-latex install-sphinx install-doxygen
    8387
    84     if {[variant_isset python26]} {
    85       depends_build-append  port:py26-sphinx
    86     }
    87     if {[variant_isset python27]} {
    88       depends_build-append  port:py27-sphinx
    89     }
    9088    test.run yes
    9189    test.target sphinx-doctest
Note: See TracChangeset for help on using the changeset viewer.