Merge lp:~thenewme91/microfiber/lp823288 into lp:microfiber

Proposed by Michael Chang
Status: Merged
Merged at revision: 64
Proposed branch: lp:~thenewme91/microfiber/lp823288
Merge into: lp:microfiber
Diff against target: 36 lines (+10/-1)
2 files modified
debian/control (+2/-1)
debian/rules (+8/-0)
To merge this branch: bzr merge lp:~thenewme91/microfiber/lp823288
Reviewer Review Type Date Requested Status
Jason Gerard DeRose Approve
Review via email: mp+71047@code.launchpad.net

Commit message

Update debian/rules to run `./setup.py test` during build (LP: #823288)
Update debian/control to use X-Python-Version and X-Python3-Version instead of XS-Python-Version

Description of the change

Update debian/rules to run `./setup.py test` during build (LP: #823288)
Update debian/control to use X-Python-Version and X-Python3-Version instead of XS-Python-Version

To post a comment you must log in.
Revision history for this message
Jason Gerard DeRose (jderose) wrote :

Awesome, looks great! Thanks!

Thanks for catching the X-Python-Version, X-Python3-Version bit. Looks like I've had that wrong in all the Novacut packages!

Oh, one merge proposal makes sense here as both the change in debian/rules and debian/control were needed to actually make this work.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2011-03-29 19:50:50 +0000
3+++ debian/control 2011-08-10 13:49:10 +0000
4@@ -4,7 +4,8 @@
5 Maintainer: Jason Gerard DeRose <jderose@novacut.com>
6 Build-Depends: debhelper (>= 8.1), python3 (>= 3.2)
7 Standards-Version: 3.9.1
8-XS-Python-Version: >= 3.2
9+X-Python-Version: 3.2
10+X-Python3-Version: 3.2
11 Homepage: https://launchpad.net/microfiber
12
13 Package: python3-microfiber
14
15=== modified file 'debian/rules'
16--- debian/rules 2011-05-11 09:06:25 +0000
17+++ debian/rules 2011-08-10 13:49:10 +0000
18@@ -1,10 +1,18 @@
19 #!/usr/bin/make -f
20+
21+PYTHON3=$(shell py3versions -vr)
22+
23 %:
24 dh $@ --with=python3
25
26+test-python%:
27+ python$* setup.py test -vv
28+
29 override_dh_auto_install:
30 for pyvers in $(shell py3versions -sv); do \
31 python$$pyvers setup.py install \
32 --install-layout=deb \
33 --root $(CURDIR)/debian/python3-microfiber; \
34 done
35+
36+override_dh_auto_test: $(PYTHON3:%=test-python%)

Subscribers

People subscribed via source and target branches

to all changes: