| 1 |
#! /usr/bin/make -f |
| 2 |
|
| 3 |
export DH_VERBOSE = 1 |
| 4 |
export PYBUILD_NAME = confluent-kafka |
| 5 |
export DPKG_EXPORT_BUILDFLAGS=1 |
| 6 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow |
| 7 |
include /usr/share/dpkg/buildflags.mk |
| 8 |
|
| 9 |
export PYBUILD_BEFORE_TEST=mkdir -p {build_dir}/tools && cp -a {dir}/tools/unasync.py {build_dir}/tools/ |
| 10 |
export PYBUILD_TEST_ARGS=-v -n auto --ignore=tests/avro --ignore=tests/integration --ignore=tests/schema_registry -k 'not test_purge and not test_kafkaError_unknown_error' |
| 11 |
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tools |
| 12 |
|
| 13 |
%: |
| 14 |
dh $@ --with python3 --buildsystem=pybuild |