| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
UPSTREAM_GIT := https://github.com/msgpack/msgpack-python |
| 4 |
include /usr/share/openstack-pkg-tools/pkgos.make |
| 5 |
|
| 6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 7 |
|
| 8 |
export PYBUILD_TEST_ARGS= -v |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ --buildsystem=pybuild --with python3 |
| 12 |
|
| 13 |
override_dh_auto_build: |
| 14 |
cython3 msgpack/_cmsgpack.pyx |
| 15 |
dh_auto_build |
| 16 |
|
| 17 |
override_dh_python3: |
| 18 |
dh_python3 --shebang=/usr/bin/python3 |
| 19 |
|
| 20 |
override_dh_clean: |
| 21 |
dh_clean |
| 22 |
rm -rf build .pybuild *.egg-info |
| 23 |
rm -f msgpack/_cmsgpack.cpp msgpack/_cmsgpack.c |