[pyfftw] 01/01: Imported Debian patch 0.9.2-1
Ghislain Vaillant
ghisvail-guest at alioth.debian.org
Thu Nov 7 19:55:59 UTC 2013
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to annotated tag debian/0.9.2-1
in repository pyfftw.
commit 22a8a1f0399ebbfe9380100c5f9c70a4e8935b4f
Author: Ghislain Vaillant <ghisvail at gmail.com>
Date: Mon Oct 28 12:26:22 2013 +0000
Imported Debian patch 0.9.2-1
---
debian/changelog | 5 +++
debian/compat | 1 +
debian/control | 87 ++++++++++++++++++++++++++++++++++++++
debian/copyright | 72 +++++++++++++++++++++++++++++++
debian/dirs | 1 +
debian/python-fftw3-doc.doc-base | 8 ++++
debian/python-fftw3-doc.install | 1 +
debian/python-fftw3.install | 1 +
debian/python3-fftw3.install | 1 +
debian/rules | 47 ++++++++++++++++++++
debian/source/format | 1 +
debian/watch | 2 +
12 files changed, 227 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..54a887d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pyfftw (0.9.2-1) UNRELEASED; urgency=low
+
+ * Initial release. Closes: 728085
+
+ -- Ghislain Vaillant <ghisvail at gmail.com> Mon, 28 Oct 2013 12:26:22 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ae5d4ee
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,87 @@
+Source: pyfftw
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Ghislain Vaillant <ghisvail at gmail.com>
+Section: python
+Priority: optional
+Build-Depends:
+ cython (>= 0.12),
+ cython3 (>= 0.12),
+ debhelper (>= 7),
+ libfftw3-dev (>= 3.3),
+ libjs-jquery,
+ python-all-dev (>= 2.6.6-3~),
+ python-numpy (>= 1.6),
+ python3-all-dev,
+ python3-numpy,
+ quilt
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.2
+Standards-Version: 3.9.4
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/pyfftw.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/pyfftw.git
+Homepage: http://hgomersall.github.io/pyFFTW/
+
+Package: python-fftw3
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends},
+ libfftw3-double3 (>= 3.3),
+ libfftw3-long3 (>= 3.3),
+ libfftw3-single3 (>= 3.3),
+ python-numpy (>= 1.6)
+Recommends: python-fftw3-doc
+Description: Pythonic wrapper around FFTW
+ 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
+ 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).
+ .
+ This package provides the Python 2.x module.
+
+Package: python3-fftw3
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends},
+ libfftw3-double3 (>= 3.3),
+ libfftw3-long3 (>= 3.3),
+ libfftw3-single3 (>= 3.3),
+ python-numpy (>= 1.6)
+Recommends: python-fftw3-doc
+Description: Pythonic wrapper around FFTW (Python 3)
+ 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
+ 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).
+ .
+ This package provides the Python 3.x module.
+
+Package: python-fftw3-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Pythonic wrapper around FFTW (documentation)
+ 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
+ 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).
+ .
+ This is the common documentation package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c6264b8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,72 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pyfftw
+Source: https://pypi.python.org/packages/source/p/pyFFTW/pyFFTW-0.9.2.tar.gz
+
+Files: *
+Copyright: 2012 Henry Gomersall <heng at kedevelopments.co.uk>
+License: GPL-3
+
+Files: include/msvc_2008/stdint.h
+Copyright: 2006-2013 Alexander Chemeris
+License: BSD-3-clause
+
+Files: include/win/fftw3.h
+Copyright: 2003, 2007-2011 Matteo Frigo
+ 2003, 2007-11 Massachusetts Institute of Technology
+License: BSD-2-clause
+
+Files: debian/*
+Copyright: 2013 Ghislain Vaillant <ghisvail at gmail.com>
+License: GPL-3
+
+License: GPL-3
+ On Debian systems, the complete text of the GNU General Public License
+ can be found in `/usr/share/common-licenses/GPL-3'.
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+ .
+ 1) Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ 2) Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation and/or
+ other materials provided with the distribution.
+ .
+ 3) Neither the name of the ORGANIZATION nor the names of its contributors may be
+ used to endorse or promote products derived from this software without specific
+ prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+ .
+ 1) Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ 2) Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation and/or
+ other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..7276ecd
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/share/doc
diff --git a/debian/python-fftw3-doc.doc-base b/debian/python-fftw3-doc.doc-base
new file mode 100644
index 0000000..56e51cf
--- /dev/null
+++ b/debian/python-fftw3-doc.doc-base
@@ -0,0 +1,8 @@
+Document: python-fftw3-doc
+Title: PyFFTW documentation
+Author: Henry Gomersall
+Section: Science/Mathematics
+
+Format: HTML
+Index: /usr/share/doc/python-fftw3-doc/html/index.html
+Files: /usr/share/doc/python-fftw3-doc/html/*
diff --git a/debian/python-fftw3-doc.install b/debian/python-fftw3-doc.install
new file mode 100644
index 0000000..edbf3d6
--- /dev/null
+++ b/debian/python-fftw3-doc.install
@@ -0,0 +1 @@
+docs/html /usr/share/doc/python-fftw3-doc/
diff --git a/debian/python-fftw3.install b/debian/python-fftw3.install
new file mode 100644
index 0000000..b2cc136
--- /dev/null
+++ b/debian/python-fftw3.install
@@ -0,0 +1 @@
+usr/lib/python2*
diff --git a/debian/python3-fftw3.install b/debian/python3-fftw3.install
new file mode 100644
index 0000000..b06a399
--- /dev/null
+++ b/debian/python3-fftw3.install
@@ -0,0 +1 @@
+usr/lib/python3
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..af40666
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,47 @@
+#!/usr/bin/make -f
+
+PACKAGE_NAME=python-fftw3
+PYTHON2:=$(shell pyversions -vr)
+PYTHON3:=$(shell py3versions -vr)
+
+%:
+ dh $@ --buildsystem=python_distutils --with python2,python3,quilt
+
+build-python%:
+ python$* setup.py build
+
+override_dh_auto_build: $(PYTHON3:%=build-python%)
+ dh_auto_build
+
+install-python%:
+ python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
+
+override_dh_auto_install: $(PYTHON3:%=install-python%)
+ dh_auto_install
+
+override_dh_installdocs:
+ dh_installdocs
+ dh_link -p${PACKAGE_NAME}-doc /usr/share/javascript/jquery/jquery.js \
+ /usr/share/doc/${PACKAGE_NAME}-doc/html/_static/jquery.js
+ dh_link -p${PACKAGE_NAME}-doc /usr/share/javascript/underscore/underscore.js \
+ /usr/share/doc/${PACKAGE_NAME}-doc/html/_static/underscore.js
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf build
+ rm -rf *.egg-info
+ rm -rf pyfftw/__pycache__/
+ rm -f pyfftw/*.pyc
+
+# required because of Cython modifying the original .c source file
+# override dh_quilt_patch to back the original source file up
+override_dh_quilt_patch:
+ dh_quilt_patch
+ [ -f $(CURDIR)/pyfftw/pyfftw.c.bak ] || \
+ mv $(CURDIR)/pyfftw/pyfftw.c $(CURDIR)/pyfftw/pyfftw.c.bak
+
+# override dh_quilt_unpatch to restore the backup source file
+override_dh_quilt_unpatch:
+ [ -f $(CURDIR)/pyfftw/pyfftw.c.bak ] && \
+ mv $(CURDIR)/pyfftw/pyfftw.c.bak $(CURDIR)/pyfftw/pyfftw.c
+ dh_quilt_unpatch
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ba9f8ba
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/p/pyFFTW/pyFFTW-(.*).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyfftw.git
More information about the debian-science-commits
mailing list