File: rules

package info (click to toggle)
pairtools 1.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,284 kB
  • sloc: python: 8,792; sh: 123; makefile: 68; ansic: 31
file content (23 lines) | stat: -rwxr-xr-x 634 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1

export PYBUILD_DESTDIR=debian/python3-pairtools/
export PYBUILD_NAME=pairtools

%:
	dh $@ --with numpy3 --buildsystem=pybuild

execute_after_dh_auto_clean:
	rm -f pairtools/lib/*.c pairtools/lib/regions.cpp

override_dh_auto_test:
	dh_auto_test -- --system=custom --test-args="export CURPY={interpreter}; \
	cd {build_dir} && {interpreter} -m pytest -v -k 'not test_dedup and not test_mock_pysam_parse2_single_end'"

execute_after_dh_auto_install:
	find debian/ -name '*.stats' -delete

override_dh_numpy3:
	dh_numpy3 -p python3-$(PYBUILD_NAME)