File: rules

package info (click to toggle)
htseq 2.0.9%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 103,476 kB
  • sloc: python: 6,280; sh: 211; cpp: 147; makefile: 80
file content (26 lines) | stat: -rwxr-xr-x 551 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
22
23
24
25
26
#!/usr/bin/make -f

export PYBUILD_NAME=htseq

# see https://wiki.debian.org/Python/LibraryStyleGuide
export http_proxy=http://127.0.9.1:9

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

# for setup.py
export CYTHON=cython3

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_clean:
	dh_auto_clean
	# setup.py creates some symlinks in clean target
	# remove these links to keep source tree clean
	for link in 'src' 'HTSeq' 'doc' 'scripts' 'test' ; do \
	  if [ -L $${link} ] ; then rm $${link} ; fi \
	done

override_dh_python3:
	dh_python3
	dh_numpy3