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

Last change on this file was 150752, checked in by petr@…, 14 months ago

py-pyopencl: retire py26 and py33 subport

  • 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 150752 2016-07-27 23:38:45Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7set _name           pyopencl
8set _n              [string index ${_name} 0]
9
10name                py-${_name}
11version             2013.2
12categories-append   science parallel
13license             MIT
14platforms           darwin
15
16maintainers         petr openmaintainer
17
18description         Python wrapper for OpenCL.
19long_description    PyOpenCL lets you access GPUs and other massively \
20                    parallel compute devices from Python.
21
22homepage            http://mathema.tician.de/software/${_name}
23master_sites        pypi:${_n}/${_name}/
24distname            ${_name}-${version}
25
26checksums           rmd160  ad0d599183bd068db939e4eb1522d7887b4d9073 \
27                    sha256  f8e4218e4e47d397886f5dabde16a4d8dcc12caa0cb16ec68cae31f89c94d918
28
29python.versions     27 34 35
30
31if {${name} ne ${subport}} {
32    depends_build-append \
33                        port:py${python.version}-setuptools \
34                        port:py${python.version}-numpy \
35                        port:py${python.version}-mako
36
37    depends_run-append  port:py${python.version}-decorator \
38                        port:py${python.version}-pytools
39
40    patch.pre_args      -p1
41    patchfiles          patch-setup.py.diff
42
43    use_configure       yes
44
45    configure.cmd       ${python.bin} configure.py
46    configure.args      --cl-enable-gl
47    configure.universal_args-delete --disable-dependency-tracking
48
49    livecheck.type      none
50} else {
51    livecheck.type      regex
52    livecheck.url   https://pypi.python.org/pypi/${_name}/json
53    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
54}
Note: See TracBrowser for help on using the repository browser.