File: rules

package info (click to toggle)
storm 0.25-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,764 kB
  • sloc: python: 22,712; ansic: 1,662; makefile: 53
file content (21 lines) | stat: -rwxr-xr-x 523 bytes parent folder | download | duplicates (2)
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

export PYBUILD_NAME := storm

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

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_auto_clean:
	dh_auto_clean
	rm -rf storm.egg-info

# We need to use dev/test to set up the PostgreSQL fixture.  pybuild isn't
# quite flexible enough for this, so override it entirely.
override_dh_auto_test:
	for version in $$(py3versions -sv); do \
		PYTHONPATH=$(CURDIR)/.pybuild/cpython3_$${version}_storm/build \
		python$$version dev/test; \
	done