File: rules

package info (click to toggle)
python-jieba 0.42.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 51,796 kB
  • sloc: python: 194,937; makefile: 5; sh: 3
file content (12 lines) | stat: -rwxr-xr-x 382 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=jieba

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

override_dh_auto_test:
	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="cd {dir}/test; PATH=$$PATH:{build_dir} python{version} {dir}/test/jieba_test.py" dh_auto_test