source: trunk/dports/python/py-dynd/Portfile

Last change on this file was 147051, checked in by stromnov@…, 16 months ago

py-dynd: update to version 0.7.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 147051 2016-03-24 12:26:38Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           python 1.0
7
8set git_sha1        8cdef57e71c784d7fe1f3f97a2ce2ce5727a89f1
9
10github.setup        libdynd dynd-python 0.7.2 v
11
12name                py-dynd
13categories-append   devel
14platforms           darwin
15license             BSD
16
17python.versions     27 34 35
18
19maintainers         stromnov openmaintainer
20
21description         Dynamic multi-dimensional array library.
22
23long_description    DyND-Python, a component of the Blaze project, is the \
24                    Python exposure of the DyND dynamic multi-dimensional \
25                    array library.
26
27checksums           rmd160  dc0c24136b8b295ab85046489b6a3b05146ce8b2 \
28                    sha256  0ef58192fa66e9401dce91bc8a5602e16397529464e2bb027af62ed6f19d7a2c
29
30if {${name} ne ${subport}} {
31    depends_build-append \
32                        port:py${python.version}-setuptools \
33                        port:cmake
34
35    depends_lib-append  port:libdynd \
36                        port:py${python.version}-numpy \
37                        port:py${python.version}-cython
38
39    patchfiles-append   patch-CMakeLists.txt.diff \
40                        patch-setup.py.diff
41
42    post-patch {
43        reinplace "s|@@DYND_PYTHON_GIT_SHA1@@|${git_sha1}|g" ${worksrcpath}/CMakeLists.txt
44        reinplace "s|@@DYND_PYTHON_VERSION_STRING@@|v${version}|g" ${worksrcpath}/CMakeLists.txt ${worksrcpath}/setup.py
45        reinplace "s|@@EXTRA_CMAKE_ARGS@@|-DCYTHON_EXECUTABLE=${prefix}/bin/cython-${python.branch}|g" ${worksrcpath}/setup.py
46    }
47
48    livecheck.type      none
49}
Note: See TracBrowser for help on using the repository browser.