File: rules

package info (click to toggle)
tldextract 2.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 384 kB
  • sloc: python: 652; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 403 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export PYBUILD_NAME=tldextract
export PYBUILD_DESTDIR_python3=debian/python3-${PYBUILD_NAME}
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS_python3=-k "not test_log_snapshot_diff"
%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_install:
	dh_auto_install
	dh_movefiles --package=tldextract --sourcedir=$(PYBUILD_DESTDIR_python3) usr/bin