[Python-modules-commits] r3771 - in packages/numpy/trunk (18 files)

certik-guest at users.alioth.debian.org certik-guest at users.alioth.debian.org
Fri Nov 30 10:34:16 UTC 2007


    Date: Friday, November 30, 2007 @ 10:34:15
  Author: certik-guest
Revision: 3771

Committing the debian dir from the source numpy package

Added:
  packages/numpy/trunk/debian/
  packages/numpy/trunk/debian/README.Debian
  packages/numpy/trunk/debian/TODO
  packages/numpy/trunk/debian/TODO.debian
  packages/numpy/trunk/debian/cdbs/
  packages/numpy/trunk/debian/cdbs/class/
  packages/numpy/trunk/debian/cdbs/class/python-distutils.mk
  packages/numpy/trunk/debian/changelog
  packages/numpy/trunk/debian/compat
  packages/numpy/trunk/debian/control
  packages/numpy/trunk/debian/copyright
  packages/numpy/trunk/debian/dirs
  packages/numpy/trunk/debian/docs
  packages/numpy/trunk/debian/pycompat
  packages/numpy/trunk/debian/python-numpy-dev.install
  packages/numpy/trunk/debian/python-numpy.install
  packages/numpy/trunk/debian/python-numpy.manpages
  packages/numpy/trunk/debian/rules

Added: packages/numpy/trunk/debian/README.Debian
===================================================================
--- packages/numpy/trunk/debian/README.Debian	                        (rev 0)
+++ packages/numpy/trunk/debian/README.Debian	2007-11-30 10:34:15 UTC (rev 3771)
@@ -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) <zufus at debian.org>, Sat, 23 Sep 2006 21:23:09 +0200

Added: packages/numpy/trunk/debian/TODO
===================================================================
--- packages/numpy/trunk/debian/TODO	                        (rev 0)
+++ packages/numpy/trunk/debian/TODO	2007-11-30 10:34:15 UTC (rev 3771)
@@ -0,0 +1,7 @@
+o) Fix python-numpy-doc documentaion installation
+
+o) does -numpy-ext needs to be a separate package?
+
+o) does -numpy-dev needs to be a separate package?
+
+o) Relationships with numeric, numarray and scipy

Added: packages/numpy/trunk/debian/TODO.debian
===================================================================
--- packages/numpy/trunk/debian/TODO.debian	                        (rev 0)
+++ packages/numpy/trunk/debian/TODO.debian	2007-11-30 10:34:15 UTC (rev 3771)
@@ -0,0 +1,10 @@
+the symptom is when running 
+"python2.3 -c 'from numpy.distutils.system_info import show_all; show_all()' " 
+it says it cant' find atlas in several points
+the causes appear to be mixed:
+ 1. debian atlas are spread in several subdirs instead of one (/usr/lib, /usr/lib/atlas, /usr/lib/atlas/sse2, ...)
+ 2. atlas shared libraries have no *.so files, just *.so.3
+system_info allows one to write a /usr/lib/python2.3/site-packages/numpy/distutils/site.cfg 
+
+but I can't get anything out of it.
+

