| 1 |
|
| 2 |
|
| 3 |
include /usr/share/dpkg/architecture.mk |
| 4 |
|
| 5 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian python-pyppmd 1.3.1+ds1-2 python-pyppmd/rules/DEB_BUILD_MAINT_OPTIONS.=hardening=+all |
| 6 |
export PYBUILD_NAMEscip-debian debian python-pyppmd 1.3.1+ds1-2 python-pyppmd/rules/PYBUILD_NAME.=pyppmd |
| 7 |
|
| 8 |
PYBUILD_TEST_ARGSscip-debian debian python-pyppmd 1.3.1+ds1-2 python-pyppmd/rules/PYBUILD_TEST_ARGS. = |
| 9 |
DISABLE_TESTSscip-debian debian python-pyppmd 1.3.1+ds1-2 python-pyppmd/rules/DISABLE_TESTS. = |
| 10 |
|
| 11 |
|
| 12 |
PYBUILD_TEST_ARGSscip-debian debian python-pyppmd 1.3.1+ds1-2 python-pyppmd/rules/PYBUILD_TEST_ARGS. += --verbose |
| 13 |
|
| 14 |
|
| 15 |
DISABLE_TESTSscip-debian debian python-pyppmd 1.3.1+ds1-2 python-pyppmd/rules/DISABLE_TESTS. += not test_ppmd7_fuzzer |
| 16 |
DISABLE_TESTSscip-debian debian python-pyppmd 1.3.1+ds1-2 python-pyppmd/rules/DISABLE_TESTS. += and not test_ppmd8_fuzzer |
| 17 |
|
| 18 |
|
| 19 |
ifeq (sparc64,$(DEB_HOST_ARCHscip-debian debian python-pyppmd 1.3.1+ds1-2 python-pyppmd/rules/DEB_HOST_ARCH.)) |
| 20 |
DISABLE_TESTS += and not test_ppmd7_encode_decode |
| 21 |
DISABLE_TESTS += and not test_ppmd8_encode_decode |
| 22 |
endif |
| 23 |
|
| 24 |
PYBUILD_TEST_ARGSscip-debian debian python-pyppmd 1.3.1+ds1-2 python-pyppmd/rules/PYBUILD_TEST_ARGS. += -k "$(DISABLE_TESTS)" |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
ifeq (,$(findstringscip-debian debian python-pyppmd 1.3.1+ds1-2 python-pyppmd/rules/findstring. $(DEB_HOST_ARCHscip-debian debian python-pyppmd 1.3.1+ds1-2 python-pyppmd/rules/DEB_HOST_ARCH.),amd64 arm64 armhf i386 ppc64el riscv64 s390x)) |
| 29 |
PYBUILD_TEST_ARGS += -m "not benchmark" |
| 30 |
endif |
| 31 |
|
| 32 |
export PYBUILD_TEST_ARGSscip-debian debian python-pyppmd 1.3.1+ds1-2 python-pyppmd/rules/PYBUILD_TEST_ARGS. |
| 33 |
|
| 34 |
%scip-debian debian python-pyppmd 1.3.1+ds1-2 python-pyppmd/rules/`%`().: |
| 35 |
dh $@ --buildsystem=pybuild |
| 36 |
|
| 37 |
execute_after_dh_auto_installscip-debian debian python-pyppmd 1.3.1+ds1-2 python-pyppmd/rules/execute_after_dh_auto_install().: |
| 38 |
rm -rfv debian/python3-pyppmd/usr/lib/python3.*/dist-packages/.hypothesis/ |