debian/rules
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 17 Jul 2015 16:43:09 +0200
changeset 772 d5be0ab6712c
parent 769 d7388ac617bb
child 782 bf54633e40d5
permissions -rwxr-xr-x
[pkg] fix Debian package dependencies Fix regression introduced by switch to dh_python2: it reads our egg-info/requires.txt to try and guess package dependencies. This generates a broken dependency on nonexistent "python-yapps" (instead of yapps2-runtime) and an unnecessary one on python-logilab-constraint (we use gecode).

#!/usr/bin/make -f

export RQL_FORCE_GECODE=1

%:
	dh $@ --with python2 --buildsystem python_distutils

override_dh_auto_build:
	dh_auto_build
	$(MAKE) -C doc html

override_dh_auto_clean:
	dh_auto_clean
	$(MAKE) -C doc clean

# prevent dh_python2 from generating bogus deps on python-yapps (nonexistent)
# or python-logilab-constraint (unnecessary with gecode)
override_dh_python2:
	dh_python2 --no-guessing-deps