1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PYBUILD_NAME=igraph
export PYBUILD_INSTALL_ARGS_python3 := \
--install-headers=/usr/include/python{version}m
%:
rm -f vendor/texttable.py
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_auto_install:
dh_auto_install
rm -f $(CURDIR)/debian/python-igraph/usr/bin/igraph
rmdir $(CURDIR)/debian/python-igraph/usr/bin/
rm -f $(CURDIR)/debian/python3-igraph/usr/bin/igraph
rmdir $(CURDIR)/debian/python3-igraph/usr/bin/
|