You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
63 lines
2.1 KiB
Tcl
63 lines
2.1 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
PortGroup cxx11 1.1
|
|
|
|
set _name pyopencl
|
|
set _n [string index ${_name} 0]
|
|
|
|
name py-${_name}
|
|
version 2019.1.2
|
|
categories-append science parallel
|
|
license MIT
|
|
platforms darwin
|
|
|
|
maintainers {petr @petrrr} openmaintainer
|
|
|
|
description Python wrapper for OpenCL.
|
|
long_description PyOpenCL lets you access GPUs and other massively \
|
|
parallel compute devices from Python.
|
|
|
|
homepage http://mathema.tician.de/software/${_name}
|
|
master_sites pypi:${_n}/${_name}/
|
|
distname ${_name}-${version}
|
|
|
|
checksums rmd160 e848810e5f8911bd3a3b4620ea7c3330cf5d872a \
|
|
sha256 7803f3128dbd28ae6f5b851a80ef586a35b9575406ea7bb068b8e1516f8043f0 \
|
|
size 343805
|
|
|
|
python.versions 27 35 36 37
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools \
|
|
port:py${python.version}-numpy \
|
|
port:py${python.version}-mako \
|
|
port:py${python.version}-pybind11
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-cffi
|
|
|
|
depends_run-append port:py${python.version}-decorator \
|
|
port:py${python.version}-pytools \
|
|
port:py${python.version}-pytest \
|
|
port:py${python.version}-appdirs \
|
|
port:py${python.version}-six
|
|
|
|
patch.pre_args -p1
|
|
patchfiles patch-setup.py.diff
|
|
|
|
use_configure yes
|
|
|
|
configure.cmd ${python.bin} configure.py
|
|
configure.args --cl-enable-gl
|
|
configure.universal_args-delete --disable-dependency-tracking
|
|
|
|
livecheck.type none
|
|
} else {
|
|
livecheck.type regex
|
|
livecheck.url https://pypi.python.org/pypi/${_name}/json
|
|
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
|
|
}
|