[pynfft] 02/02: initial debianization

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jun 4 09:55:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository pynfft.

commit bc4067da9440caa058d59270dd785b52182724a7
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Jun 3 23:55:59 2014 +0100

    initial debianization
---
 debian/changelog                  |   5 ++
 debian/compat                     |   1 +
 debian/control                    | 120 ++++++++++++++++++++++++++++++++++++++
 debian/copyright                  |  28 +++++++++
 debian/python-pynfft-doc.doc-base |   8 +++
 debian/python-pynfft-doc.docs     |   1 +
 debian/rules                      |  37 ++++++++++++
 debian/source/format              |   1 +
 debian/watch                      |   3 +
 9 files changed, 204 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b2d0501
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pynfft (1.3.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #728282)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com>  Sat, 18 Jan 2014 14:00:14 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..973f699
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,120 @@
+Source: pynfft
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Section: science
+Priority: optional
+Build-Depends:
+ cython,
+ cython-dbg,
+ cython3,
+ cython3-dbg,
+ debhelper (>= 9),
+ libnfft3-dev,
+ python-all-dbg,
+ python-all-dev,
+ python-nose,
+ python-numpy,
+ python-numpy-dbg,
+ python-setuptools,
+ python-sphinx (>= 1.0.7+dfsg-1~),
+ python3-all-dbg,
+ python3-all-dev,
+ python3-numpy,
+ python3-numpy-dbg,
+ python3-setuptools
+Standards-Version: 3.9.5
+Homepage: https://github.com/ghisvail/pyNFFT.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/pynfft.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/pynfft.git
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+
+Package: python-pynfft
+Architecture: any
+Section: python
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends},
+ libnfft3-1,
+ python-numpy
+Suggests: python-pynfft-doc
+Description: Python bindings for the NFFT3 library - Python 2
+ This package provides Python bindings to the NFFT library, useful for 
+ performing Fourier transforms on non-uniformly sampled data with efficient 
+ speed. The bindings were generated using Cython and abstract the creation 
+ and execution of NFFT plans out using classes.
+ .
+ This package provides the Python 2 version of the bindings.
+
+Package: python-pynfft-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends},
+ python-pynfft (= ${binary:Version})
+Recommends:
+ python-dbg,
+ python-numpy-dbg
+Description: Python bindings for the NFFT3 library - Python 2 (debug)
+ This package provides Python bindings to the NFFT library, useful for 
+ performing Fourier transforms on non-uniformly sampled data with efficient 
+ speed. The bindings were generated using Cython and abstract the creation 
+ and execution of NFFT plans out using classes.
+ .
+ This package provides the debugging symbols for the Python 2 bindings.
+
+Package: python3-pynfft
+Architecture: any
+Section: python
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends},
+ libnfft3-1,
+ python3-numpy
+Suggests: python-pynfft-doc
+Description: Python bindings for the NFFT3 library - Python 3
+ This package provides Python bindings to the NFFT library, useful for 
+ performing Fourier transforms on non-uniformly sampled data with efficient 
+ speed. The bindings were generated using Cython and abstract the creation 
+ and execution of NFFT plans out using classes.
+ .
+ This package provides the Python 3 version of the bindings.
+
+Package: python3-pynfft-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends},
+ python3-pynfft (= ${binary:Version})
+Recommends:
+ python3-dbg,
+ python3-numpy-dbg
+Description: Python bindings to the NFFT3 library - Python 3 (debug)
+ This package provides Python bindings to the NFFT library, useful for 
+ performing Fourier transforms on non-uniformly sampled data with efficient 
+ speed. The bindings were generated using Cython and abstract the creation 
+ and execution of NFFT plans out using classes.
+ .
+ This package provides the debugging information of the Python 3 bindings.
+
+Package: python-pynfft-doc
+Architecture: all
+Section: doc
+Depends:
+ ${misc:Depends},
+ ${sphinxdoc:Depends}
+Description: Python bindings for the NFFT3 library - Documentation
+ This package provides Python bindings to the NFFT library, useful for 
+ performing Fourier transforms on non-uniformly sampled data with efficient 
+ speed. The bindings were generated using Cython and abstract the creation 
+ and execution of NFFT plans out using classes.
+ .
+ This package provides the common documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e45cc61
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pyNFFT
+Source: https://github.com/ghisvail/pyNFFT.git
+
+Files: *
+Copyright: 2013-2014 Ghislain Vaillant <ghisvail at gmail.com>
+License: GPL-3+
+
+Files: debian/*
+Copyright: 2014 Ghislain Vaillant <ghisvail at gmail.com>
+License: GPL-3+
+
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. 
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/debian/python-pynfft-doc.doc-base b/debian/python-pynfft-doc.doc-base
new file mode 100644
index 0000000..24b3be4
--- /dev/null
+++ b/debian/python-pynfft-doc.doc-base
@@ -0,0 +1,8 @@
+Document: python-pynfft-doc
+Title: PyNFFT Documentation
+Author: Ghislain Antony Vaillant
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-pynfft-doc/html/index.html
+Files: /usr/share/doc/python-pynfft-doc/html/*.html
diff --git a/debian/python-pynfft-doc.docs b/debian/python-pynfft-doc.docs
new file mode 100644
index 0000000..8137b04
--- /dev/null
+++ b/debian/python-pynfft-doc.docs
@@ -0,0 +1 @@
+doc/build/html
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e9534cb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,37 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+export DH_VERBOSE=1
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
+export PYBUILD_NAME=pynfft
+export DEBPYTHON3_SUPPORTED=3.3
+
+PYTHON2_PACKAGE=python-${PYBUILD_NAME}
+PYTHON2_DEBUG_PACKAGE=${PYTHON2_PACKAGE}-dbg
+PYTHON_DOC_PACKAGE=${PYTHON2_PACKAGE}-doc
+PYTHON3_PACKAGE=python3-${PYBUILD_NAME}
+PYTHON3_DEBUG_PACKAGE=${PYTHON3_PACKAGE}-dbg
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+	dh_auto_build
+	# see: https://wiki.debian.org/Python/LibraryStyleGuide
+	PYTHONPATH=. http_proxy='127.0.0.1:9' python setup.py build_sphinx -b html
+
+override_dh_auto_install:
+	dh_auto_install 
+	dh_numpy
+	dh_numpy3
+
+override_dh_strip:
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+	dh_strip --package=${PYTHON2_PACKAGE} --dbg-package=${PYTHON2_DEBUG_PACKAGE}
+	dh_strip --package=${PYTHON3_PACKAGE} --dbg-package=${PYTHON3_DEBUG_PACKAGE}
+endif
+
+override_dh_sphinxdoc:
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
+	dh_sphinxdoc --package=${PYTHON_DOC_PACKAGE}
+endif
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..602f790
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|dev|a|b|c)/~$1/ \
+https://pypi.python.org/packages/source/p/pyNFFT/pyNFFT-(.*)\.(?:tar\.gz|zip|tar\.bz2)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pynfft.git



More information about the debian-science-commits mailing list