Your message dated Mon, 23 Apr 2012 17:34:50 +0000
with message-id <[email protected]>
and subject line Bug#664785: fixed in python-scipy 0.10.1+dfsg1-3
has caused the Debian Bug report #664785,
regarding please add python3 packages
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
664785: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664785
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-scipy
Version: 0.9.0+dfsg1-1
Severity: normal
Tags: patch

scipy supports python3 since 0.9.0, now that we have py3 numpy in
experimental please also add packages for scipy.
Attached a patch that should do it.
diff -Nru python-scipy-0.9.0+dfsg1/debian/changelog 
python-scipy-0.9.0+dfsg1/debian/changelog
--- python-scipy-0.9.0+dfsg1/debian/changelog   2011-04-07 03:32:21.000000000 
+0200
+++ python-scipy-0.9.0+dfsg1/debian/changelog   2012-03-20 21:25:47.000000000 
+0100
@@ -1,3 +1,9 @@
+python-scipy (0.9.0+dfsg1-2) UNRELEASED; urgency=low
+
+  * add python3 packages
+
+ -- Julian Taylor <[email protected]>  Tue, 20 Mar 2012 19:39:57 
+0100
+
 python-scipy (0.9.0+dfsg1-1) unstable; urgency=low
 
   * New upstream release (Closes: #614407, #579041, #569008)
diff -Nru python-scipy-0.9.0+dfsg1/debian/control 
python-scipy-0.9.0+dfsg1/debian/control
--- python-scipy-0.9.0+dfsg1/debian/control     2011-04-07 03:32:21.000000000 
+0200
+++ python-scipy-0.9.0+dfsg1/debian/control     2012-03-20 20:36:57.000000000 
+0100
@@ -6,8 +6,9 @@
 Build-Depends: debhelper (>= 7.0.50~), python-all-dev (>= 2.6.6-3~),
  python-all-dbg (>= 2.5.4-1~), python-numpy (>= 1:1.5.1), python-numpy-dbg (>= 
1:1.5.1),
  gfortran, sharutils, swig, libsuitesparse-dev (>= 3.1.0-3),
- libblas-dev | libatlas-base-dev, liblapack-dev | libatlas-base-dev
+ libblas-dev | libatlas-base-dev, liblapack-dev | libatlas-base-dev, 
python3-all-dev, python3-all-dbg, python3-numpy (>= 1:1.6.1), python3-numpy-dbg 
(>= 1:1.6.1)
 X-Python-Version: >= 2.4
+X-Python3-Version: >= 3.1
 Standards-Version: 3.9.1
 Homepage: http://www.scipy.org/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/scipy/trunk
@@ -31,6 +32,23 @@
  programming tools, an expression-to-C++ compiler for fast execution, and
  others.
 
+Package: python3-scipy
+Architecture: any
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Recommends: g++ | c++-compiler
+Description: scientific tools for Python3
+ SciPy supplements the popular NumPy module (python-numpy package), gathering a
+ variety of high level science and engineering modules together as a single
+ package.
+ .
+ SciPy is a set of Open Source scientific and numeric tools for Python. It
+ currently supports special functions, integration, ordinary differential
+ equation (ODE) solvers, gradient optimization, genetic algorithms, parallel
+ programming tools, an expression-to-C++ compiler for fast execution, and
+ others.
+ .
+ This package provides the Python3 version.
+
 Package: python-scipy-dbg
 Section: debug
 Architecture: any
@@ -47,3 +65,20 @@
  others.
  .
  This package provides debugging symbols for python-scipy.
+
+Package: python3-scipy-dbg
+Section: debug
+Architecture: any
+Depends: ${python3:Depends}, python3-dbg, ${shlibs:Depends}, ${misc:Depends}, 
python3-scipy (= ${binary:Version}), python3-numpy-dbg (>= 1:1.6.1)
+Description: scientific tools for Python3 - debugging symbols
+ SciPy supplements the popular NumPy module (python-numpy package), gathering a
+ variety of high level science and engineering modules together as a single
+ package.
+ .
+ SciPy is a set of Open Source scientific and numeric tools for Python. It
+ currently supports special functions, integration, ordinary differential
+ equation (ODE) solvers, gradient optimization, genetic algorithms, parallel
+ programming tools, an expression-to-C++ compiler for fast execution, and
+ others.
+ .
+ This package provides debugging symbols for python3-scipy.
diff -Nru python-scipy-0.9.0+dfsg1/debian/rules 
python-scipy-0.9.0+dfsg1/debian/rules
--- python-scipy-0.9.0+dfsg1/debian/rules       2011-04-07 03:32:21.000000000 
+0200
+++ python-scipy-0.9.0+dfsg1/debian/rules       2012-03-20 21:33:10.000000000 
+0100
@@ -4,20 +4,21 @@
 export FFLAGS="-fPIC"
 export ATLAS=None
 
-PYVERS:= $(shell pyversions -v -r debian/control)
+PY2VERS:= $(shell pyversions -v -r debian/control)
+PY3VERS:= $(shell py3versions -v -r debian/control)
 BASE=$(shell pwd)/debian
 DVER=$(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | sed 
's/-[^-]*$$//')
 UVER=$(shell echo $(DVER) | sed "s/+dfsg.*//g")
 
 %:
-       dh --with python2 $@
+       dh $@ --with python2,python3
 
 override_dh_auto_clean:
        rm -rf build
        find . -name "*.pyc" -exec rm {} \;
 
 override_dh_auto_install:
-       set -e; for v in $(PYVERS); do                                   \
+       set -e; for v in $(PY2VERS); do                                   \
                d=$(BASE)/python-scipy;                                  \
                mkdir -m 755 -p $$d/usr/share/doc/python-scipy;          \
                python$$v setup.py config_fc --noarch build;             \
@@ -26,7 +27,16 @@
                rm -f $$d/usr/lib/python$$v/*-packages/scipy/LICENSE.txt;\
                python$$v setup.py clean --all;                          \
        done
-       set -e; for v in $(PYVERS); do                                   \
+       set -e; for v in $(PY3VERS); do                                   \
+               d=$(BASE)/python3-scipy;                                  \
+               mkdir -m 755 -p $$d/usr/share/doc/python3-scipy;          \
+               python$$v setup.py config_fc --noarch build;             \
+               python$$v setup.py install --prefix $$d/usr              \
+                       --no-compile --install-layout=deb;               \
+               rm -f $$d/usr/lib/python/*-packages/scipy/LICENSE.txt;\
+               python$$v setup.py clean --all;                          \
+       done
+       set -e; for v in $(PY2VERS); do                                   \
                d=$(BASE)/python-scipy-dbg;                              \
                mkdir -m 755 -p $$d/usr/share/doc/python-scipy-dbg;      \
                CFLAGS="-g -ggdb" python$$v-dbg setup.py config_fc       \
@@ -36,10 +46,24 @@
                rm -f $$d/usr/lib/python$$v/*-packages/scipy/LICENSE.txt;\
                python$$v-dbg setup.py clean --all;                      \
        done
+       set -e; for v in $(PY3VERS); do                                   \
+               d=$(BASE)/python3-scipy-dbg;                              \
+               mkdir -m 755 -p $$d/usr/share/doc/python3-scipy-dbg;      \
+               CFLAGS="-g -ggdb" python$$v-dbg setup.py config_fc       \
+                                       --noarch build;                  \
+               python$$v-dbg setup.py install --prefix $$d/usr          \
+                       --no-compile --install-layout=deb;               \
+               rm -f $$d/usr/lib/python/*-packages/scipy/LICENSE.txt;\
+               python$$v-dbg setup.py clean --all;                      \
+       done
        find debian/python-scipy-dbg ! -type d ! -name '*_d.so' | xargs rm -f
+       find debian/python3-scipy-dbg ! -type d ! -name '*_d.so' | xargs rm -f
        find debian/python-scipy-dbg -depth -empty -exec rmdir {} \;
+       find debian/python3-scipy-dbg -depth -empty -exec rmdir {} \;
        rm -fr 
$(BASE)/python-scipy*/usr/lib/python*/*-packages/scipy/weave/examples/
 
+       # not ported to py3 in 0.9.0
+       rm -rf 
$(BASE)/debian/python3-scipy/usr/lib/python3/dist-packages/scipy/weave
         #call dh_numpy
        dh_numpy
 
@@ -52,9 +76,14 @@
        done
        sed -i '1s|.|#!/usr/bin/python\n&|' 
$(BASE)/python-scipy//usr/share/pyshared/scipy/cluster/tests/vq_test.py
        sed -i '1s|.|#!/usr/bin/python\n&|' 
$(BASE)/python-scipy//usr/share/pyshared/scipy/stats/tests/test_stats.py
+       sed -i '1s|.|#!/usr/bin/python3\n&|' 
$(BASE)/python3-scipy//usr/lib/python3/dist-packages/scipy/cluster/tests/vq_test.py
+       sed -i '1s|.|#!/usr/bin/python3\n&|' 
$(BASE)/python3-scipy//usr/lib/python3/dist-packages/scipy/stats/tests/test_stats.py
+       #replace all the usr/bin/env python
+       find $(BASE)/debian/python3-scipy/usr/lib/python3/ -name "*.py" -type f 
| xargs sed -i -e "1s#usr/bin/env\s\+python\s*\$$#usr/bin/env python3#"
 
 override_dh_strip:
-       dh_strip --dbg-package=python-scipy-dbg
+       dh_strip -ppython-scipy --dbg-package=python-scipy-dbg
+       dh_strip -ppython3-scipy --dbg-package=python3-scipy-dbg
 
 get-orig-source:
        -uscan --force-download --download-version $(UVER) --rename

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: python-scipy
Source-Version: 0.10.1+dfsg1-3

We believe that the bug you reported is fixed in the latest version of
python-scipy, which is due to be installed in the Debian FTP archive:

python-scipy-dbg_0.10.1+dfsg1-3_amd64.deb
  to main/p/python-scipy/python-scipy-dbg_0.10.1+dfsg1-3_amd64.deb
python-scipy_0.10.1+dfsg1-3.debian.tar.gz
  to main/p/python-scipy/python-scipy_0.10.1+dfsg1-3.debian.tar.gz
python-scipy_0.10.1+dfsg1-3.dsc
  to main/p/python-scipy/python-scipy_0.10.1+dfsg1-3.dsc
python-scipy_0.10.1+dfsg1-3_amd64.deb
  to main/p/python-scipy/python-scipy_0.10.1+dfsg1-3_amd64.deb
python3-scipy-dbg_0.10.1+dfsg1-3_amd64.deb
  to main/p/python-scipy/python3-scipy-dbg_0.10.1+dfsg1-3_amd64.deb
python3-scipy_0.10.1+dfsg1-3_amd64.deb
  to main/p/python-scipy/python3-scipy_0.10.1+dfsg1-3_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Taylor <[email protected]> (supplier of updated python-scipy 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 20 Apr 2012 21:59:33 +0200
Source: python-scipy
Binary: python-scipy python3-scipy python-scipy-dbg python3-scipy-dbg
Architecture: source amd64
Version: 0.10.1+dfsg1-3
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Julian Taylor <[email protected]>
Description: 
 python-scipy - scientific tools for Python
 python-scipy-dbg - scientific tools for Python - debugging symbols
 python3-scipy - scientific tools for Python 3
 python3-scipy-dbg - scientific tools for Python 3 - debugging symbols
Closes: 664785
Changes: 
 python-scipy (0.10.1+dfsg1-3) unstable; urgency=low
 .
   * wrap-and-sort debian folder
   * add python3 packages (Closes: #664785)
   * debian/rules:
     - split the build into build and install step
     - use .install files instead of direct setup.py install
Checksums-Sha1: 
 a2c6404b51bf6a670fe079a014a35d5bffd39486 2621 python-scipy_0.10.1+dfsg1-3.dsc
 0aa8a482c59cd6567fefae9e7945f57e5d564c23 11598 
python-scipy_0.10.1+dfsg1-3.debian.tar.gz
 c88d5c3d63c18e8a7cd3818b0d5ddeaf04601a73 11610854 
python-scipy_0.10.1+dfsg1-3_amd64.deb
 bbe69a692401a1e521bec004236078cfaeb8c7e7 6812816 
python3-scipy_0.10.1+dfsg1-3_amd64.deb
 c599ecacc5ee0601991c442377bd7774729465ff 26199604 
python-scipy-dbg_0.10.1+dfsg1-3_amd64.deb
 89fae21ff4071bb533e83a492490c40a2e9966a2 13068006 
python3-scipy-dbg_0.10.1+dfsg1-3_amd64.deb
Checksums-Sha256: 
 6b5af1d99b9f485532d1941b84b7065c82e98b97806eaf34b843d13f0b8f120d 2621 
python-scipy_0.10.1+dfsg1-3.dsc
 9f683fc8580f1843506c1ff9dafee93a6cb4b2d84039757b2ed4cec5383fa794 11598 
python-scipy_0.10.1+dfsg1-3.debian.tar.gz
 cc9a4d12313e11e8c85799ca476b4e78c9ec97a3af86e6e263925a9ee99706ad 11610854 
python-scipy_0.10.1+dfsg1-3_amd64.deb
 599e67e394994c7244c26fb56c3cba731de0235818ea88ee3d3a429285d94f1d 6812816 
python3-scipy_0.10.1+dfsg1-3_amd64.deb
 0a2cb69fb5dcfdbd1f2517bc868baea1d165175a9d54c5de14054afbcd190ab0 26199604 
python-scipy-dbg_0.10.1+dfsg1-3_amd64.deb
 b439bd2cb426ae6f1e04f339f8a17e56325b1c641360d2d03bc98b126c4aaf7e 13068006 
python3-scipy-dbg_0.10.1+dfsg1-3_amd64.deb
Files: 
 5efb3d2c14c6f6bd7a4fe2eaac8b53fc 2621 python extra 
python-scipy_0.10.1+dfsg1-3.dsc
 9ff4a7a855cfc3d837f20f79894c6d51 11598 python extra 
python-scipy_0.10.1+dfsg1-3.debian.tar.gz
 3f40c2838f2cebe36dc38b10c2429ca1 11610854 python extra 
python-scipy_0.10.1+dfsg1-3_amd64.deb
 521b2e4e398db6491841bea503eda6ff 6812816 python extra 
python3-scipy_0.10.1+dfsg1-3_amd64.deb
 f1ad77d060aa716fb5fcf97aea61aaea 26199604 debug extra 
python-scipy-dbg_0.10.1+dfsg1-3_amd64.deb
 a333f796db24644f530a2082a3f8f052 13068006 debug extra 
python3-scipy-dbg_0.10.1+dfsg1-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCgAGBQJPki8uAAoJEHA3PPEpDbnOKCAQAJlKkF0JjGH4gimsywPxHE0F
Z++07rjufADBFJgBApy/VIkGRhK/S6+kmJ1rIYMBHqPPD/7yDzp1V/4dzxWO054N
7VR84POt8YymjGOJUHjQEjTlaH/SmKiPC4F3wgslV54stMUjH2Gv3pwDb+5LTur7
DjFHKWjQZu/y+U4UNmyhaP0aQm2c/SsEt8U4TOpqzh2CHoCasRA2ZFbzuwDXa+Hp
Q6OuqunchxgPxF7LcFLQCHPADi1oawSnShpee3Dva5u6F5o9wdzrHiqAIdAqJFmN
Fcz/6OXuDHvkiyCEZQkMJTF0NrXi+ciRvJvXSmB8Qypcq0Nzm/XtaBWcKvSMYdzd
E5ZVYdL8NwEQ8cdqGBPyWPaKkyOeMaxRNfaCGMl6tmVXPSXgqQBwl9Uc3qT8NW9q
bugwLmgTHRD7Y3kN4wcCXu8epkM3VgBdkcaTwLK8OUzgGz/IY8DvCKA7GMqNASSn
D2z+JT+bZtLo2bwpq0pod9ZIISO9gJLk8QikvxJYorbjhjl/A8jDAMS4hE8OHOBG
xlof0luhFy4RI7pcmbIzivbB23uZgBXk7v3wHtBZDvZgiqm4vHvumpmyKifsBWny
bIdgeJfLnZ493IWsKIgf3Cn3NvlcfLPv0jhUbB01jf0v0xjK6o6TszIm7wQt4gCR
GgvB4WcP7gboDlxYVMHx
=+WzL
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to