| 1 |
|
| 2 |
|
| 3 |
include /usr/share/dpkg/architecture.mk |
| 4 |
|
| 5 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian python-brotlicffi 1.2.0.1+ds1-6 python-brotlicffi/rules/DEB_BUILD_MAINT_OPTIONS.=hardening=+all |
| 6 |
export PYBUILD_NAMEscip-debian debian python-brotlicffi 1.2.0.1+ds1-6 python-brotlicffi/rules/PYBUILD_NAME.=brotlicffi |
| 7 |
|
| 8 |
|
| 9 |
export USE_SHARED_BROTLIscip-debian debian python-brotlicffi 1.2.0.1+ds1-6 python-brotlicffi/rules/USE_SHARED_BROTLI.=1 |
| 10 |
|
| 11 |
|
| 12 |
DISABLE_TESTSscip-debian debian python-brotlicffi 1.2.0.1+ds1-6 python-brotlicffi/rules/DISABLE_TESTS. = \ |
| 13 |
not test_brotli_version \ |
| 14 |
and not test_streaming_compression \ |
| 15 |
and not test_streaming_compression_flush |
| 16 |
|
| 17 |
ifeq ($(DEB_HOST_ARCHscip-debian debian python-brotlicffi 1.2.0.1+ds1-6 python-brotlicffi/rules/DEB_HOST_ARCH.), $(filterscip-debian debian python-brotlicffi 1.2.0.1+ds1-6 python-brotlicffi/rules/filter. $(DEB_HOST_ARCHscip-debian debian python-brotlicffi 1.2.0.1+ds1-6 python-brotlicffi/rules/DEB_HOST_ARCH.), ppc64el riscv64 alpha hppa hurd-amd64)) |
| 18 |
DISABLE_TESTS += and not test_decompressor_concurrency |
| 19 |
endif |
| 20 |
|
| 21 |
export PYBUILD_TEST_ARGSscip-debian debian python-brotlicffi 1.2.0.1+ds1-6 python-brotlicffi/rules/PYBUILD_TEST_ARGS. = -k "$(DISABLE_TESTS)" |
| 22 |
|
| 23 |
%scip-debian debian python-brotlicffi 1.2.0.1+ds1-6 python-brotlicffi/rules/`%`().: |
| 24 |
dh $@ --buildsystem=pybuild |
| 25 |
|
| 26 |
execute_after_dh_auto_installscip-debian debian python-brotlicffi 1.2.0.1+ds1-6 python-brotlicffi/rules/execute_after_dh_auto_install().: |
| 27 |
rm -rfv debian/python3-brotlicffi/usr/lib/python3.*/dist-packages/.hypothesis/ |