File: rules

package info (click to toggle)
asyncpg 0.27.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,520 kB
  • sloc: python: 13,369; ansic: 1,060; makefile: 227
file content (12 lines) | stat: -rwxr-xr-x 402 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#! /usr/bin/make -f

export PYBUILD_NAME=asyncpg
export PYBUILD_TEST_ARGS=-s {build_dir}/tests
export PYBUILD_BUILD_ARGS=build_ext --cython-always
export PYBUILD_TEST_ARGS=-k "not test_flake8"
%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_install:
	dh_auto_install
	find debian/python3-asyncpg/usr/lib \( -name '*.c' -or -name '*.h' -or -name '*.px[di]' -or -name '*.pyx' \) -delete