You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
46 lines
1.8 KiB
Tcl
46 lines
1.8 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 github 1.0
|
|
|
|
github.setup pyFFTW pyFFTW 0.13.0 v
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
name py-pyfftw
|
|
revision 0
|
|
|
|
categories-append math
|
|
maintainers {aronnax @lpsinger} openmaintainer
|
|
license BSD
|
|
description pythonic python wrapper around FFTW
|
|
long_description \
|
|
A pythonic wrapper around FFTW, the FFT library, presenting a unified \
|
|
interface for all the supported transforms.
|
|
|
|
checksums rmd160 e1f72d7172f9642978184b164e678614bdb8cdb6 \
|
|
sha256 369a48526e007eb16703effe0efc57690396850398b08e92d50d5c1b9a71d78a \
|
|
size 158673
|
|
|
|
python.versions 310
|
|
|
|
if {${name} ne ${subport}} {
|
|
# upstream checks whhich FFTW libraries are installed and that approach fails due to
|
|
# implicit function declarations; for now disable the error.
|
|
# see: https://github.com/pyFFTW/pyFFTW/issues/303
|
|
# tacking this onto cflags doesn't work, but adding it onto configure.cc does
|
|
# see https://trac.macports.org/ticket/66543
|
|
configure.cc-append -Wno-error=implicit-function-declaration
|
|
|
|
depends_build-append \
|
|
port:py${python.version}-cython
|
|
|
|
depends_lib-append port:py${python.version}-numpy \
|
|
port:fftw-3 \
|
|
port:fftw-3-single \
|
|
port:fftw-3-long
|
|
} else {
|
|
# Ignore pyfftw repo's tags that have names like like "v0.10.1_docs"
|
|
github.livecheck.regex {([0-9.^"]+)}
|
|
}
|