dee

Merge lp:~didrocks/dee/add_python_3 into lp:dee

Proposed by Didier Roche-Tolomelli
Status: Superseded
Proposed branch: lp:~didrocks/dee/add_python_3
Merge into: lp:dee
Diff against target: 120 lines (+27/-11)
7 files modified
debian/changelog (+7/-0)
debian/compat (+1/-1)
debian/control (+4/-1)
debian/gir1.2-dee-1.0.install (+1/-1)
debian/libdee-1.0-4.install (+1/-1)
debian/libdee-dev.install (+2/-2)
debian/rules (+11/-5)
To merge this branch: bzr merge lp:~didrocks/dee/add_python_3
Reviewer Review Type Date Requested Status
Unity Team Pending
Review via email: mp+133416@code.launchpad.net

This proposal has been superseded by a proposal from 2012-11-08.

Commit message

Use dh_python3 for python3 files, in addition of dh_python2 for python2 ones.

Description of the change

Have the python3 files really processed with dh_python3 instead of dh_python2
I tried to remove the already existing dh_python2 -pgir1.2-dee-1.0
W: dh_python2:334: Python 3.x location detected, please use dh_python3: debian/gir1.2-dee-1.0/usr/lib/python3

Unfortunately, if we try to use dh_python2 debian/gir1.2-dee-1.0/usr/lib/python2.7, the pyshared and overriden directories are not created.
(explicit in dh_python2 code if a path is provided). Also, -X ".*python3.*" doesn't work. So living with the warning for now.

To post a comment you must log in.
Revision history for this message
Michael Terry (mterry) wrote :

Looks like you forgot to set the pre-requisite branch, so your changes appear with mine.

lp:~didrocks/dee/add_python_3 updated
383. By Didier Roche-Tolomelli

