python2 for python-gramps-4.0.x; python3 for python-gramps-4.1.x
This commit is contained in:
6
debian/rules
vendored
6
debian/rules
vendored
@@ -5,18 +5,18 @@ DH_VERBOSE=1
|
||||
export PYBUILD_NAME=gramps
|
||||
|
||||
%:
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
||||
dh $@ --with python --buildsystem=pybuild
|
||||
|
||||
# Override auto test because upstream do not use the standard unittest discover
|
||||
override_dh_auto_test:
|
||||
|
||||
# Override of auto_build to force python 3
|
||||
override_dh_auto_build:
|
||||
python3 setup.py build
|
||||
python setup.py build
|
||||
|
||||
# Override of auto_install to force python 3
|
||||
override_dh_auto_install:
|
||||
python3 setup.py install --root=debian/gramps --install-layout=deb
|
||||
python setup.py install --root=debian/gramps --install-layout=deb
|
||||
# Remove duplicate copyright information
|
||||
rm debian/gramps/usr/share/doc/gramps/COPYING
|
||||
# Remove install file as it is not needed by package users
|
||||
|
Reference in New Issue
Block a user