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

Last change on this file was 114451, checked in by sean@…, 4 years ago

py-pyfftw3: pick up maintainership

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 114451 2013-12-09 05:32:00Z ryandesign@macports.org $
2
3PortSystem    1.0
4PortGroup     python 1.0
5
6name          py-pyfftw3
7version       0.2.2
8set branch    [join [lrange [split ${version} .] 0 1] .]
9categories-append   math
10platforms     darwin
11supported_archs noarch
12license       GPL
13maintainers   sean openmaintainer
14
15description   Python bindings to FFTW3
16long_description  Python bindings to the FFTW3 C-library for computing \
17  discrete Fourier transforms.
18
19homepage      https://launchpad.net/pyfftw
20master_sites  http://launchpad.net/pyfftw/trunk/${version}/+download/
21distname      PyFFTW3-${version}
22
23python.default_version 27
24python.versions 26 27
25
26checksums     md5 0a98bbac3979abef4b87251530101331 \
27              sha1 5c059745036e524f7a9ec17ea2f75648255c30ea \
28              rmd160 406942ee80d3da75a8c59f96c48ec2e14fc7d602
29
30if {${name} ne ${subport}} {
31  depends_lib-append  port:fftw-3 \
32                      port:fftw-3-single \
33                      port:fftw-3-long
34
35  patchfiles    patch-setup.py.diff
36
37  post-patch {
38    reinplace "s|@@MP_PREFIX@@|${prefix}|" ${worksrcpath}/setup.py
39  }
40}
41
42if {${name} eq ${subport}} {
43  livecheck.type      regex
44  livecheck.url       ${homepage}
45  livecheck.regex     {Latest version is (\d+(?:\.\d+)*)}
46} else {
47  livecheck.type      none
48}
Note: See TracBrowser for help on using the repository browser.