--- python-numpy-1.1.0.orig/debian/copyright +++ python-numpy-1.1.0/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Marco Presi (Zufus) on +Tue, 14 Feb 2006 00:40:53 +0100. + +It was downloaded from http://www.numpy.org/ + +Copyright Holders: Copyright (C) 2005 - 2007, SciPy Developers + +License: + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * 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. + + * Neither the name of the NumPy Developers nor the names of any + 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 +OWNER 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. --- python-numpy-1.1.0.orig/debian/python-numpy.manpages +++ python-numpy-1.1.0/debian/python-numpy.manpages @@ -0,0 +1 @@ +numpy/f2py/f2py.1 --- python-numpy-1.1.0.orig/debian/README.Debian +++ python-numpy-1.1.0/debian/README.Debian @@ -0,0 +1,12 @@ +python-numpy for Debian +----------------------- + +It is possible to find more documentation at + +http://www.scipy.org + +A _detailed_ changelog is available at: + +http://www.scipy.org/ReleaseNotes/NumPy_1.0 + + -- Marco Presi (Zufus) , Sat, 23 Sep 2006 21:23:09 +0200 --- python-numpy-1.1.0.orig/debian/dirs +++ python-numpy-1.1.0/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/doc --- python-numpy-1.1.0.orig/debian/python-numpy.links +++ python-numpy-1.1.0/debian/python-numpy.links @@ -0,0 +1,7 @@ +usr/share/pyshared/numpy/numarray/numpy/nummacro.h usr/share/pyshared/numpy/core/include/numpy/nummacro.h +usr/share/pyshared/numpy/numarray/numpy/cfunc.h usr/share/pyshared/numpy/core/include/numpy/numpycfunc.h +usr/share/pyshared/numpy/numarray/numpy/numcomplex.h usr/share/pyshared/numpy/core/include/numpy/numcomplex.h +usr/share/pyshared/numpy/numarray/numpy/ieeespecial.h usr/share/pyshared/numpy/core/include/numpy/ieeespecial.h +usr/share/pyshared/numpy/numarray/numpy/libnumarray.h usr/share/pyshared/numpy/core/include/numpy/libnumarray.h +usr/share/pyshared/numpy/numarray/numpy/arraybase.h usr/share/pyshared/numpy/core/include/numpy/arraybase.h +usr/share/pyshared/numpy/core/include/numpy usr/include/numpy --- python-numpy-1.1.0.orig/debian/changelog +++ python-numpy-1.1.0/debian/changelog @@ -0,0 +1,386 @@ +python-numpy (1:1.1.0-1) unstable; urgency=low + + [ Ondrej Certik ] + * New upstream release. + * debian/patches/03_histogram_fix.diff removed, as it is now applied upstream + * Standards-Version bumped to 3.8.0 (no changes needed) + + [ Andrew Straw ] + * Install new numpy.ma subpackage + + -- Ondrej Certik Mon, 09 Jun 2008 17:02:31 +0200 + +python-numpy (1:1.0.4-8) unstable; urgency=medium + + [ Kumar Appaiah ] + * debian/rules: + + Add the --single-version-externally-managed flag. + * debian/patches/03_histogram_fix.diff: + + Patch from Manuel Metz to fix numpy.histogram. (Closes: #470293) + * debian/python-numpy.install: + + Install the egg-info file. (Closes: #477243) + * debian/control: + + Update Kumar Appaiah's e-mail address to the debian.org + address. + + [ Chris AtLee ] + * debian/control + + Update description to clarify relationship between numpy and + python-(numarray|numeric). + + [ Kumar Appaiah ] + * debian/rules: Fix symlinks for include file location change + due to pycentral modification. (Closes: #478496) + + -- Ondrej Certik Wed, 30 Apr 2008 13:52:37 +0200 + +python-numpy (1:1.0.4-7) unstable; urgency=low + + * Sync from ubuntu (Closes: #470698). + - Applied all ubuntu changes, except ubuntu's specific from debian/control + * debian/pyversions removed as it is not necessary now + + -- Ondrej Certik Thu, 13 Mar 2008 00:42:09 +0100 + +python-numpy (1:1.0.4-6ubuntu1) hardy; urgency=low + + * Sync from debian unstable. + - All existing Ubuntu changes are now in Debian. + * debian/rules: Unset LDFLAGS, as numpy's distutils is braindead and FTBFS. + (LP: #199031) + * debian/python-numpy.links: Reference /usr/share/pyshared, rather than the + old python-central-specific directory. + * debian/control: Comply with DebianMaintainerField. + + -- William Grant Sat, 08 Mar 2008 12:56:12 +1100 + +python-numpy (1:1.0.4-6) unstable; urgency=low + + [ Kumar Appaiah ] + * Remove unnecessary README.numpy-dbg. + * debian/control: + + Build using gfortran, libblas-dev, liblapack-dev. (Closes: #464784) + + Conflict with python-scipy (<= 0.6.0-6), python-matplotlib (<< 0.90.1-3), + built with g77. + + Add build-conflict with atlas3-base-dev. + + Build again using python-central as done up to version 1:1.0.4-2. + + Spell python with small `p', as per new description norms. + * debian/rules: + + Add proper symlinks in /usr/include/python/numpy + for numpy headers. + + Include symlinks for debug package. + * debian/python-numpy.links: + + Symlink old numarray headers to numpy include directory. + (Closes: #463007) + * debian/copyright: + + Fix by adding copyright date and symbol. + + [ Ondrej Certik ] + * Package description update: python -> Python (fixes a lintian warning) + + -- Ondrej Certik Wed, 20 Feb 2008 15:06:55 +0100 + +python-numpy (1:1.0.4-5) unstable; urgency=low + + [ Kumar Appaiah ] + * debian/control: + + Change fftw3-dev build dependency to + libfftw3-dev. (Closes: #458235) + + [ Sandro Tosi ] + * debian/control + - uniforming both Vcs-Svn and Vcs-Browser fields + + [ Kumar Appaiah ] + * debian/rules: + + Don't remove /usr/share/python-support/python-numpy-dbg, even + though it is empty, to prevent python-numpy-dbg + from becoming uninstallable. + + Add a README.numpy-dbg to explain the emptiness of + /usr/share/python-support/python-numpy-dbg. + + -- Kumar Appaiah Sun, 06 Jan 2008 07:36:20 +0530 + +python-numpy (1:1.0.4-4) unstable; urgency=medium + + * debian/patches: + + 02_dontuse_lapack.diff: Patch system_info.py not to look for + Atlas, as we want to build against the reference BLAS and + LAPACK (refblas3-dev and lapack3-dev) even when Atlas is around. + (Closes: #448530, #457329) + * debian/python-numpy.links: + + Symlink the numpy include directory to appear in + /usr/include/numpy to adhere to the FHS. (Closes: #457060). + * debian/control: + + Set python-numpy-doc and python-numpy-ext to Architecture: all. + + Don't call dh_python for python-numpy-ext. + * debian/TODO*: + + Not relevant, as all issues have been taken care of. + + -- Kumar Appaiah Sat, 22 Dec 2007 22:19:32 +0530 + +python-numpy (1:1.0.4-3) unstable; urgency=low + + [ Kumar Appaiah ] + * debian/pyversions: Build for Python 2.4 onwards. + * debian/control: + + Update Standards Version to 3.7.3. (No changes needed) + + Move to python-support. Update Build-Depends. + + {XS,XB}-Python-Versions no longer required. + * debian/changelog: + + Replace pycentral with pysupport. + + [ Ondrej Certik ] + * debian/pycompat removed + + -- Ondrej Certik Mon, 17 Dec 2007 17:26:57 +0100 + +python-numpy (1:1.0.4-2) unstable; urgency=low + + * DM-Upload-Allowed changed to XS-DM-Upload-Allowed + * Removed build-conflicts, since the package builds without them and it + fails to build on buildbots with them + + -- Ondrej Certik Tue, 04 Dec 2007 22:26:52 +0100 + +python-numpy (1:1.0.4-1) unstable; urgency=low + + [ Kumar Appaiah ] + * New upstream release. + * debian/control: + + Don't build python-numpy-dev. Make python-numpy provide it. + + Add Conflicts to all packages to python-numpy and + provide python-f2py. + * debian/rules: + + Don't use pycentral's nomove. + + Move f2py manpage installation to python-numpy. + * debian/python-numpy.install: + + Merge back the python-f2py.install files. + * debian/python-numpy.manpages: + + Move f2py manpage to python-numpy. + + [ Ondrej Certik ] + * Changed maintainer from deb-scipy to DPMT, removed deb-scipy from + Uploaders + * Kumar Appaiah added into Uploaders. + * Short description improved to use NumPy instead of the old Numerical Python + + -- Ondrej Certik Tue, 04 Dec 2007 15:38:59 +0100 + +python-numpy (1:1.0.3-2) unstable; urgency=low + + [ Ondrej Certik ] + [Jonas Smedegaard] + * Fix installing both versioned and unversioned f2py (Closes: 450443) + + [Ondrej Certik] + * Added DPMT and Ondrej Certik to Uploaders field + * XS-Vcs-Svn and XS-Vcs-Browser fields added + + [ Fabio Tranchitella ] + * Add DM-Upload-Allowed: yes + + [ Kumar Appaiah ] + * debian/control: + + Move XS-Vcs-* to Vcs-*, as dpkg supports them now. + + Move ${Source-Version} to ${binary:Version} + + Move python-numpy-doc to section doc. + + Alter -dbg package description, shorten it. + + Split -ext package description to two lines. + * debian/rules: + + Symlink the f2py man page for f2py$(PYVER)-dbg as well. + + Remove DEB_TAR_SRCDIR. + * debian/patches: + + Add 01_fix_man_hyphens.patch to fix hyphens in f2py.1. + * debian/watch: Added. + + -- Ondrej Certik Fri, 30 Nov 2007 12:27:18 +0100 + +python-numpy (1:1.0.3-1) unstable; urgency=low + + * New upstream version. + * Merge from Ubuntu: + - Build the extension for the python debug interpreter. + - Bump debian/compat to 5. + + -- Matthias Klose Thu, 24 May 2007 08:54:44 +0200 + +python-numpy (1:1.0.2-3) unstable; urgency=low + + * rebuilt in an unstable environment (Closes: 423633) + + -- Marco Presi (Zufus) Thu, 17 May 2007 14:13:25 +0100 + +python-numpy (1:1.0.2-2) unstable; urgency=low + + * Built with new debian-defaults (support python 2.5) (Closes: 414975) + + -- Marco Presi (Zufus) Wed, 9 May 2007 09:22:05 +0100 + +python-numpy (1:1.0.2-1) experimental; urgency=low + + * New upstream version + * Due to another ABI change, I added a conflict on packages that require a binary NMU + + -- Marco Presi (Zufus) Sat, 21 Apr 2007 17:34:45 +0100 + +python-numpy (1:1.0.1-8) unstable; urgency=low + + * Upload to unstable + + -- Marco Presi (Zufus) Wed, 14 Mar 2007 13:40:05 +0000 + +python-numpy (1:1.0.1-7) experimental; urgency=low + + * Removed circular dependencies between pyhton-numpy and + python-numpy-dev (Closes: 413160) + + -- Marco Presi (Zufus) Tue, 6 Mar 2007 07:23:20 +0000 + +python-numpy (1:1.0.1-6) experimental; urgency=low + + * Build depends on gfortran instead of g77 + + -- Marco Presi (Zufus) Thu, 1 Mar 2007 00:51:50 +0000 + +python-numpy (1:1.0.1-5) unstable; urgency=low + + * Upload in unstable. + + -- Marco Presi (Zufus) Mon, 26 Feb 2007 00:41:08 +0000 + +python-numpy (1:1.0.1-4) experimental; urgency=low + + * Re-added fftw3-dev as Build-Dep. + + -- Marco Presi (Zufus) Mon, 19 Feb 2007 15:50:36 +0000 + +python-numpy (1:1.0.1-3) unstable; urgency=low + + * Moved f2py files back in python-numpy; + python-numpy to depend on python-numpy-dev (closes: #410944) + + -- Marco Presi (Zufus) Mon, 19 Feb 2007 02:01:10 +0000 + +python-numpy (1:1.0.1-2) unstable; urgency=medium + + * Fix memory error in polymul. Closes: #410757. + * Install additional f2py files. Closes: #410067. + + -- Matthias Klose Wed, 14 Feb 2007 02:41:15 +0100 + +python-numpy (1:1.0.1-1) unstable; urgency=medium + + * Merge python-numpy-ext with python-numpy; make python-numpy-ext + an empty transitional package. + + -- Matthias Klose Sun, 7 Jan 2007 10:14:30 +0000 + +python-numpy (1:1.0.1-0) experimental; urgency=low + + * New upstream release (final release). + * Update conflicts with scipy (<< 0.5.2) and matplotlib (<< 0.87.7). + * Remove redundant (build-)dependencies. + + -- Matthias Klose Wed, 3 Jan 2007 22:15:27 +0100 + +python-numpy (1:1.0rc1-1) unstable; urgency=low + + * New upstream release + + -- Marco Presi (Zufus) Sat, 23 Sep 2006 21:13:18 +0200 + +python-numpy (1:1.0b5-1) unstable; urgency=low + + * New upstream release + * Added conflict with scipy (<=0.5.0) and matplotlib (<=0.87.4) + + -- Marco Presi (Zufus) Thu, 7 Sep 2006 00:18:41 +0200 + +python-numpy (1:1.0b4-1) unstable; urgency=low + + * New upstream release + + -- Marco Presi (Zufus) Tue, 29 Aug 2006 22:51:32 +0200 + +python-numpy (1:1.0b2-1) unstable; urgency=low + + * New upstream release + + -- Marco Presi (Zufus) Fri, 18 Aug 2006 00:01:21 +0200 + +python-numpy (1:1.0b1-1) unstable; urgency=low + + * New upstream release + * Added numarray and oldnumeric to python-numpy + + -- Marco Presi (Zufus) Sun, 30 Jul 2006 00:50:55 +0200 + +python-numpy (1:0.9.8-3) unstable; urgency=low + + * Applied patch from Matthias Klose providing the following: + * debian/rules: + - Don't hardcode any python versions. + - Work around a cdbs bug not calling dh_py* for the -ext package. + - python-numpy: Add an unversioned f2py script. + * debian/control: + - python-numpy-ext: Add Provides, tighten dependency on python-numpy. + * debian/*.install: Don't hardcode any python versions. + + -- Marco Presi (Zufus) Sat, 29 Jul 2006 23:55:06 +0200 + +python-numpy (1:0.9.8-2) unstable; urgency=low + + * Build-deps: removed atlas2 (José Fonseca ). + * Maintainer field updated to Debian Scipy Team. + * Update to new python policy. + + -- Marco Presi (Zufus) Wed, 5 Jul 2006 12:07:29 +0200 + +python-numpy (1:0.9.8-1) experimental; urgency=low + + * New upstream version + + -- Marco Presi (Zufus) Mon, 3 Jul 2006 16:19:17 +0200 + +python-numpy (1:0.9.5-4) experimental; urgency=low + + * Added numpy/f2py/src + + -- José Fonseca Sat, 25 Feb 2006 22:59:07 +0000 + +python-numpy (1:0.9.5-3) experimental; urgency=low + + * Added distutils + + -- Marco Presi (Zufus) Sat, 25 Feb 2006 17:32:06 +0100 + +python-numpy (1:0.9.5-2) experimental; urgency=low + + * Fixed pyhton-f2py and -doc building + * Added epoch version to make f2py upgradeable + + -- Marco Presi (Zufus) Sat, 25 Feb 2006 16:46:02 +0100 + +python-numpy (1:0.9.5-1) unstable; urgency=low + + * New upstream release + + -- Marco Presi (Zufus) Sun, 19 Feb 2006 15:01:33 +0100 + +python-numpy (0.9.4-2) unstable; urgency=low + + * Package splitting as suggested by Matthias Klose : + python2.x-f2py + python-f2py-doc + python2.x-numpy + python2.x-numpy-extra + + -- Marco Presi (Zufus) Thu, 16 Feb 2006 03:57:01 +0100 + +python-numpy (0.9.4-1) unstable; urgency=low + + * Initial release Closes. + + -- Marco Presi (Zufus) Tue, 14 Feb 2006 00:40:53 +0100 + --- python-numpy-1.1.0.orig/debian/docs +++ python-numpy-1.1.0/debian/docs @@ -0,0 +1 @@ +README.txt --- python-numpy-1.1.0.orig/debian/rules +++ python-numpy-1.1.0/debian/rules @@ -0,0 +1,93 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses cdbs. Originaly written by Robert Millan. +# This file is public domain. + +DEB_AUTO_CLEANUP_RCS := yes + +DEB_PYTHON_SYSTEM=pycentral +PYVERS=$(shell pyversions -vr debian/control) + +DEB_MAKE_CLEAN_TARGET := clean +DEB_DH_INSTALL_SOURCEDIR := debian/tmp + +DEB_DESTDIR=$(CURDIR)/debian/tmp + +DEB_INSTALL_MANPAGES_python-f2py := numpy/f2py/f2py.1 +DEB_INSTALL_DOCS_python-numpy := DEV_README.txt THANKS.txt + +DEB_PYTHON_PACKAGES_EXCLUDE=python-numpy-dbg + +unexport LDFLAGS + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +clean:: + -rm -rf `find -name build -type d` + -rm -rf `find . -name "*.pyc" -type f` + +install/python-numpy:: + : # Adding documentation + install -d $(CURDIR)/debian/python-numpy/usr/share/doc/python-numpy + cp -r $(DEB_DESTDIR)/usr/lib/python$(cdbs_python_current_version)/site-packages/numpy/doc/* \ + $(CURDIR)/debian/python-numpy/usr/share/doc/python-numpy/ + cp $(DEB_DESTDIR)/usr/lib/python$(cdbs_python_current_version)/site-packages/numpy/doc/README.txt \ + $(CURDIR)/debian/python-numpy/usr/share/doc/python-numpy/README.doc.txt + + : # Adding links to manpages + mkdir -p debian/python-numpy/usr/share/man/man1 + for v in $(PYVERS); do \ + ln -sf f2py.1 debian/python-numpy/usr/share/man/man1/f2py$$v.1; \ + ln -sf f2py.1 debian/python-numpy/usr/share/man/man1/f2py$$v-dbg.1; \ + done + + : # Add unversioned numpy script + mv $(DEB_DESTDIR)/usr/bin/f2py $(DEB_DESTDIR)/usr/bin/f2py$(cdbs_python_current_version) + ln -s f2py$(cdbs_python_current_version) debian/python-numpy/usr/bin/f2py + + : # Make Python scripts executable + for i in `find debian/tmp -type f`; do \ + sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \ + $$i > $$i.temp; \ + if cmp --quiet $$i $$i.temp; then \ + rm -f $$i.temp; \ + else \ + mv -f $$i.temp $$i; \ + chmod 755 $$i; \ + echo "fixed interpreter: $$i"; \ + fi; \ + done + for i in $(cdbs_python_build_versions); do \ + [ -d $(CURDIR)/debian/python-numpy/usr/include/python$$i ] || \ + mkdir -p $(CURDIR)/debian/python-numpy/usr/include/python$$i; \ + dh_link usr/share/pyshared/numpy/core/include/numpy usr/include/python$$i/numpy; \ + done + for i in $(cdbs_python_build_versions); do \ + [ -d $(CURDIR)/debian/python-numpy/usr/include/python$${i}_d ] || \ + mkdir -p $(CURDIR)/debian/python-numpy/usr/include/python$${i}_d; \ + dh_link usr/share/pyshared/numpy/core/include/numpy usr/include/python$${i}_d/numpy; \ + done + +binary-install/python-numpy-doc:: + rst2html numpy/f2py/docs/usersguide/index.txt > $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/index.html + cp -r $(CURDIR)/numpy/f2py/docs/* $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg) + chmod -x $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/usersguide/setup_example.py + +build/python-numpy-dbg:: + set -e; \ + for i in $(cdbs_python_build_versions); do \ + python$$i-dbg ./setup.py build; \ + done + +install/python-numpy-dbg:: + for i in $(cdbs_python_build_versions); do \ + python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-numpy-dbg; \ + done + find debian/python-numpy-dbg \ + ! -type d ! -name '*_d.so' | xargs rm -f + find debian/python-numpy-dbg -depth -empty -exec rmdir {} \; + +binary-predeb/python-numpy-dbg:: + rm -rf debian/python-numpy-dbg/usr/share/doc/python-numpy-dbg + ln -s python-numpy debian/python-numpy-dbg/usr/share/doc/python-numpy-dbg --- python-numpy-1.1.0.orig/debian/python-numpy.install +++ python-numpy-1.1.0/debian/python-numpy.install @@ -0,0 +1,15 @@ +usr/lib/python*/site-packages/numpy/*.py +usr/lib/python*/site-packages/numpy/core/ +usr/lib/python*/site-packages/numpy/distutils/ +usr/lib/python*/site-packages/numpy/lib/ +usr/lib/python*/site-packages/numpy/testing/ +usr/lib/python*/site-packages/numpy/oldnumeric/ +usr/lib/python*/site-packages/numpy/numarray/ +usr/lib/python*/site-packages/numpy/fft/ +usr/lib/python*/site-packages/numpy/linalg/ +usr/lib/python*/site-packages/numpy/random/ +usr/lib/python*/site-packages/numpy/ma/ +usr/bin/f2py* +usr/lib/python*/site-packages/numpy/f2py/*.py +usr/lib/python*/site-packages/numpy/f2py/src +usr/lib/python*/site-packages/*.egg-info --- python-numpy-1.1.0.orig/debian/watch +++ python-numpy-1.1.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://qa.debian.org/watch/sf.php/numpy/numpy-([\d\.]+)\.tar\.gz --- python-numpy-1.1.0.orig/debian/control +++ python-numpy-1.1.0/debian/control @@ -0,0 +1,67 @@ +Source: python-numpy +Section: python +Priority: optional +Maintainer: Debian Python Modules Team +Uploaders: Marco Presi (Zufus) , Alexandre Fayolle , José Fonseca , Matthias Klose , Ondrej Certik , Kumar Appaiah +Build-Depends: cdbs (>= 0.4.43), python-all-dev, python-all-dbg, python-central (>= 0.6), gfortran (>= 4:4.2), libblas-dev [!arm !m68k], liblapack-dev [!arm !m68k], debhelper (>= 5.0.38), patchutils, python-docutils, libfftw3-dev +Build-Conflicts: atlas3-base-dev +XS-Python-Version: >= 2.3 +Standards-Version: 3.8.0 +Vcs-Svn: svn://svn.debian.org/python-modules/packages/numpy/trunk +Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/numpy/trunk/?op=log +XS-DM-Upload-Allowed: yes + +Package: python-numpy +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends} +Suggests: python-numpy-doc, python-numpy-dbg +Conflicts: python-f2py (<= 2.45.241+1926-5), python2.3-f2py, python2.4-f2py, python-scipy (<= 0.6.0-6), python-matplotlib (<< 0.90.1-3), python-numpy-dev (<= 1:1.0.3-2) +XB-Python-Version: ${python:Versions} +Provides: ${python:Provides}, python-numpy-ext, python-numpy-dev, python-f2py +Description: Numerical Python adds a fast array facility to the Python language + Numpy contains a powerful N-dimensional array object, sophisticated + (broadcasting) functions, tools for integrating C/C++ and Fortran + code, and useful linear algebra, Fourier transform, and random number + capabilities. + . + Numpy replaces the python-numeric and python-numarray modules which are + now deprecated and shouldn't be used except to support older + software. + +Package: python-numpy-dbg +Priority: extra +Architecture: any +Depends: python-numpy (= ${binary:Version}), python-dbg, ${shlibs:Depends} +Description: Fast array facility to the Python language (debug extension) + Numpy contains a powerful N-dimensional array object, sophisticated + (broadcasting) functions, tools for integrating C/C++ and Fortran + code, and useful linear algebra, Fourier transform, and random number + capabilities. + . + Numpy replaces the python-numeric and python-numarray modules which + are now deprecated and shouldn't be used except to support older + software. + . + This package contains the extension built for the Python debug interpreter. + +Package: python-numpy-ext +Architecture: all +Depends: python-numpy (>= 1.0.1-1) +Description: NumPy adds a fast array facility to the Python language + This package is a transitional package; it can safely be + removed after an upgrade. + +Package: python-numpy-doc +Section: doc +Architecture: all +Description: NumPy documentation + Numpy contains a powerful N-dimensional array object, sophisticated + (broadcasting) functions, tools for integrating C/C++ and Fortran + code, and useful linear algebra, Fourier transform, and random number + capabilities. + . + Numpy replaces the python-numeric and python-numarray modules which + are now deprecated and shouldn't be used except to support older + software. + . + This package contains documentation for the f2py subpackage. --- python-numpy-1.1.0.orig/debian/pycompat +++ python-numpy-1.1.0/debian/pycompat @@ -0,0 +1 @@ +2 --- python-numpy-1.1.0.orig/debian/compat +++ python-numpy-1.1.0/debian/compat @@ -0,0 +1 @@ +5 --- python-numpy-1.1.0.orig/debian/patches/02_dontuse_lapack.diff +++ python-numpy-1.1.0/debian/patches/02_dontuse_lapack.diff @@ -0,0 +1,61 @@ +Patch to prevent Atlas from being detected during the build, as we +want to depend on the reference BLAS and LAPACK even when Atlas is +around. + +Kumar Appaiah +Index: b/numpy/distutils/system_info.py +=================================================================== +--- a/numpy/distutils/system_info.py ++++ b/numpy/distutils/system_info.py +@@ -879,21 +879,21 @@ + atlas = None + lapack = None + atlas_1 = None +- for d in lib_dirs: +- atlas = self.check_libs2(d,atlas_libs,[]) +- lapack_atlas = self.check_libs2(d,['lapack_atlas'],[]) +- if atlas is not None: +- lib_dirs2 = [d] + self.combine_paths(d,['atlas*','ATLAS*']) +- for d2 in lib_dirs2: +- lapack = self.check_libs2(d2,lapack_libs,[]) +- if lapack is not None: +- break +- else: +- lapack = None +- if lapack is not None: +- break +- if atlas: +- atlas_1 = atlas ++# for d in lib_dirs: ++# atlas = self.check_libs2(d,atlas_libs,[]) ++# lapack_atlas = self.check_libs2(d,['lapack_atlas'],[]) ++# if atlas is not None: ++# lib_dirs2 = [d] + self.combine_paths(d,['atlas*','ATLAS*']) ++# for d2 in lib_dirs2: ++# lapack = self.check_libs2(d2,lapack_libs,[]) ++# if lapack is not None: ++# break ++# else: ++# lapack = None ++# if lapack is not None: ++# break ++# if atlas: ++# atlas_1 = atlas + log.info(self.__class__) + if atlas is None: + atlas = atlas_1 +@@ -967,10 +967,10 @@ + atlas_libs = self.get_libs('atlas_libs', + self._lib_names + self._lib_atlas) + atlas = None +- for d in lib_dirs: +- atlas = self.check_libs2(d,atlas_libs,[]) +- if atlas is not None: +- break ++# for d in lib_dirs: ++# atlas = self.check_libs2(d,atlas_libs,[]) ++# if atlas is not None: ++# break + if atlas is None: + return + include_dirs = self.get_include_dirs() --- python-numpy-1.1.0.orig/debian/patches/01_fix_man_hyphens.patch +++ python-numpy-1.1.0/debian/patches/01_fix_man_hyphens.patch @@ -0,0 +1,84 @@ +Patch to escape all hyphens in the f2py man page. + +Added by: Kumar Appaiah +Index: b/numpy/f2py/f2py.1 +=================================================================== +--- a/numpy/f2py/f2py.1 ++++ b/numpy/f2py/f2py.1 +@@ -20,7 +20,7 @@ + This program generates a Python C/API file (module.c) + that contains wrappers for given Fortran or C functions so that they + can be called from Python. +-With the -c option the corresponding ++With the \-c option the corresponding + extension modules are built. + .SH OPTIONS + .TP +@@ -49,8 +49,8 @@ + \'untitled\'. + .TP + .B \-\-[no\-]lower +-Do [not] lower the cases in . By default, --lower is +-assumed with -h key, and --no-lower without -h key. ++Do [not] lower the cases in . By default, \-\-lower is ++assumed with \-h key, and \-\-no\-lower without \-h key. + .TP + .B \-\-build\-dir + All f2py generated files are created in . Default is tempfile.mktemp(). +@@ -59,14 +59,14 @@ + Overwrite existing signature file. + .TP + .B \-\-[no\-]latex\-doc +-Create (or not) module.tex. Default is --no-latex-doc. ++Create (or not) module.tex. Default is \-\-no\-latex\-doc. + .TP + .B \-\-short\-latex + Create 'incomplete' LaTeX document (without commands \\documentclass, + \\tableofcontents, and \\begin{document}, \\end{document}). + .TP + .B \-\-[no\-]rest\-doc +-Create (or not) module.rst. Default is --no-rest-doc. ++Create (or not) module.rst. Default is \-\-no\-rest\-doc. + .TP + .B \-\-debug\-capi + Create C/API code that reports the state of the wrappers during +@@ -81,12 +81,12 @@ + .TP + .B \-\-[no\-]wrap\-functions + Create Fortran subroutine wrappers to Fortran 77 +-functions. --wrap-functions is default because it ensures maximum ++functions. \-\-wrap\-functions is default because it ensures maximum + portability/compiler independence. + .TP + .B \-\-help\-link [..] + List system resources found by system_info.py. [..] may contain +-a list of resources names. See also --link- switch below. ++a list of resources names. See also \-\-link\- switch below. + .TP + .B \-\-quiet + Run quietly. +@@ -100,7 +100,7 @@ + .B \-\-include_paths path1:path2:... + Search include files (that f2py will scan) from the given directories. + .SH "CONFIG_FC OPTIONS" +-The following options are effective only when -c switch is used. ++The following options are effective only when \-c switch is used. + .TP + .B \-\-help-compiler + List available Fortran compilers [DEPRECIATED]. +@@ -147,13 +147,13 @@ + .B \-\-debug + Compile with debugging information. + .SH "EXTRA OPTIONS" +-The following options are effective only when -c switch is used. ++The following options are effective only when \-c switch is used. + .TP + .B \-\-link- + Link extension module with as defined by + numpy_distutils/system_info.py. E.g. to link with optimized LAPACK + libraries (vecLib on MacOSX, ATLAS elsewhere), use +---link-lapack_opt. See also --help-link switch. ++\-\-link\-lapack_opt. See also \-\-help\-link switch. + + .TP + .B -L/path/to/lib/ -l --- python-numpy-1.1.0.orig/debian/patches/series +++ python-numpy-1.1.0/debian/patches/series @@ -0,0 +1,2 @@ +01_fix_man_hyphens.patch +02_dontuse_lapack.diff