Added: packages/numpy/trunk/debian/cdbs/class/python-distutils.mk
===================================================================
--- packages/numpy/trunk/debian/cdbs/class/python-distutils.mk	                        (rev 0)
+++ packages/numpy/trunk/debian/cdbs/class/python-distutils.mk	2007-11-30 10:34:15 UTC (rev 3771)
@@ -0,0 +1,84 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Colin Walters <walters at debian.org>
+# Description: configure, compile, binary, and clean Python libraries and programs
+#  This class works for Python packages which use the Python
+#  "distutils".  Note that optionally it can also use the
+#  dh_python program which does some nice stuff.  See
+#  the manual page for that program for more information.
+#
+# 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 2, 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, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_python_distutils
+_cdbs_class_python_distutils := 1
+
+include $(_cdbs_class_path)/langcore.mk$(_cdbs_makefile_suffix)
+
+DEB_PYTHON_COMPILE_VERSION = 
+
+DEB_PYTHON_VERSIONS = 2.3 2.4
+
+DEB_PYTHON_SETUP_CMD = setup.py
+DEB_PYTHON_CLEAN_ARGS = -a
+DEB_PYTHON_BUILD_ARGS = --build-base="$(DEB_BUILDDIR)/build"
+DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile -O0
+
+# make: *** No rule to make target `voodoo'.  Stop.
+DEB_PYTHON_REAL_LIB_PACKAGES := $(strip $(filter $(patsubst %,python%%,$(DEB_PYTHON_VERSIONS)),$(DEB_ALL_PACKAGES)))
+# If no versioned python library packages found, grab all simpler ones
+ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES))
+DEB_PYTHON_SIMPLE_PACKAGES := $(strip $(filter python-%,$(DEB_ALL_PACKAGES)))
+endif
+
+cdbs_python_ver = $(filter-out -%,$(subst -, -,$(patsubst install/python%,%,$@)))
+
+common-build-arch common-build-indep:: common-build-impl
+common-build-impl::
+	cd $(DEB_SRCDIR) && python$(DEB_PYTHON_COMPILE_VERSION) $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
+
+#clean::
+# Ignore errors from this rule.  In a tarball build, the file
+# may not exist.
+#	-python$(DEB_PYTHON_COMPILE_VERSION) $(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS)
+
+# See if this package doesn't appear to need to be compiled by multiple
+# Python versions.
+ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES))
+common-install-arch common-install-indep:: common-install-impl
+common-install-impl::
+	cd $(DEB_SRCDIR) && /usr/bin/python$(DEB_PYTHON_COMPILE_VERSION) $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg))
+else
+$(patsubst %,install/%,$(DEB_PYTHON_REAL_LIB_PACKAGES)) :: install/% :
+	cd $(DEB_SRCDIR) && /usr/bin/python$(cdbs_python_ver) $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg))
+endif
+
+$(patsubst %,install/%,$(DEB_PYTHON_SIMPLE_PACKAGES)) :: install/% :
+	cd $(DEB_SRCDIR) && python $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL) $(DEB_PYTHON_INSTALL_ARGS_$(cdbs_curpkg))
+
+# This class can optionally utilize debhelper's "dh_python" command.  Just
+# be sure you include debhelper.mk before including this file.
+ifdef _cdbs_rules_debhelper
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+	dh_python -p$(cdbs_curpkg)
+endif
+
+endif

