| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
# Uncomment this to turn on verbose mode. |
| 5 |
|
| 6 |
export DH_VERBOSE=1 |
| 7 |
export PYBUILD_NAME=mariadb |
| 8 |
export MARIADB_DIR=$(CURDIR)/debian/testdb |
| 9 |
export MARIADB_UNIX_PORT=$(MARIADB_DIR)/mariadb.sock |
| 10 |
export MARIADB_PIDFILE=$(MARIADB_DIR)/mariadb.pid |
| 11 |
export MARIADB_USER=$(shell whoami) |
| 12 |
export TEST_DB_USER=boby |
| 13 |
export TEST_DB_PASSWORD=heyPassword |
| 14 |
export TEST_DB_DATABASE=testp |
| 15 |
export PYBUILD_BEFORE_TEST={dir}/debian/tests/setup |
| 16 |
export PYBUILD_TEST_ARGS=--start-directory=testing |
| 17 |
export PYBUILD_AFTER_TEST={dir}/debian/tests/cleanup |
| 18 |
|
| 19 |
|
| 20 |
%: |
| 21 |
dh $@ --buildsystem=pybuild |