Your message dated Mon, 10 Jun 2013 21:50:49 +0000
with message-id <[email protected]>
and subject line Bug#705346: fixed in python-numpy 1:1.7.1-2
has caused the Debian Bug report #705346,
regarding python-numpy: abi tag symlink wrong with python3.3
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.)


-- 
705346: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705346
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-numpy
Version: 1:1.7.1-1
Severity: important
Tags: experimental patch

the abi tags changed in python3.3 (u is not needed anymore).
Numpy hardcodes the tags in debian rules:87

        set -e; for i in $(PY3VERS); do \
        [ -d $(CURDIR)/debian/python3-numpy/usr/include/python$${i}mu ] || \
                mkdir -p
$(CURDIR)/debian/python3-numpy/usr/include/python$${i}mu; \
                dh_link -ppython3-numpy
usr/lib/python3/dist-packages/numpy/core/include/numpy
usr/include/python$${i}mu/numpy; \
        done

...
Also python-numpy includes a symlink pythonX.Y_d folder which should be
in python-numpy-dbg

Please consider attached patch which should fix both issues.
diff -Nru python-numpy-1.7.1/debian/control python-numpy-1.7.1/debian/control
--- python-numpy-1.7.1/debian/control	2013-03-03 15:39:47.000000000 +0100
+++ python-numpy-1.7.1/debian/control	2013-04-13 13:54:44.000000000 +0200
@@ -31,6 +31,8 @@
 Section: debug
 Architecture: any
 Depends: python-numpy (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
+Breaks: python-numpy (<< 1:1.7.1-1)
+Replaces: python-numpy (<< 1:1.7.1-1)
 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
@@ -65,6 +67,8 @@
 Section: debug
 Architecture: any
 Depends: python3-numpy (= ${binary:Version}), python3-dbg, ${shlibs:Depends}, ${misc:Depends}
+Breaks: python3-numpy (<< 1:1.7.1-1)
+Replaces: python3-numpy (<< 1:1.7.1-1)
 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
diff -Nru python-numpy-1.7.1/debian/rules python-numpy-1.7.1/debian/rules
--- python-numpy-1.7.1/debian/rules	2013-03-03 15:39:47.000000000 +0100
+++ python-numpy-1.7.1/debian/rules	2013-04-13 13:20:17.000000000 +0200
@@ -82,18 +82,20 @@
 	set -e; for i in $(PY2VERS); 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/lib/pymodules/python$$i/numpy/core/include/numpy usr/include/python$${i}_d/numpy; \
+		dh_link -ppython-numpy-dbg usr/lib/pymodules/python$$i/numpy/core/include/numpy usr/include/python$${i}_d/numpy; \
 	done
 	# Python 3
 	set -e; for i in $(PY3VERS); do \
-	[ -d $(CURDIR)/debian/python3-numpy/usr/include/python$${i}mu ] || \
-		mkdir -p $(CURDIR)/debian/python3-numpy/usr/include/python$${i}mu; \
-		dh_link -ppython3-numpy usr/lib/python3/dist-packages/numpy/core/include/numpy usr/include/python$${i}mu/numpy; \
+	ABITAG=`python$$i -c "import sys; print(sys.abiflags)"`; \
+	[ -d $(CURDIR)/debian/python3-numpy/usr/include/python$$i$$ABITAG ] || \
+		mkdir -p $(CURDIR)/debian/python3-numpy/usr/include/python$$i$$ABITAG; \
+		dh_link -ppython3-numpy usr/lib/python3/dist-packages/numpy/core/include/numpy usr/include/python$$i$$ABITAG/numpy; \
 	done
 	set -e; for i in $(PY3VERS); do \
-	[ -d $(CURDIR)/debian/python3-numpy/usr/include/python$${i}dmu ] || \
-		mkdir -p $(CURDIR)/debian/python3-numpy/usr/include/python$${i}dmu; \
-		dh_link -ppython3-numpy usr/lib/python3/dist-packages/numpy/core/include/numpy/ usr/include/python$${i}dmu/numpy; \
+	ABITAG=`python$$i-dbg -c "import sys; print(sys.abiflags)"`; \
+	[ -d $(CURDIR)/debian/python3-numpy-dbg/usr/include/python$${i}$$ABITAG ] || \
+		mkdir -p $(CURDIR)/debian/python3-numpy-dbg/usr/include/python$${i}$$ABITAG; \
+		dh_link -ppython3-numpy-dbg usr/lib/python3/dist-packages/numpy/core/include/numpy/ usr/include/python$${i}$$ABITAG/numpy; \
 	done
 
 	# share -dbg and normal package doc dirs

--- End Message ---
--- Begin Message ---
Source: python-numpy
Source-Version: 1:1.7.1-2

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

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.
Sandro Tosi <[email protected]> (supplier of updated python-numpy 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: SHA1

Format: 1.8
Date: Mon, 10 Jun 2013 20:27:13 +0200
Source: python-numpy
Binary: python-numpy python-numpy-dbg python3-numpy python3-numpy-dbg 
python-numpy-doc
Architecture: source amd64 all
Version: 1:1.7.1-2
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Sandro Tosi <[email protected]>
Description: 
 python-numpy - Numerical Python adds a fast array facility to the Python 
languag
 python-numpy-dbg - Fast array facility to the Python language (debug extension)
 python-numpy-doc - NumPy documentation
 python3-numpy - Numerical Python adds a fast array facility to the Python 
languag
 python3-numpy-dbg - Fast array facility to the Python language (debug 
extension)
Closes: 705346 707461
Changes: 
 python-numpy (1:1.7.1-2) unstable; urgency=low
 .
   [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.
 .
   [ Scott Kitterman ]
   * In debian/rules, use python abiflags to find include directories for both
     python3.2 and python3.3 (mu/dmu versus m/dm); thanks to Julian Taylor for
     the report and patch; Closes: #705346
 .
   [ Sandro Tosi ]
   * upload to unstable; that implicitly supports Python 3.3; thanks to Lucas
     Nussbaum for the report; Closes: #707461
Checksums-Sha1: 
 026230bc86f51c2ddd2ed4030880cd4ea9f2003d 1847 python-numpy_1.7.1-2.dsc
 bf6dcd876a2d2b1dd627cbb4c343a5fec3b019ef 141027 
python-numpy_1.7.1-2.debian.tar.gz
 e8bbb6493c94da9586eb64543b0cec2fc432dfb6 2012964 python-numpy_1.7.1-2_amd64.deb
 5e5113d5a9e4c45c0e9ff4e29a87be51dc01ff0b 3741816 
python-numpy-dbg_1.7.1-2_amd64.deb
 ee3d383e67cb234f85ea7e1215f17b0c4dd58c0c 2799742 
python3-numpy_1.7.1-2_amd64.deb
 3448a7f320ec673e8cc95c34ade7ce99d355006a 9094616 
python3-numpy-dbg_1.7.1-2_amd64.deb
 2e4d0d28286b6ff13a15e89499541727119c3134 5214788 
python-numpy-doc_1.7.1-2_all.deb
Checksums-Sha256: 
 67ea1cad87399c47312b0c19d2744968e9d812d9584ccf2ac8162405b1567c26 1847 
python-numpy_1.7.1-2.dsc
 57a3cc07bef985dbab2d1a885745f7d9fc3dd09d3943b330b29a228987dbd137 141027 
python-numpy_1.7.1-2.debian.tar.gz
 4adc413f98294efed346d3639fd274a837172c7505025030fb9d35b5b67a8705 2012964 
python-numpy_1.7.1-2_amd64.deb
 cdd3d05bc995500cb092d3180259eaaa06dbb8106d56cd32be43f8d2a6d4532c 3741816 
python-numpy-dbg_1.7.1-2_amd64.deb
 356e8ab6a7436c38fae7a7639917861201166548aeac47342327c01347c45b30 2799742 
python3-numpy_1.7.1-2_amd64.deb
 9cdc0fc530b987116e94a4068c87fb95a074c51917136f9da4d5c231e06d3672 9094616 
python3-numpy-dbg_1.7.1-2_amd64.deb
 1ea4d4d0fca047f7396061753ecc0b128520ab85826da1796c2ff0e0eeb676f8 5214788 
python-numpy-doc_1.7.1-2_all.deb
Files: 
 d4d67a8698ef34533bb8d01a115cc786 1847 python optional python-numpy_1.7.1-2.dsc
 d7f499e781564151ef25b92f2019a492 141027 python optional 
python-numpy_1.7.1-2.debian.tar.gz
 3530bb099bd7cbf969f01627541be574 2012964 python optional 
python-numpy_1.7.1-2_amd64.deb
 1d60ff777f546633e7fcda848d67bb22 3741816 debug extra 
python-numpy-dbg_1.7.1-2_amd64.deb
 32bfb16d2fc7953b8cf0a93c957f4ba5 2799742 python optional 
python3-numpy_1.7.1-2_amd64.deb
 7111c2388b3e2ae8cfe6344a76633ece 9094616 debug extra 
python3-numpy-dbg_1.7.1-2_amd64.deb
 a2578a6248d46bc50905a9259e9b1e02 5214788 doc optional 
python-numpy-doc_1.7.1-2_all.deb

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

iEYEARECAAYFAlG2I2IACgkQAukwV0RN2VAncwCdEgGNWHRR/B+n4s+HH6PR64yR
cTwAmQG+UtiTuZBNji0E1XG0jBZ1Dlk7
=zhXw
-----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