File: rules

package info (click to toggle)
pykafka 2.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 1,000 kB
  • sloc: python: 8,583; ansic: 932; makefile: 152; sh: 23
file content (17 lines) | stat: -rwxr-xr-x 580 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

-include /usr/share/openstack-pkg-tools/pkgos.make
UPSTREAM_GIT = https://github.com/Parsely/pykafka.git

export PYBUILD_NAME=pykafka
export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}/
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests
export PYBUILD_TEST_NOSE=1
export PYBUILD_DISABLE_python2=1
export PYBUILD_TEST_ARGS_python3=tests --ignore-files='test_(?:simpleconsumer|ssl|producer|partition|cluster|balancedconsumer|rd_kafka_consumer|simple_consumer|compression).*.py'

export no_proxy=example.com


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