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
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-11-05 20:42:44 +0000
3+++ debian/changelog 2012-11-08 07:39:24 +0000
4@@ -1,7 +1,14 @@
5 dee (1.0.14-0ubuntu2) UNRELEASED; urgency=low
6
7+ [ Michael Terry ]
8 * debian/control:
9 - Update Vcs-Bzr
10+ * debian/rules:
11+ - Update to dh9 and enable tests
12+
13+ [ Didier Roche ]
14+ * debian/rules:
15+ - Call dh_python3 for python3 suppport
16
17 -- Michael Terry <mterry@ubuntu.com> Mon, 05 Nov 2012 15:28:38 -0500
18
19
20=== modified file 'debian/compat'
21--- debian/compat 2010-05-25 15:16:55 +0000
22+++ debian/compat 2012-11-08 07:39:24 +0000
23@@ -1,1 +1,1 @@
24-5
25+9
26
27=== modified file 'debian/control'
28--- debian/control 2012-11-05 20:42:44 +0000
29+++ debian/control 2012-11-08 07:39:24 +0000
30@@ -2,10 +2,12 @@
31 Priority: optional
32 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
33 XSBC-Original-Maintainer: Kartik Mistry <kartik@debian.org>
34-Build-Depends: debhelper (>= 7.0.50),
35+Build-Depends: dbus-test-runner,
36+ debhelper (>= 9),
37 dh-autoreconf,
38 gir1.2-freedesktop,
39 gir1.2-glib-2.0,
40+ gnome-common,
41 gobject-introspection (>= 0.10.2),
42 gtk-doc-tools,
43 libglib2.0-dev (>= 2.26.0),
44@@ -25,6 +27,7 @@
45
46 Package: libdee-1.0-4
47 Architecture: any
48+Pre-Depends: ${misc:Pre-Depends}
49 Depends: ${shlibs:Depends}, ${misc:Depends}
50 Description: model to synchronize mutiple instances over DBus - shared lib
51 libdee is a shared library that provides objects that help
52
53=== modified file 'debian/gir1.2-dee-1.0.install'
54--- debian/gir1.2-dee-1.0.install 2011-12-07 11:35:57 +0000
55+++ debian/gir1.2-dee-1.0.install 2012-11-08 07:39:24 +0000
56@@ -1,2 +1,2 @@
57-debian/tmp/usr/lib/girepository-1.0/
58+debian/tmp/usr/lib/*/girepository-1.0/
59 debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.py
60
61=== modified file 'debian/libdee-1.0-4.install'
62--- debian/libdee-1.0-4.install 2011-12-07 11:35:57 +0000
63+++ debian/libdee-1.0-4.install 2012-11-08 07:39:24 +0000
64@@ -1,1 +1,1 @@
65-debian/tmp/usr/lib/lib*.so.*
66+debian/tmp/usr/lib/*/lib*.so.*
67
68=== modified file 'debian/libdee-dev.install'
69--- debian/libdee-dev.install 2010-11-25 14:26:28 +0000
70+++ debian/libdee-dev.install 2012-11-08 07:39:24 +0000
71@@ -1,5 +1,5 @@
72 debian/tmp/usr/include/*
73-debian/tmp/usr/lib/lib*.so
74-debian/tmp/usr/lib/pkgconfig/*
75+debian/tmp/usr/lib/*/lib*.so
76+debian/tmp/usr/lib/*/pkgconfig/*
77 debian/tmp/usr/share/vala/vapi/*
78 debian/tmp/usr/share/gir-1.0/*
79
80=== modified file 'debian/rules'
81--- debian/rules 2012-07-04 14:14:53 +0000
82+++ debian/rules 2012-11-08 07:39:24 +0000
83@@ -5,7 +5,10 @@
84 #export DH_VERBOSE=1
85
86 %:
87- dh --with python2 --with autoreconf $@
88+ dh $@ --with python2,python3,autoreconf
89+
90+override_dh_autoreconf:
91+ NOCONFIGURE=1 dh_autoreconf ./autogen.sh
92
93 override_dh_auto_configure:
94 dh_auto_configure -- --enable-gtk-doc
95@@ -14,11 +17,16 @@
96 # install the python3 gir override file as well
97 PYTHON=python3 ./configure --prefix=/usr
98 cd bindings/python/ && DESTDIR=../../debian/tmp make install && cd ../..
99- rm debian/tmp/usr/lib/*.la
100+ rm debian/tmp/usr/lib/*/*.la
101 rm debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.pyc
102 rm debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.pyo
103 dh_install --fail-missing
104- dh_python2 -pgir1.2-dee-1.0
105+
106+override_dh_python2:
107+ dh_python2
108+
109+override_dh_python3:
110+ dh_python3 debian/gir1.2-dee-1.0/usr/lib/python3
111
112 override_dh_gencontrol:
113 dh_girepository
114@@ -27,6 +35,4 @@
115 override_dh_strip:
116 dh_strip --dbg-package=libdee-1.0-4-dbg
117
118-override_dh_auto_test:
119-
120 .PHONY: override_dh_strip

Subscribers

People subscribed via source and target branches