File: rules

package info (click to toggle)
python-motor 1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,076 kB
  • ctags: 1,376
  • sloc: python: 8,477; makefile: 77
file content (13 lines) | stat: -rwxr-xr-x 360 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/make -f

export PYBUILD_NAME = motor
# See: https://jira.mongodb.org/browse/MOTOR-129
export PYBUILD_AFTER_INSTALL_python2=rm \
	'{destdir}/{install_dir}/motor/aiohttp.py' \
	'{destdir}/{install_dir}/motor/motor_asyncio.py'

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

override_dh_auto_test:
	# Tests requires MongoDB running on system