File: rules

package info (click to toggle)
pydecorate 0.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 7,972 kB
  • sloc: python: 978; makefile: 132
file content (18 lines) | stat: -rwxr-xr-x 436 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/pkg-info.mk

export PYBUILD_NAME=pydecorate
export PYBUILD_TEST_ARGS={dir}/${PYBUILD_NAME}/tests
export PYBUILD_AFTER_TEST=${RM} -r {dir}/${PYBUILD_NAME}/tests/__pycache__


%:
	dh $@ --buildsystem=pybuild

execute_before_dh_auto_configure:
	echo "version = '$(DEB_VERSION_UPSTREAM)'" > pydecorate/version.py