Added: packages/numpy/trunk/debian/changelog
===================================================================
--- packages/numpy/trunk/debian/changelog	                        (rev 0)
+++ packages/numpy/trunk/debian/changelog	2007-11-30 10:34:15 UTC (rev 3771)
@@ -0,0 +1,188 @@
+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 <doko at debian.org>  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) <zufus at debian.org>  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) <zufus at debian.org>  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) <zufus at debian.org>  Sat, 21 Apr 2007 17:34:45 +0100
+
+python-numpy (1:1.0.1-8) unstable; urgency=low
+
+  * Upload to unstable
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  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) <zufus at debian.org>  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) <zufus at debian.org>  Thu,  1 Mar 2007 00:51:50 +0000
+
+python-numpy (1:1.0.1-5) unstable; urgency=low
+
+  * Upload in unstable. 
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  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) <zufus at debian.org>  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) <zufus at debian.org>  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 <doko at debian.org>  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 <doko at debian.org>  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 <doko at debian.org>  Wed,  3 Jan 2007 22:15:27 +0100
+
+python-numpy (1:1.0rc1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  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) <zufus at debian.org>  Thu,  7 Sep 2006 00:18:41 +0200
+
+python-numpy (1:1.0b4-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Tue, 29 Aug 2006 22:51:32 +0200
+
+python-numpy (1:1.0b2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  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) <zufus at debian.org>  Sun, 30 Jul 2006 00:50:55 +0200
+
+python-numpy (1:0.9.8-3) unstable; urgency=low
+
+  * Applied patch from Matthias Klose <doko at ubuntu.com> 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) <zufus at debian.org>  Sat, 29 Jul 2006 23:55:06 +0200
+
+python-numpy (1:0.9.8-2) unstable; urgency=low
+
+  * Build-deps: removed atlas2 (José Fonseca <j_r_fonseca at yahoo.co.uk>).
+  * Maintainer field updated to Debian Scipy Team.
+  * Update to new python policy.
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Wed,  5 Jul 2006 12:07:29 +0200
+
+python-numpy (1:0.9.8-1) experimental; urgency=low
+
+  * New upstream version
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Mon,  3 Jul 2006 16:19:17 +0200
+
+python-numpy (1:0.9.5-4) experimental; urgency=low
+
+  * Added numpy/f2py/src
+
+ -- José Fonseca <j_r_fonseca at yahoo.co.uk>  Sat, 25 Feb 2006 22:59:07 +0000
+
+python-numpy (1:0.9.5-3) experimental; urgency=low
+
+  * Added distutils
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  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) <zufus at debian.org>  Sat, 25 Feb 2006 16:46:02 +0100
+
+python-numpy (1:0.9.5-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Sun, 19 Feb 2006 15:01:33 +0100
+
+python-numpy (0.9.4-2) unstable; urgency=low
+
+  * Package splitting as suggested by Matthias Klose <doko at debian.org>:
+    python2.x-f2py
+    python-f2py-doc
+    python2.x-numpy
+    python2.x-numpy-extra
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Thu, 16 Feb 2006 03:57:01 +0100
+
+python-numpy (0.9.4-1) unstable; urgency=low
+
+  * Initial release Closes.
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Tue, 14 Feb 2006 00:40:53 +0100
+

Added: packages/numpy/trunk/debian/compat
===================================================================
--- packages/numpy/trunk/debian/compat	                        (rev 0)
+++ packages/numpy/trunk/debian/compat	2007-11-30 10:34:15 UTC (rev 3771)
@@ -0,0 +1 @@
+5

Added: packages/numpy/trunk/debian/control
===================================================================
--- packages/numpy/trunk/debian/control	                        (rev 0)
+++ packages/numpy/trunk/debian/control	2007-11-30 10:34:15 UTC (rev 3771)
@@ -0,0 +1,77 @@
+Source: python-numpy
+Section: python
+Priority: optional
+Maintainer: Debian Scipy Team <deb-scipy-devel at lists.alioth.debian.org>
+Uploaders: Marco Presi (Zufus) <zufus at debian.org>, Alexandre Fayolle <afayolle at debian.org>, José Fonseca <j_r_fonseca at yahoo.co.uk>, Matthias Klose <doko at debian.org>
+Build-Depends: cdbs (>= 0.4.43), python-all-dev, python-all-dbg, python-central (>= 0.5.6), refblas3-dev [!arm !m68k], lapack3-dev [!arm !m68k], debhelper (>= 5.0.38), g77, patchutils, python-docutils, fftw3-dev
+Build-Conflicts: lapack-dev [!arm !m68k], blas-dev [!arm !m68k], atlas2-base, atlas2-base-dev, atlas3-base, atlas3-base-dev
+XS-Python-Version: >=2.3, <<2.6
+Standards-Version: 3.7.2
+
+Package: python-numpy
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Depends: ${python:Depends}, ${shlibs:Depends}, python-numpy-dev (= ${Source-Version})
+Suggests: python-numpy-doc, python-numpy-dbg
+Replaces: python-f2py, python2.3-f2py, python2.4-f2py, python-numpy-ext (<< 1:1.0.1-1)
+Conflicts: python-f2py, python2.3-f2py, python2.4-f2py, python-scipy (<= 0.5.2-7+b1), python-matplotlib (<< 0.90.0-1)
+Provides: ${python:Provides}, python-numpy-ext
+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.  It derives from the old Numeric code
+ base and can be used as a replacement for Numeric.  It also adds the
+ features introduced by numarray and can be used to replace numarray.
+ Numeric users should find the transition very easy
+
+Package: python-numpy-dbg
+Priority: extra
+Architecture: any
+Depends: python-numpy (= ${Source-Version}), python-dbg, ${shlibs:Depends}
+Description: Numerical Python adds a 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.  It derives from the old Numeric code
+ base and can be used as a replacement for Numeric.  It also adds the
+ features introduced by numarray and can be used to replace numarray.
+ Numeric users should find the transition very easy
+ .
+ This package contains the extension built for the python debug interpreter.
+
+Package: python-numpy-ext
+Architecture: any
+Depends: python-numpy (= ${Source-Version})
+Description: Numerical Python 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-dev
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}
+Suggests: python-numpy-doc
+Replaces: python2.4-f2py
+Conflicts: python2.4-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.  It derives from the old Numeric code
+ base and can be used as a replacement for Numeric.  It also adds the
+ features introduced by numarray and can be used to replace numarray.
+ Numeric users should find the transition very easy
+ .
+ This package contains development files to build python modules based on Numpy.
+
+Package: python-numpy-doc
+Architecture: any
+Description: Numpy documentation
+ This package 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.  It derives from the old Numeric code
+ base and can be used as a replacement for Numeric.  It also adds the
+ features introduced by numarray and can be used to replace numarray.
+ Numeric users should find the transition very easy
+ .
+ This package contains documentation for f2py subpackage

