diff options
author | Andrew Shadura <andrewsh@debian.org> | 2015-08-21 21:06:36 +0200 |
---|---|---|
committer | Andrew Shadura <andrewsh@debian.org> | 2015-08-21 21:51:11 +0200 |
commit | fef9b4532a1a6a03aab82711f52ebde3f2d131d7 (patch) | |
tree | a2dc839d368388f8b6eda5cc0af76fb4031f9061 /debian/rules | |
parent | 5a73ce28856b1663d5afeb252df053e644e54c94 (diff) |
Add Python 3 support.debian/0.4-2.2
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index a5cc653..e37b8f1 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,16 @@ #!/usr/bin/make -f +export PYBUILD_NAME=iniparse + %: - dh $@ --with python2 --buildsystem=python_distutils + dh $@ --with python2,python3 --buildsystem=pybuild override_dh_auto_install: dh_auto_install - rm -fr debian/python-iniparse/usr/share/doc/iniparse-* + rm -fr debian/python*-iniparse/usr/share/doc/iniparse-* + +override_dh_auto_test: + python2 ./runtests.py + python3 ./runtests.py + +.PHONY: override_dh_auto_install override_dh_auto_test |