# -*- 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 github 1.0 PortGroup python 1.0 PortGroup cmake 1.0 set git_sha1 cc99765bb06f494e1868babcf31a9df1e2e3a583 github.setup ContinuumIO dynd-python 0.5.0 v name py-dynd categories-append devel platforms darwin license BSD python.versions 26 27 33 maintainers stromnov openmaintainer description Dynamic multi-dimensional array library. long_description DyND-Python, a component of the Blaze project, is the \ Python exposure of the DyND dynamic multi-dimensional \ array library. checksums rmd160 1db9c2a38131edcd0e15959c5b7c545d1848470b \ sha256 107e47085b284163a7a15ad5ef64f92cb62799b5f278cda392d52408f8fd3f3a if {${name} ne ${subport}} { depends_lib-append port:libdynd \ port:py${python.version}-numpy \ port:py${python.version}-cython patchfiles-append patch-CMakeLists.txt.diff post-patch { reinplace "s|@@DYND_PYTHON_GIT_SHA1@@|${git_sha1}|g" ${worksrcpath}/CMakeLists.txt reinplace "s|@@DYND_PYTHON_VERSION_STRING@@|v${version}|g" ${worksrcpath}/CMakeLists.txt } use_configure yes configure.args-append \ -DUSE_SEPARATE_LIBDYND=ON \ -DUSE_RELATIVE_RPATH=OFF \ -DPYTHON_EXECUTABLE=${prefix}/bin/python${python.branch} \ -DCYTHON_EXECUTABLE=${prefix}/bin/cython-${python.branch} build.cmd make build.target all destroot.cmd make destroot.destdir DESTDIR=${destroot} livecheck.type none }