Added: packages/numpy/trunk/debian/copyright
===================================================================
--- packages/numpy/trunk/debian/copyright	                        (rev 0)
+++ packages/numpy/trunk/debian/copyright	2007-11-30 10:34:15 UTC (rev 3771)
@@ -0,0 +1,36 @@
+This package was debianized by Marco Presi (Zufus) <zufus at debian.org> on
+Tue, 14 Feb 2006 00:40:53 +0100.
+
+It was downloaded from http://www.numpy.org/
+
+Copyright Holders: SciPy Developers <scipy-dev at scipy.org>
+
+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.

Added: packages/numpy/trunk/debian/dirs
===================================================================
--- packages/numpy/trunk/debian/dirs	                        (rev 0)
+++ packages/numpy/trunk/debian/dirs	2007-11-30 10:34:15 UTC (rev 3771)
@@ -0,0 +1,3 @@
+usr/bin
+usr/sbin
+usr/share/doc

Added: packages/numpy/trunk/debian/docs
===================================================================
--- packages/numpy/trunk/debian/docs	                        (rev 0)
+++ packages/numpy/trunk/debian/docs	2007-11-30 10:34:15 UTC (rev 3771)
@@ -0,0 +1 @@
+README.txt

Added: packages/numpy/trunk/debian/pycompat
===================================================================
--- packages/numpy/trunk/debian/pycompat	                        (rev 0)
+++ packages/numpy/trunk/debian/pycompat	2007-11-30 10:34:15 UTC (rev 3771)
@@ -0,0 +1 @@
+2

Added: packages/numpy/trunk/debian/python-numpy-dev.install
===================================================================
--- packages/numpy/trunk/debian/python-numpy-dev.install	                        (rev 0)
+++ packages/numpy/trunk/debian/python-numpy-dev.install	2007-11-30 10:34:15 UTC (rev 3771)
@@ -0,0 +1 @@
+usr/lib/python*/site-packages/numpy/f2py/src

Added: packages/numpy/trunk/debian/python-numpy.install
===================================================================
--- packages/numpy/trunk/debian/python-numpy.install	                        (rev 0)
+++ packages/numpy/trunk/debian/python-numpy.install	2007-11-30 10:34:15 UTC (rev 3771)
@@ -0,0 +1,12 @@
+usr/bin/f2py*
+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/f2py/*.py
+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/

Added: packages/numpy/trunk/debian/python-numpy.manpages
===================================================================
--- packages/numpy/trunk/debian/python-numpy.manpages	                        (rev 0)
+++ packages/numpy/trunk/debian/python-numpy.manpages	2007-11-30 10:34:15 UTC (rev 3771)
@@ -0,0 +1 @@
+numpy/f2py/f2py.1

Added: packages/numpy/trunk/debian/rules
===================================================================
--- packages/numpy/trunk/debian/rules	                        (rev 0)
+++ packages/numpy/trunk/debian/rules	2007-11-30 10:34:15 UTC (rev 3771)
@@ -0,0 +1,98 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses cdbs.  Originaly written by Robert Millan.
+# This file is public domain.
+
+DEB_TAR_SRCDIR                  := python-numpy-1.0.2
+DEB_AUTO_CLEANUP_RCS            := yes
+
+DEB_PYTHON_SYSTEM=pycentral
+export DH_PYCENTRAL="nomove"
+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-numpy  := numpy/f2py/f2py.1
+DEB_INSTALL_DOCS_python-numpy := DEV_README.txt THANKS.txt
+
+DEB_PYTHON_PACKAGES_EXCLUDE=python-numpy-dbg
+
+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
+
+#cdbs_python_build_versions += 2.5
+
+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; \
+	done
+
+	: # Add unversioned f2py script
+	[ -f debian/python-numpy/usr/bin/f2py ] \
+	  || ln -s f2py$(cdbs_python_current_version) debian/python-numpy/usr/bin/f2py
+
+# 	: # Add more f2py files
+# 	for v in $(cdbs_python_build_versions); do \
+# 	  mkdir -p debian/python-numpy/usr/lib/python$$v/site-packages/numpy/f2py/src; \
+# 	  cp -p numpy/f2py/src/fortranobject.? \
+# 	    debian/python-numpy/usr/lib/python$$v/site-packages/numpy/f2py/src/; \
+# 	done
+
+	: # Replace all '#!' calls to python with python
+	: # and make them 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
+
+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
+
+binary-fixup/python-numpy-ext::
+	dh_pycentral -p$(cdbs_curpkg)
+	dh_python -p$(cdbs_curpkg)
+
+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
+


Property changes on: packages/numpy/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Python-modules-commits mailing list