diff -ur python/py-pyopencl.orig/Portfile python/py-pyopencl/Portfile
old
|
new
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup python 1.0 |
| 5 | PortGroup cxx11 1.1 |
5 | 6 | |
6 | 7 | set _name pyopencl |
7 | 8 | set _n [string index ${_name} 0] |
8 | 9 | |
9 | 10 | name py-${_name} |
10 | | version 2013.2 |
| 11 | version 2017.2 |
11 | 12 | categories-append science parallel |
12 | 13 | license MIT |
13 | 14 | platforms darwin |
… |
… |
|
22 | 23 | master_sites pypi:${_n}/${_name}/ |
23 | 24 | distname ${_name}-${version} |
24 | 25 | |
25 | | checksums rmd160 ad0d599183bd068db939e4eb1522d7887b4d9073 \ |
26 | | sha256 f8e4218e4e47d397886f5dabde16a4d8dcc12caa0cb16ec68cae31f89c94d918 |
| 26 | checksums rmd160 23c6464642f2d06ab25e80b330ab8e5f7b01f60e \ |
| 27 | sha256 039b689a58eb98e27a577ac086210deae959f40d657487f3199d2d217c270ff9 |
27 | 28 | |
28 | 29 | python.versions 27 35 36 |
29 | 30 | |
… |
… |
|
34 | 35 | port:py${python.version}-mako |
35 | 36 | |
36 | 37 | depends_run-append port:py${python.version}-decorator \ |
37 | | port:py${python.version}-pytools |
| 38 | port:py${python.version}-pytools \ |
| 39 | port:py${python.version}-pytest \ |
| 40 | port:py${python.version}-cffi \ |
| 41 | port:py${python.version}-appdirs \ |
| 42 | port:py${python.version}-six |
38 | 43 | |
39 | 44 | patch.pre_args -p1 |
40 | 45 | patchfiles patch-setup.py.diff |
diff -ur python/py-pyopencl.orig/files/patch-setup.py.diff python/py-pyopencl/files/patch-setup.py.diff
old
|
new
|
|
4 | 4 | default_cxxflags.extend(['-isysroot', srp]) |
5 | 5 | break |
6 | 6 | |
7 | | + default_cxxflags = [] |
| 7 | + default_cxxflags = ['-std=gnu++11'] |
8 | 8 | default_ldflags = default_cxxflags[:] + ["-Wl,-framework,OpenCL"] |
9 | 9 | |
10 | 10 | else: |