[Python-modules-commits] r25353 - in packages/pycxx/trunk/debian (changelog rules)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Fri Aug 2 17:25:47 UTC 2013


    Date: Friday, August 2, 2013 @ 17:25:46
  Author: jtaylor-guest
Revision: 25353

fix debug abi flag for the python include folder

Modified:
  packages/pycxx/trunk/debian/changelog
  packages/pycxx/trunk/debian/rules

Modified: packages/pycxx/trunk/debian/changelog
===================================================================
--- packages/pycxx/trunk/debian/changelog	2013-08-02 17:25:42 UTC (rev 25352)
+++ packages/pycxx/trunk/debian/changelog	2013-08-02 17:25:46 UTC (rev 25353)
@@ -1,4 +1,4 @@
-pycxx (6.2.4-4) UNRELEASED; urgency=low
+pycxx (6.2.4-4) unstable; urgency=low
 
   [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.

Modified: packages/pycxx/trunk/debian/rules
===================================================================
--- packages/pycxx/trunk/debian/rules	2013-08-02 17:25:42 UTC (rev 25352)
+++ packages/pycxx/trunk/debian/rules	2013-08-02 17:25:46 UTC (rev 25353)
@@ -31,7 +31,8 @@
 	  	$${i} setup.py install --force --root=$(CURDIR)/debian/tmp --no-compile -O0 --install-layout=deb; \
 		2to3 -w -n $(CURDIR)/debian/tmp/usr/lib; \
 		python_inc_dir=$$(readlink -f /usr/include/$$i); \
-		pythond_inc_dir=$$(readlink -f /usr/include/$${i}_d); \
+		abitag=$$($${i}-dbg -c "import sys; print(sys.abiflags)"); \
+		pythond_inc_dir=$$(readlink -f /usr/include/$${i}$${abitag}); \
 		dh_install -ppython3-cxx-dev CXX/*.hxx        $${python_inc_dir}/CXX/; \
 		dh_install -ppython3-cxx-dev CXX/*.h          $${python_inc_dir}/CXX/; \
 		dh_install -ppython3-cxx-dev CXX/Python3/*    $${python_inc_dir}/CXX/Python3; \




More information about the Python-modules-commits mailing list