svn commit: r472668 - in head/math: . py-pyFFTW py-pyFFTW/files
Yuri Victorovich
yuri at FreeBSD.org
Mon Jun 18 03:06:31 UTC 2018
Author: yuri
Date: Mon Jun 18 03:06:29 2018
New Revision: 472668
URL: https://svnweb.freebsd.org/changeset/ports/472668
Log:
New port: math/py-pyFFTW: Pythonic wrapper around FFTW, the FFT library
Added:
head/math/py-pyFFTW/
head/math/py-pyFFTW/Makefile (contents, props changed)
head/math/py-pyFFTW/distinfo (contents, props changed)
head/math/py-pyFFTW/files/
head/math/py-pyFFTW/files/patch-setup.py (contents, props changed)
head/math/py-pyFFTW/pkg-descr (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Mon Jun 18 02:42:40 2018 (r472667)
+++ head/math/Makefile Mon Jun 18 03:06:29 2018 (r472668)
@@ -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
Added: head/math/py-pyFFTW/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-pyFFTW/Makefile Mon Jun 18 03:06:29 2018 (r472668)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= pyFFTW
+DISTVERSION= 0.10.4
+CATEGORIES= math python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri at 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>
Added: head/math/py-pyFFTW/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-pyFFTW/distinfo Mon Jun 18 03:06:29 2018 (r472668)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1529290455
+SHA256 (pyFFTW-0.10.4.tar.gz) = 739b436b7c0aeddf99a48749380260364d2dc027cf1d5f63dafb5f50068ede1a
+SIZE (pyFFTW-0.10.4.tar.gz) = 365496
Added: head/math/py-pyFFTW/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-pyFFTW/files/patch-setup.py Mon Jun 18 03:06:29 2018 (r472668)
@@ -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
+
Added: head/math/py-pyFFTW/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/py-pyFFTW/pkg-descr Mon Jun 18 03:06:29 2018 (r472668)
@@ -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/
More information about the svn-ports-all
mailing list