1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
export PYBUILD_NAME := simpleeval
# disabling failing test for python3.2, when building
# for wheezy backports
# https://github.com/danthedeckie/simpleeval/issues/6
export PYBUILD_DISABLE_python3.2=test
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_clean:
rm -rf $(PACKAGE_NAME).egg-info
rm -rf PKG-INFO
dh_auto_clean
override_dh_install:
dh_install
# Copy the test suite to a decent location
mkdir -p debian/python3-simpleeval/usr/share/python3-simpleeval
cp test_simpleeval.py debian/python3-simpleeval/usr/share/python3-simpleeval
|