The following commit has been merged in the master branch:
commit 593f29b27198c971952410f8a350d44bc0d48a60
Author: Antonio Valentino <antonio.valent...@tiscali.it>
Date:   Sun May 12 19:15:55 2013 +0200

    Fix installation of debug estensions for Python 3.3 (Closes: #708011)

diff --git a/debian/changelog b/debian/changelog
index a871a81..a3595a8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pyepr (0.6.1-3) UNRELEASED; urgency=low
 
   * Call dh_numpy3
   * Preserve the original changelog name  
+  * Fix installation of debug estensions for Python 3.3 (Closes: #708011)
 
  -- Antonio Valentino <antonio.valent...@tiscali.it>  Sun, 21 Oct 2012 
12:29:06 +0200
 
diff --git a/debian/rules b/debian/rules
index f40df21..02a3855 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+# Get the supported Python versions
 #PY2VERS=$(shell pyversions -vr)
 PY3VERS=$(shell py3versions -vr)
 
@@ -21,7 +22,7 @@ build-python%:
        python$*-dbg setup.py build
 
 
-override_dh_auto_build: $(PYTHON3:%=build-python%)
+override_dh_auto_build: $(PY3VERS:%=build-python%)
        dh_auto_build
 
 
@@ -50,11 +51,11 @@ override_dh_auto_test:
 override_dh_install:
        # Install everything excluding the *_d.so debug extensions to python-epr
        dh_install -X"*_d.so" "debian/tmp/usr/lib/python2*" -p python-epr
-       dh_install -X"*dmu.so" "debian/tmp/usr/lib/python3*" -p python3-epr
+       dh_install -X"*dmu.so" -X"*dm.so" "debian/tmp/usr/lib/python3*" -p 
python3-epr
 
        # Install the debug extensions to python-epr-dbg
        dh_install "debian/tmp/usr/lib/python2*/*-packages/*_d.so" -p 
python-epr-dbg
-       dh_install "debian/tmp/usr/lib/python3*/*-packages/*dmu.so" -p 
python3-epr-dbg
+       dh_install "debian/tmp/usr/lib/python3*/*-packages/*.cpython-??dm*.so" 
-p python3-epr-dbg
 
        # Continue with regular dh_install
        dh_install

-- 
Python ENVISAT Product Reader API

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to