File: rules

package info (click to toggle)
mariadb-connector-python 1.1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 812 kB
  • sloc: python: 6,099; ansic: 4,896; sh: 23; makefile: 14
file content (21 lines) | stat: -rwxr-xr-x 609 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.

export DH_VERBOSE=1
export PYBUILD_NAME=mariadb
export MARIADB_DIR=$(CURDIR)/debian/testdb
export MARIADB_UNIX_PORT=$(MARIADB_DIR)/mariadb.sock
export MARIADB_PIDFILE=$(MARIADB_DIR)/mariadb.pid
export MARIADB_USER=$(shell whoami)
export TEST_DB_USER=boby
export TEST_DB_PASSWORD=heyPassword
export TEST_DB_DATABASE=testp
export PYBUILD_BEFORE_TEST={dir}/debian/tests/setup
export PYBUILD_TEST_ARGS=--start-directory=testing
export PYBUILD_AFTER_TEST={dir}/debian/tests/cleanup


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