| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_NAME=insilicoseq |
| 4 |
|
| 5 |
%: |
| 6 |
LC_ALL=C.UTF-8 dh $@ --buildsystem=pybuild |
| 7 |
|
| 8 |
override_dh_fixperms: |
| 9 |
dh_fixperms |
| 10 |
find debian/ -name read_only.fasta| xargs chmod 0444 |
| 11 |
|
| 12 |
override_dh_auto_test: |
| 13 |
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 14 |
find $(CURDIR) -name read_only.fasta| xargs chmod 0444 |
| 15 |
PYTHONPATH=$(CURDIR) pytest-3 -v iss |
| 16 |
endif |
| 17 |
|
| 18 |
override_dh_installexamples: |
| 19 |
touch -d@$(SOURCE_DATE_EPOCH) data/ |
| 20 |
dh_installexamples |
| 21 |
find debian -name __pycache__ -type d | xargs rm -rf |