File: rules

package info (click to toggle)
python-igraph 0.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 27,056 kB
  • sloc: ansic: 253,917; cpp: 22,039; python: 19,545; xml: 2,734; yacc: 1,207; lex: 496; sh: 347; fortran: 215; sed: 45; makefile: 23; javascript: 20; lisp: 10
file content (21 lines) | stat: -rwxr-xr-x 669 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 DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PYBUILD_NAME=igraph

# Work around #920337. This is a temporary fix addressing a bug
# in python3-stdlib-extensions, should be removed as soon as it
# has been addressed there.
export PYBUILD_INSTALL_ARGS_python3 := \
  --install-headers=/usr/include/python{version}m

%:
# Ensure that the embedded copy is never used.
	rm -f vendor/texttable.py
	dh $@  --with python3 --buildsystem=pybuild

# Disable the scripts= option in setup.cfg. See #664443.
override_dh_auto_install:
	dh_auto_install
	rm -f $(CURDIR)/debian/python3-igraph/usr/bin/igraph
	rmdir $(CURDIR)/debian/python3-igraph/usr/bin/