File: rules

package info (click to toggle)
python-weblogo 3.7.12-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,700 kB
  • sloc: xml: 14,455; python: 10,327; sh: 140; makefile: 61
file content (21 lines) | stat: -rwxr-xr-x 835 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 = weblogo
export PYBUILD_TEST_ARGS = -k 'not test_transformseq and not test_cli and not test_resources'

%:
	dh $@ --buildsystem pybuild --with python3

override_dh_auto_install:
	dh_auto_install
	find debian/python3-$(PYBUILD_NAME)/usr/lib -name '*.mat' | xargs chmod -x
	rm -rf debian/python3-$(PYBUILD_NAME)/usr/lib/python*/dist-packages/weblogo/htdocs

override_dh_installman:
	PYTHONPATH=. help2man debian/python3-$(PYBUILD_NAME)/usr/bin/weblogo --no-info --name 'create sequence logos from biological sequence alignments' > weblogo.1
	PYTHONPATH=. help2man debian/python3-$(PYBUILD_NAME)/usr/bin/transformseq --no-info --name 'convert multiple sequence alignments from one format to another' > transformseq.1
	dh_installman

override_dh_auto_clean:
	dh_auto_clean
	rm -rf weblogo.egg-info