remove empty override

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2012-11-05 20:42:44 +0000
+++ debian/changelog 2012-11-08 07:39:24 +0000
@@ -1,7 +1,14 @@
1dee (1.0.14-0ubuntu2) UNRELEASED; urgency=low1dee (1.0.14-0ubuntu2) UNRELEASED; urgency=low
22
3 [ Michael Terry ]
3 * debian/control:4 * debian/control:
4 - Update Vcs-Bzr5 - Update Vcs-Bzr
6 * debian/rules:
7 - Update to dh9 and enable tests
8
9 [ Didier Roche ]
10 * debian/rules:
11 - Call dh_python3 for python3 suppport
512
6 -- Michael Terry <mterry@ubuntu.com> Mon, 05 Nov 2012 15:28:38 -050013 -- Michael Terry <mterry@ubuntu.com> Mon, 05 Nov 2012 15:28:38 -0500
714
815
=== modified file 'debian/compat'
--- debian/compat 2010-05-25 15:16:55 +0000
+++ debian/compat 2012-11-08 07:39:24 +0000
@@ -1,1 +1,1 @@
1519
22
=== modified file 'debian/control'
--- debian/control 2012-11-05 20:42:44 +0000
+++ debian/control 2012-11-08 07:39:24 +0000
@@ -2,10 +2,12 @@
2Priority: optional2Priority: optional
3Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>3Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
4XSBC-Original-Maintainer: Kartik Mistry <kartik@debian.org>4XSBC-Original-Maintainer: Kartik Mistry <kartik@debian.org>
5Build-Depends: debhelper (>= 7.0.50),5Build-Depends: dbus-test-runner,
6 debhelper (>= 9),
6 dh-autoreconf,7 dh-autoreconf,
7 gir1.2-freedesktop,8 gir1.2-freedesktop,
8 gir1.2-glib-2.0,9 gir1.2-glib-2.0,
10 gnome-common,
9 gobject-introspection (>= 0.10.2),11 gobject-introspection (>= 0.10.2),
10 gtk-doc-tools,12 gtk-doc-tools,
11 libglib2.0-dev (>= 2.26.0),13 libglib2.0-dev (>= 2.26.0),
@@ -25,6 +27,7 @@
2527
26Package: libdee-1.0-428Package: libdee-1.0-4
27Architecture: any29Architecture: any
30Pre-Depends: ${misc:Pre-Depends}
28Depends: ${shlibs:Depends}, ${misc:Depends}31Depends: ${shlibs:Depends}, ${misc:Depends}
29Description: model to synchronize mutiple instances over DBus - shared lib32Description: model to synchronize mutiple instances over DBus - shared lib
30 libdee is a shared library that provides objects that help33 libdee is a shared library that provides objects that help
3134
=== modified file 'debian/gir1.2-dee-1.0.install'
--- debian/gir1.2-dee-1.0.install 2011-12-07 11:35:57 +0000
+++ debian/gir1.2-dee-1.0.install 2012-11-08 07:39:24 +0000
@@ -1,2 +1,2 @@
1debian/tmp/usr/lib/girepository-1.0/1debian/tmp/usr/lib/*/girepository-1.0/
2debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.py2debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.py
33
=== modified file 'debian/libdee-1.0-4.install'
--- debian/libdee-1.0-4.install 2011-12-07 11:35:57 +0000
+++ debian/libdee-1.0-4.install 2012-11-08 07:39:24 +0000
@@ -1,1 +1,1 @@
1debian/tmp/usr/lib/lib*.so.*1debian/tmp/usr/lib/*/lib*.so.*
22
=== modified file 'debian/libdee-dev.install'
--- debian/libdee-dev.install 2010-11-25 14:26:28 +0000
+++ debian/libdee-dev.install 2012-11-08 07:39:24 +0000
@@ -1,5 +1,5 @@
1debian/tmp/usr/include/*1debian/tmp/usr/include/*
2debian/tmp/usr/lib/lib*.so2debian/tmp/usr/lib/*/lib*.so
3debian/tmp/usr/lib/pkgconfig/*3debian/tmp/usr/lib/*/pkgconfig/*
4debian/tmp/usr/share/vala/vapi/*4debian/tmp/usr/share/vala/vapi/*
5debian/tmp/usr/share/gir-1.0/*5debian/tmp/usr/share/gir-1.0/*
66
=== modified file 'debian/rules'
--- debian/rules 2012-07-04 14:14:53 +0000
+++ debian/rules 2012-11-08 07:39:24 +0000
@@ -5,7 +5,10 @@
5#export DH_VERBOSE=15#export DH_VERBOSE=1
66
7%:7%:
8 dh --with python2 --with autoreconf $@8 dh $@ --with python2,python3,autoreconf
9
10override_dh_autoreconf:
11 NOCONFIGURE=1 dh_autoreconf ./autogen.sh
912
10override_dh_auto_configure:13override_dh_auto_configure:
11 dh_auto_configure -- --enable-gtk-doc14 dh_auto_configure -- --enable-gtk-doc
@@ -14,11 +17,16 @@
14 # install the python3 gir override file as well17 # install the python3 gir override file as well
15 PYTHON=python3 ./configure --prefix=/usr18 PYTHON=python3 ./configure --prefix=/usr
16 cd bindings/python/ && DESTDIR=../../debian/tmp make install && cd ../..19 cd bindings/python/ && DESTDIR=../../debian/tmp make install && cd ../..
17 rm debian/tmp/usr/lib/*.la20 rm debian/tmp/usr/lib/*/*.la
18 rm debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.pyc21 rm debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.pyc
19 rm debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.pyo22 rm debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.pyo
20 dh_install --fail-missing23 dh_install --fail-missing
21 dh_python2 -pgir1.2-dee-1.024
25override_dh_python2:
26 dh_python2
27
28override_dh_python3:
29 dh_python3 debian/gir1.2-dee-1.0/usr/lib/python3
2230
23override_dh_gencontrol:31override_dh_gencontrol:
24 dh_girepository32 dh_girepository
@@ -27,6 +35,4 @@
27override_dh_strip:35override_dh_strip:
28 dh_strip --dbg-package=libdee-1.0-4-dbg36 dh_strip --dbg-package=libdee-1.0-4-dbg
2937
30override_dh_auto_test:
31
32.PHONY: override_dh_strip38.PHONY: override_dh_strip

Subscribers

People subscribed via source and target branches