| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_NAME=htseq |
| 4 |
|
| 5 |
# see https://wiki.debian.org/Python/LibraryStyleGuide |
| 6 |
export http_proxy=http://127.0.9.1:9 |
| 7 |
|
| 8 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 9 |
|
| 10 |
# for setup.py |
| 11 |
export CYTHON=cython3 |
| 12 |
|
| 13 |
%: |
| 14 |
dh $@ --buildsystem=pybuild |
| 15 |
|
| 16 |
override_dh_auto_clean: |
| 17 |
dh_auto_clean |
| 18 |
# setup.py creates some symlinks in clean target |
| 19 |
# remove these links to keep source tree clean |
| 20 |
for link in 'src' 'HTSeq' 'doc' 'scripts' 'test' ; do \ |
| 21 |
if [ -L $${link} ] ; then rm $${link} ; fi \ |
| 22 |
done |
| 23 |
|
| 24 |
override_dh_python3: |
| 25 |
dh_python3 |
| 26 |
dh_numpy3 |