← Back to team overview

lttng team mailing list archive

[Merge] lp:~nuclearbob/babeltrace/packaging-daily into lp:~lttng/babeltrace/packaging-daily

 

Max Brustkern has proposed merging lp:~nuclearbob/babeltrace/packaging-daily into lp:~lttng/babeltrace/packaging-daily.

Requested reviews:
  Ubuntu LTTng (lttng)

For more details, see:
https://code.launchpad.net/~nuclearbob/babeltrace/packaging-daily/+merge/217076

These packaging changes are based on Ted Gould's old packaging.  The primary change is the python3 deb helper, which installs the package to dist-packages rather than site-packages.  I also moved environment variables to the place Ted had them.
-- 
https://code.launchpad.net/~nuclearbob/babeltrace/packaging-daily/+merge/217076
Your team Ubuntu LTTng is requested to review the proposed merge of lp:~nuclearbob/babeltrace/packaging-daily into lp:~lttng/babeltrace/packaging-daily.
=== modified file 'rules'
--- rules	2014-03-12 19:58:40 +0000
+++ rules	2014-04-24 15:41:09 +0000
@@ -2,12 +2,14 @@
 # -*- makefile -*-
 
 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
+export PYTHON=/usr/bin/python3
+export PYTHON_CONFIG=/usr/bin/python3-config
+export PYTHON_VERSION=3
+export PYTHON_VERSIONs=python3
 
 %:
-	dh $@ 
+	dh $@ --with python3
 
 override_dh_auto_configure:
 	./bootstrap
-	# Python bindings require Python 3
-	PYTHON="python3" PYTHON_CONFIG="/usr/bin/python3-config" \
 	dh_auto_configure -- --enable-python-bindings


Follow ups