Jérôme Rapinat
2013-12-04 12:24:30 +01:00
parent a038cc0432
commit 5c8781dc86
3 changed files with 15 additions and 9 deletions

12
debian/rules vendored
View File

@@ -2,10 +2,10 @@
# Remember to remove verbose option once testing is finished
DH_VERBOSE=1
export PYBUILD_NAME=gramps
export PYBUILD_NAME=python-gramps
%:
dh $@ --with python --buildsystem=pybuild
dh $@ --with python2
# Override auto test because upstream do not use the standard unittest discover
override_dh_auto_test:
@@ -16,10 +16,10 @@ override_dh_auto_build:
# Override of auto_install to force python 3
override_dh_auto_install:
python setup.py install --root=debian/gramps --install-layout=deb
python setup.py install --root=debian/python-gramps --install-layout=deb
# Remove duplicate copyright information
rm debian/gramps/usr/share/doc/gramps/COPYING
rm debian/python-gramps/usr/share/doc/gramps/COPYING
# Remove install file as it is not needed by package users
rm debian/gramps/usr/share/doc/gramps/INSTALL
rm debian/python-gramps/usr/share/doc/gramps/INSTALL
# Remove duplicate license information
rm debian/gramps/usr/share/doc/gramps/LICENSE
rm debian/python-gramps/usr/share/doc/gramps/LICENSE