File: rules

package info (click to toggle)
pyphen 0.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,456 kB
  • sloc: python: 248; makefile: 14; sh: 10
file content (20 lines) | stat: -rwxr-xr-x 489 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
#!/usr/bin/make -f

export PYBUILD_NAME=pyphen
build3vers := $(shell py3versions -sv)

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

override_dh_auto_build:
	chmod -x $(CURDIR)/pyphen/__init__.py
	dh_auto_build
	rm -rf $(CURDIR)/.pybuild/cpython3_3.*_pyphen/build/pyphen/dictionaries

override_dh_auto_install:
	dh_auto_install
	rm -rf $(CURDIR)/debian/python3-pyphen/usr/lib/python3.*/dist-packages/pyphen/dictionaries/

override_dh_auto_clean:
	dh_auto_clean
	rm -rf $(CURDIR)/.pytest