New port: math/py-pyFFTW: Pythonic wrapper around FFTW, the FFT library

This commit is contained in:
Yuri Victorovich 2018-06-18 03:06:29 +00:00
parent e5dd5141eb
commit 1253d3b83b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472668
5 changed files with 50 additions and 0 deletions

View file

@ -696,6 +696,7 @@
SUBDIR += py-piranha
SUBDIR += py-plastex
SUBDIR += py-probstat
SUBDIR += py-pyFFTW
SUBDIR += py-pyasp
SUBDIR += py-pybloom
SUBDIR += py-pycosat

23
math/py-pyFFTW/Makefile Normal file
View file

@ -0,0 +1,23 @@
# $FreeBSD$
PORTNAME= pyFFTW
DISTVERSION= 0.10.4
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Pythonic wrapper around FFTW, the FFT library
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libfftw3.so:math/fftw3 \
libfftw3f.so:math/fftw3-float
RUN_DEPENDS= ${PYNUMPY}
USES= python localbase:ldflags
USE_PYTHON= distutils cython autoplist
.include <bsd.port.mk>

3
math/py-pyFFTW/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1529290455
SHA256 (pyFFTW-0.10.4.tar.gz) = 739b436b7c0aeddf99a48749380260364d2dc027cf1d5f63dafb5f50068ede1a
SIZE (pyFFTW-0.10.4.tar.gz) = 365496

View file

@ -0,0 +1,13 @@
--- setup.py.orig 2016-06-06 16:40:50 UTC
+++ setup.py
@@ -121,8 +121,8 @@ def get_libraries():
libraries = ['libfftw3-3', 'libfftw3f-3', 'libfftw3l-3']
else:
- libraries = ['fftw3', 'fftw3f', 'fftw3l', 'fftw3_threads',
- 'fftw3f_threads', 'fftw3l_threads']
+ libraries = ['fftw3', 'fftw3f', 'fftw3_threads',
+ 'fftw3f_threads']
return libraries

10
math/py-pyFFTW/pkg-descr Normal file
View file

@ -0,0 +1,10 @@
pyFFTW is a pythonic wrapper around FFTW, the speedy FFT library. The ultimate
aim is to present a unified interface for all the possible transforms that FFTW
can perform.
Both the complex DFT and the real DFT are supported, as well as on arbitrary
axes of abitrary shaped and strided arrays, which makes it almost feature
equivalent to standard and real FFT functions of numpy.fft (indeed, it supports
the clongdouble dtype which numpy.fft does not).
WWW: http://hgomersall.github.io/pyFFTW/