Merge lp:~didrocks/libunity/removepycache into lp:libunity

Proposed by Didier Roche-Tolomelli
Status: Merged
Approved by: Timo Jyrinki
Approved revision: 225
Merged at revision: 224
Proposed branch: lp:~didrocks/libunity/removepycache
Merge into: lp:libunity
Diff against target: 18 lines (+1/-7)
1 file modified
debian/rules (+1/-7)
To merge this branch: bzr merge lp:~didrocks/libunity/removepycache
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Timo Jyrinki Approve
Daniel van Vugt Approve
Review via email: mp+167451@code.launchpad.net

Commit message

Remove generated pycache dirs

Description of the change

Remove generated pycache dirs

To post a comment you must log in.
lp:~didrocks/libunity/removepycache updated
225. By Didier Roche-Tolomelli

better way to handle it

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Looks right to me.

review: Approve
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Looks correct.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/rules'
2--- debian/rules 2013-03-25 11:43:30 +0000
3+++ debian/rules 2013-06-05 05:35:35 +0000
4@@ -19,13 +19,7 @@
5 # install the python3 gir override file as well
6 PYTHON=python3 ./configure --prefix=/usr
7 cd bindings/python/ && DESTDIR=../../debian/tmp make install && cd ../..
8- rm debian/tmp/usr/lib/*/*.*a
9- rm debian/tmp/usr/lib/*/libunity/*.*a
10- rm debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.pyc
11- rm debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.pyo
12- rm debian/tmp/usr/share/unity-scopes/*.pyc
13- rm debian/tmp/usr/share/unity-scopes/*.pyo
14- dh_install --fail-missing
15+ dh_install -X.a -X.la -X.pyc -X.pyo --fail-missing
16
17 override_dh_python3:
18 dh_python3 debian/gir1.2-unity-5.0/usr/lib/python3

Subscribers

People subscribed via source and target branches