File: rules

package info (click to toggle)
insilicoseq 2.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,116 kB
  • sloc: python: 2,240; sh: 35; makefile: 25
file content (21 lines) | stat: -rwxr-xr-x 502 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

export PYBUILD_NAME=insilicoseq

%:
	LC_ALL=C.UTF-8 dh $@ --buildsystem=pybuild

override_dh_fixperms:
	dh_fixperms
	find debian/ -name read_only.fasta| xargs chmod 0444

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	find $(CURDIR) -name read_only.fasta| xargs chmod 0444
	PYTHONPATH=$(CURDIR) pytest-3 -v iss
endif

override_dh_installexamples:
	touch -d@$(SOURCE_DATE_EPOCH) data/
	dh_installexamples
	find debian -name __pycache__ -type d | xargs rm -rf