Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/default.mk
4
5 export PYBUILD_NAMEscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/PYBUILD_NAME.=pysam
6 export LC_ALLscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/LC_ALL. = C.UTF-8
7
8 export DEB_BUILD_MAINT_OPTIONSscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/DEB_BUILD_MAINT_OPTIONS. = hardening=+all
9
10 TESTPKGscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/TESTPKG. := $(DEB_SOURCEscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/DEB_SOURCE.)-tests
11
12 export HTSLIB_MODEscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/HTSLIB_MODE.=external
13 HTSLIBDIRscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/HTSLIBDIR. := /usr/lib/$(DEB_HOST_MULTIARCHscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/DEB_HOST_MULTIARCH.)
14 export HTSLIB_LIBRARY_DIRscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/HTSLIB_LIBRARY_DIR.=$(HTSLIBDIRscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/HTSLIBDIR.)
15 export HTSLIB_INCLUDE_DIRscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/HTSLIB_INCLUDE_DIR.=/usr/include
16
17 # unfortunately this does not work - any hint to fix this would be really welcome
18 #export PYBUILD_TEST_ARGS_python3=-k-XTestRemoteFileHTTP -k-XTestRemoteFileHTTPWithHeader
19
20 cleanscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/clean().: clean-tests
21 %scip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/`%`().:
22 dh $@ --buildsystem=pybuild
23
24 override_dh_installscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/override_dh_install().: clean-tests
25 dh_installscip-debian debian debhelper . dh_install(). -Xtest.gtf.gz
26 find debian -name log.txt -delete
27 find debian -name LICENSE -delete
28
29 ifeq (,$(findstringscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/findstring. nocheck, $(DEB_BUILD_OPTIONSscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/DEB_BUILD_OPTIONS.)))
30 override_dh_auto_testscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/override_dh_auto_test().: pysam_data.all cbcf_data.all
31 dh_auto_testscip-debian debian debhelper . dh_auto_test().
32 else
33 override_dh_auto_testscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/override_dh_auto_test().:
34 endif
35
36 override_dh_auto_cleanscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/override_dh_auto_clean().:
37 dh_auto_cleanscip-debian debian debhelper . dh_auto_clean().
38 $(RMscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/RM.) \
39 pysam/config.py \
40 pysam/config.h \
41 pysam/lib*.c \
42 samtools/config.h \
43 bcftools/config.h
44 rm -rf pysam.egg-info
45
46 .PHONYscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/`.PHONY`().: pysam_data.% cbcf_data.%
47 cbcf_data.%scip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/`cbcf_data.%`().:
48 cd tests/$(basename $@) && $(MAKEscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/MAKE.) $*
49 pysam_data.%scip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/`pysam_data.%`().:
50 cd tests/$(basename $@) && $(MAKEscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/MAKE.) $*
51
52 .PHONYscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/`.PHONY`().: clean-tests
53 clean-testsscip-debian debian python-pysam 0.23.3+ds-2 python-pysam/rules/clean-tests().: pysam_data.clean cbcf_data.clean
54 find . -name "*.pyc" -delete
55 find . -name "*.pyxbldc" -delete
56 find . -name "tmp_*.bam" -delete
57 find . -name "*.bai*" -delete
58 find . -name "*.cram*" -delete
59 find . -name "pysam_uncompressed.bam" -delete
60 rm -rf tests/pysam_test_work \
61 tests/example_htslib.gtf.gz.tbi \
62 tests/log.txt \
63 tests/test.bam \
64 tests/_compile_test.c \
65 tests/pysam_ex2.sam \
66 tests/__pycache__ \
67 pysam/calignmentfile.c \
68 pysam/cbcf.c \
69 tests/GRCh38_full_analysis_set_plus_decoy_hla.fa.fai \
70 tests/pysam_data/ex1.fa.gz \
71 tests/pysam_data/ex1.fa.gz.gzi \
72 tests/pysam_data/ex1_csi.bam.csi
73 rm -rf .pytest_cache/