File: rules

package info (click to toggle)
python-confluent-kafka 2.12.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,232 kB
  • sloc: python: 36,571; ansic: 9,717; sh: 1,519; makefile: 198
file content (14 lines) | stat: -rwxr-xr-x 578 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /usr/bin/make -f

export DH_VERBOSE = 1
export PYBUILD_NAME = confluent-kafka
export DPKG_EXPORT_BUILDFLAGS=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
include /usr/share/dpkg/buildflags.mk

export PYBUILD_BEFORE_TEST=mkdir -p {build_dir}/tools && cp -a {dir}/tools/unasync.py {build_dir}/tools/
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'
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tools

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