Ticket #35831: Portfile

File Portfile, 1.2 KB (added by gorticus (Jason Mitchell), 12 years ago)

v2

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           python 1.0
7
8github.setup        numba numba 0.1.1 v
9
10name                py-numba
11categories          python devel
12license             {Permissive BSD}
13maintainers         maiar.org:jason-macports openmaintainer
14description         numba is a NumPy aware dynamic compiler for Python.
15long_description    numba is a NumPy aware dynamic compiler for Python. \
16                    It creates LLVM bit-code from Python syntax and then \
17                    creates a wrapper around that bitcode to call from \
18                    Python
19
20platforms           darwin
21
22
23fetch.type          git
24
25python.versions     27
26python.default_version  27
27
28if {${subport} != ${name}} {
29
30    depends_build-append port:py${python.version}-distribute
31
32    depends_run-append   port:py${python.version}-numpy \
33                         port:py${python.version}-llvm  \
34                         port:py${python.version}-meta
35
36    post-fetch {
37        # see http://numba.pydata.org/ for quick start
38        system -W ${worksrcpath} "git submodule update --init"
39    }
40
41}